[CMake] enable_testing() disables add_executable(test ...)
Silvio Frischknecht
silvio.frischi at gmail.com
Sun Mar 8 10:03:20 EDT 2009
If I enable_testing() executables or libraries called test don't build
anymore.
here's a simple example:
CMakeLists.txt:
cmake_minimum_required(VERSION 2.6)
project(FooBar)
enable_testing()
add_executable(test test.c)
add_test(baz test)
If this is not going to be changed please at least write it into the doc. I
mean it's not so far fetched to call your test exectable test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090308/c2a2fdd0/attachment.pgp>
More information about the CMake
mailing list