Actually build with debug symbols in debug configuration
This commit is contained in:
parent
7f639a6bf4
commit
66cf63c9d8
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,11 @@
|
||||||
cmake_minimum_required( VERSION 2.8.7 )
|
cmake_minimum_required( VERSION 2.8.7 )
|
||||||
|
|
||||||
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --std=c++11" )
|
||||||
|
|
||||||
|
if( CMAKE_BUILD_TYPE MATCHES "Debug" )
|
||||||
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g" )
|
||||||
|
endif()
|
||||||
|
|
||||||
# Subprojects
|
# Subprojects
|
||||||
add_subdirectory( ttrts )
|
add_subdirectory( ttrts )
|
||||||
add_subdirectory( game )
|
add_subdirectory( game )
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue