浏览代码

MSVC is just the worst

lagkey
Trevor Irons 6 年前
父节点
当前提交
b1050d4ab9
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5
    5
      CMakeLists.txt

+ 5
- 5
CMakeLists.txt 查看文件

@@ -24,11 +24,11 @@ set(LEMMA_VERSION_NOQUOTES "${LEMMA_VERSION_MAJOR}.${LEMMA_VERSION_MINOR}.${LEMM
24 24
 ## Options--what do you want to do
25 25
 
26 26
 option ( BUILD_SHARED_LIBS      "Shared or static libraries"  OFF )
27
-option ( CMAKE_BUILD_TYPE       "Debug Release"  RELEASE )
28
-#   set(CMAKE_BUILD_TYPE "Release" CACHE STRING
29
-#       "Choose the type of build, options are: Debug Release
30
-#        RelWithDebInfo MinSizeRel."
31
-#       FORCE)
27
+#option ( CMAKE_BUILD_TYPE       "Debug Release"  "Release" )
28
+set(CMAKE_BUILD_TYPE "Release" CACHE STRING
29
+       "Choose the type of build, options are: Debug Release
30
+        RelWithDebInfo MinSizeRel."
31
+       FORCE)
32 32
  
33 33
 option ( LEMMA_ENABLE_TESTING       "Turn on unit testing" OFF )
34 34
 option ( LEMMA_BUILD_EXAMPLES       "Compile example Lemma applications" OFF )

正在加载...
取消
保存