[planetblupi] 44/61: Add a DEBUG define when building debug version

Didier Raboud odyx at moszumanska.debian.org
Thu Nov 2 19:24:58 UTC 2017


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository planetblupi.

commit 9681f203f07ccf94a7c9a8038e0306b7459797cd
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Mon Oct 30 17:36:09 2017 +0100

    Add a DEBUG define when building debug version
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 79eee64..9561de3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -54,7 +54,7 @@ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" AND "${STATIC_BUILD}")
 endif ()
 
 if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
-  set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3")
+  set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3 -DDEBUG")
 endif ()
 
 if ("${CMAKE_BUILD_TYPE}" STREQUAL "Release")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.git



More information about the Pkg-games-commits mailing list