Explorar o código

Build type is set to RelWithDebInfo as default.

Ioannis Koutras %!s(int64=14) %!d(string=hai) anos
pai
achega
28cbf17c97
Modificáronse 1 ficheiros con 4 adicións e 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"