You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shuffle the behaviour checks to the beginning of the processing.
Co-locate and hoist the options that the project supports, put custom
behavioural changes in a single location.
message(FATAL_ERROR"Do not build in-source.\nPlease remove CMakeCache.txt and the CMakeFiles/ directory.\nThen: mkdir build ; cd build ; cmake .. ; make")
31
+
endif()
32
+
if(NOTCMAKE_BUILD_TYPE)
33
+
set(CMAKE_BUILD_TYPE"Release"CACHESTRING
34
+
"Choose the type of build, options are: Debug Profile Release Asan Ubsan."FORCE)
message(FATAL_ERROR"Do not build in-source.\nPlease remove CMakeCache.txt and the CMakeFiles/ directory.\nThen: mkdir build ; cd build ; cmake .. ; make")
0 commit comments