Re: [CMake] enable_testing() disables add_executable(test ...)

2009-03-08 Thread Eric Noulard
2009/3/8 Bill Hoffman : > Silvio Frischknecht wrote: >> >> 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

Re: [CMake] enable_testing() disables add_executable(test ...)

2009-03-08 Thread Bill Hoffman
Silvio Frischknecht wrote: 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 c

[CMake] enable_testing() disables add_executable(test ...)

2009-03-08 Thread Silvio Frischknecht
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