[CMake] Building tests only for "make test"
Dr. Stefan Sablatnög
stefan.sablatnoeg at svox.com
Fri Dec 11 09:53:59 EST 2009
Hi all,
I face a (probably simple) problem:
I want to build a project, that includes tests, but these should not be
build on
default, so I added EXCLUDE_FROM_ALL to the add_executable command.
How can I force them to be built when testing ?
(we test through make test and continuously via a ctest script)
Is there a simple solution?
Thanks in advance
Stefan
--
best regards
Dr. Stefan Sablatnög
email: stefan.sablatnoeg at svox.com
phone: ++49 731 15239474
address:
SVOX Ulm
Magirus Deutz-Straße 16
89077 Ulm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091211/666e278d/attachment-0001.htm>
More information about the CMake
mailing list