[cmake-developers] GHS: RELEASE flags being used when CMAKE_BUILD_TYPE is empty
frodak
frodak17 at gmail.com
Mon May 22 12:00:53 EDT 2017
Hello,
I ran into an issue with the Green Hills MULTI generator when the
CMAKE_BUILD_TYPE is not set. The project files have have '-O' enabled when
compiling the software. Looking at the generator source code I saw that it
would use the RELEASE mode flags when CMAKE_BUILD_TYPE is empty.
Based upon the CMAKE documentation it seems to me that this is incorrect
behavior and that if CMAKE_BUILD_TYPE is not specified then only
CMAKE_<LANG>_FLAGS should be used.
Before opening an issue report I wanted to make sure that my understanding
of these variables is correct.
Best regards,
Fred Baksik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20170522/c876a833/attachment.html>
More information about the cmake-developers
mailing list