[CMake] I can not set CMAKE_BUILD_TYPE in CMakeList.txt
Isaac Ge
acgtyrant at gmail.com
Tue Jan 5 02:11:43 EST 2016
Hi anyone, I find the `set(CMAKE_BUILD_TYPE RelWithDebInfo)` in
CMakeList.txt does not work, because the actual build type show by ccmake
is empty. So I have to enter the correct build type in ccmake or add
command argument `-D CMAKE_BUILD_TYPE=RelWithDebInfo` while cmake.
Any idea? Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160105/15276c35/attachment.html>
More information about the CMake
mailing list