Ver código fonte

Build type is set to RelWithDebInfo as default.

Ioannis Koutras 14 anos atrás
pai
commit
28cbf17c97
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      src/CMakeLists.txt

+ 4 - 0
src/CMakeLists.txt

@@ -1,5 +1,9 @@
 project (dmmlib-library C)
 
+if(NOT CMAKE_BUILD_TYPE)
+  set(CMAKE_BUILD_TYPE RelWithDebInfo)
+endif(NOT CMAKE_BUILD_TYPE)
+
 set(DMMLIB_PUBLIC_INCLUDE_DIRS
   ${CMAKE_SOURCE_DIR}/include
   CACHE INTERNAL "dmmlib public include directories"