projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0120fe1
)
Append -debug to version string (#5765)
author
bigfoot547
<bigfoot547@users.noreply.github.com>
Wed, 17 May 2017 07:41:41 +0000
(
02:41
-0500)
committer
Loïc Blot
<nerzhul@users.noreply.github.com>
Wed, 17 May 2017 07:41:41 +0000
(09:41 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 4188564609960b7d9a02ec31f923a9985324b6e7..09906f895bdfd745d81f39fad60d3c449a27019e 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-26,6
+26,11
@@
elseif(DEVELOPMENT_BUILD)
set(VERSION_STRING "${VERSION_STRING}-dev")
endif()
+if (CMAKE_BUILD_TYPE STREQUAL Debug)
+ # Append "-debug" to version string
+ set(VERSION_STRING "${VERSION_STRING}-debug")
+endif()
+
message(STATUS "*** Will build version ${VERSION_STRING} ***")