Explorar el Código

Build type is set to RelWithDebInfo as default.

Ioannis Koutras hace 14 años
padre
commit
28cbf17c97
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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"