We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a7fa5d commit 66df69eCopy full SHA for 66df69e
CMakeLists.txt
@@ -18,9 +18,16 @@ option(BUILD_SINGLE_THREAD "Only build the single thread" ON)
18
option(AUTO_DETECT_CPU "Auto detect CPU architecture." ON)
19
option(BUILD_OpenVML_TEST "Build Test" ON)
20
option(BUILD_64BIT_INT "Build 64bit int interface(ilp64)" OFF)
21
+option(BUILD_DEBUG "Build Debug Version" OFF)
22
23
#####################################################
24
25
+if(BUILD_DEBUG)
26
+set(CMAKE_BUILD_TYPE Debug)
27
+else()
28
+set(CMAKE_BUILD_TYPE Release)
29
+endif()
30
+
31
if(AUTO_DETECT_CPU)
32
include(${PROJECT_SOURCE_DIR}/cmake/auto_detect_cpu.cmake)
33
endif()
0 commit comments