3
How to specify the flags for debug release vs C/C++.
3
How to specify the flags for debug release vs C/C++.
0
CMAKE_BUILD_TYPE is the Cmake variable you are looking for. You can generate build files by passing the setting of this variable per command line:
cmake -DCMAKE_BUILD_TYPE=Debug ..
You can also change the value of CMAKE_BUILD_TYPE
spinning ccmake ..
, activating advanced mode (by pressing the key t). When you’re done, press c to configure and g to generate the new files.
Browser other questions tagged debug release cmake
You are not signed in. Login or sign up in order to post.