projects
/
platform
/
upstream
/
glog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f3bd836
)
cmake: added a postfix for debug builds (closes #237)
author
Sergiu Deitsch
<sergiu.deitsch@gmail.com>
Tue, 2 Jan 2018 13:38:37 +0000
(14:38 +0100)
committer
Sergiu Deitsch
<sergiu.deitsch@gmail.com>
Tue, 2 Jan 2018 13:38:37 +0000
(14:38 +0100)
This allows to deploy debug and release builds concurrently.
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
2fd5351
..
87f867d
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-48,6
+48,7
@@
include (CTest)
include (DetermineGflagsNamespace)
include (GNUInstallDirs)
include (DetermineGflagsNamespace)
include (GNUInstallDirs)
+set (CMAKE_DEBUG_POSTFIX d)
set (CMAKE_THREAD_PREFER_PTHREAD 1)
if (WITH_GFLAGS)
set (CMAKE_THREAD_PREFER_PTHREAD 1)
if (WITH_GFLAGS)