MantisBT - CMake
View Issue Details
0010838CMakeCTestpublic2010-06-16 12:122010-12-08 08:14
Mathieu Malaterre 
David Cole 
normalminoralways
closedno change required 
 
 
0010838: CTEST_BUILD_COMMAND conflicts with CTEST_BUILD_TARGET
The following script:

SET(CTEST_BUILD_TARGET "StyleCheck")
CTEST_BUILD (BUILD "${CTEST_BINARY_DIRECTORY}" APPEND)


only works when CTEST_BUILD_COMMAND is not defined first (eg. make -i)
No tags attached.
Issue History
2010-06-16 12:12Mathieu MalaterreNew Issue
2010-12-08 08:12David ColeAssigned To => David Cole
2010-12-08 08:12David ColeStatusnew => assigned
2010-12-08 08:14David ColeNote Added: 0023790
2010-12-08 08:14David ColeStatusassigned => closed
2010-12-08 08:14David ColeResolutionopen => no change required

Notes
(0023790)
David Cole   
2010-12-08 08:14   
This is correct behavior.

If CTEST_BUILD_COMMAND is defined, then it is simply executed by the ctest_build() command. If it is not defined, then ctest_build() computes the appropriate build command based on its arguments and other variable settings, including CTEST_BUILD_TARGET.