if build type not set, set to debug
This commit is contained in:
@ -166,6 +166,11 @@ def gen_cmakelists(config, relative_path, list_of_modules):
|
||||
s.append('# do not rebuild if rules (compiler flags) change')
|
||||
s.append('set(CMAKE_SKIP_RULE_DEPENDENCY TRUE)')
|
||||
|
||||
s.append('\n')
|
||||
s.append('if(NOT CMAKE_BUILD_TYPE)')
|
||||
s.append(' set(CMAKE_BUILD_TYPE "Debug")')
|
||||
s.append('endif()')
|
||||
|
||||
s.append('\n')
|
||||
s.append('# python interpreter is required at many')
|
||||
s.append('# places during configuration and build')
|
||||
|
Reference in New Issue
Block a user