fix cmake debug flag, gitignore++
This commit is contained in:
1 parent
d50df176f5
commit
b7c74ed469
2 files changed
+2
-3
No files matched your search
@@ -1,3 +1,4 @@
|
|||||||
.*
|
.*
|
||||||
build
|
build
|
||||||
|
build-*
|
||||||
CMakeLists.txt.user
|
CMakeLists.txt.user
|
||||||
+1
-3
@@ -27,9 +27,7 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT(CMAKE_BUILD_TYPE STREQUAL "Debug"))
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG")
|
||||||
add_definitions(-D_DEBUG)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
include(${QT_USE_FILE})
|
include(${QT_USE_FILE})
|
||||||
add_definitions(${QT_DEFINITIONS})
|
add_definitions(${QT_DEFINITIONS})
|
||||||
|
|||||||
Reference in new issue
Block a user