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.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to