[CMake] ${CTEST_CONFIGURATION_TYPE} expanded to an empty string
while running ctest
Jan Woetzel
jw at mip.informatik.uni-kiel.de
Wed Jun 21 13:14:52 EDT 2006
Gaetan Lehmann wrote:
> ADD_TEST(mytest echo "testing \${CTEST_CONFIGURATION_TYPE}")
I think your problem is a typo - missing "S" at the end:
However, there can be multiple types in there, typically:
MESSAGE("${CMAKE_CONFIGURATION_TYPES}")
Debug;Release;MinSizeRel;RelWithDebInfo
Checking
- _DEBUG #define in code,
CMAKE_BUILD_TYPE
or configuring a file may be useful.
Jan.
--
Dipl.-Ing. Jan Woetzel
--------------------------------------------------
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--------------------------------------------------
Phone +49-431-880-4477
Fax +49-431-880-4054
Mob. +49-179-2937346
--------------------------------------------------
Url www.mip.informatik.uni-kiel.de/~jw
Email jw at mip.informatik.uni-kiel.de
More information about the CMake
mailing list