Anonymous

Difference between revisions of "CMake"

From dankwiki
197 bytes added ,  22:05, 19 May 2020
no edit summary
Line 17: Line 17:
message(STATUS "Requested build mode: ${CMAKE_BUILD_TYPE}")
message(STATUS "Requested build mode: ${CMAKE_BUILD_TYPE}")
</pre>
</pre>
 
Build types can be added. I thought this might be useful for a <tt>Coverage</tt> target, but I ended up stuffing the coverage flags into <tt>CMAKE_C_FLAGS_DEBUG</tt>/<tt>CMAKE_CXX_FLAGS_DEBUG</tt>.
==Debugging==
==Debugging==
Dump all current variables with:
Dump all current variables with: