MantisBT - CMake
View Issue Details
0008702CMakeCMakepublic2009-03-08 15:232016-06-10 14:30
Silvio Frischknecht 
Bill Hoffman 
normalminoralways
closedmoved 
 
 
0008702: enable_testing() disables add_executable(test ...)
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.
I wrote this to the mailing list they told me to open a bug.

This is for cmake 2.4 as well as 2.6.
No tags attached.
Issue History
2009-03-08 15:23Silvio FrischknechtNew Issue
2009-03-15 22:18Bill HoffmanStatusnew => assigned
2009-03-15 22:18Bill HoffmanAssigned To => Bill Hoffman
2016-06-10 14:27Kitware RobotNote Added: 0041513
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:30Kitware RobotStatusresolved => closed

Notes
(0041513)
Kitware Robot   
2016-06-10 14:27   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.