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 [EMAIL PROTECTED]

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to