On 04.12.2018 16:06, Rick McGuire wrote:
> Debug compiles the code without a lot of optimizations and also creates the
> debug information.
> Release compiles with full optimizations and does not create the debug
> information. RelWithDebInfo
> is the same as Release, but also creates the debug
All depends on the setuo …
The CMAKE_BUILD_TYPE
Has the only effect to chose for the compilation and linking
The appropriate flags
The RELEASE,RELWITHDEBINFO,DEBUG,MINSIZEREL types
Are the ones handled automatically by CMAKE
The variable used for that are of the form
CMAKE_CXX_FLAGS_
Debug compiles the code without a lot of optimizations and also creates the
debug information. Release compiles with full optimizations and does not
create the debug information. RelWithDebInfo is the same as Release, but
also creates the debug information.
The installer stuff in CMakeLists.txt
While creating new installation packages from trunk for Windows, I have
experimented with the
different build types with CMake.
Question: would the following create a DEBUG or a RELEASE version by default?
cmake -G "NMake Makefiles" F:\work\svn\oorexx\main\trunk
nmake
nmake clean