[cmake-developers] Weird behavior with spaces in ctest_configure
Rolf Eike Beer
eike at sf-mail.de
Mon Jul 9 06:05:16 EDT 2012
I found this in one of my dashboards:
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_BUILD_TYPE
This was sort of a WTF as you may guess. I played around with it and found
that this was caused by this instruction:
ctest_configure(
OPTIONS "-D CMAKE_BUILD_TYPE=Debug"
)
If I remove the space between the -D and the rest everything works fine. What
is up there? This is a bug, the question is: a documentation one or a code
one?
Eike
More information about the cmake-developers
mailing list