cmake: added a postfix for debug builds (closes #237)
authorSergiu Deitsch <sergiu.deitsch@gmail.com>
Tue, 2 Jan 2018 13:38:37 +0000 (14:38 +0100)
committerSergiu 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

index 2fd535117174edc7d244f6b13e731e4754ad41c9..87f867dbf6490b6e7e786549d922ba69879883a2 100644 (file)
@@ -48,6 +48,7 @@ include (CTest)
 include (DetermineGflagsNamespace)
 include (GNUInstallDirs)
 
+set (CMAKE_DEBUG_POSTFIX d)
 set (CMAKE_THREAD_PREFER_PTHREAD 1)
 
 if (WITH_GFLAGS)