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 28756ee commit fcb33faCopy full SHA for fcb33fa
CMakeLists.txt
@@ -13,6 +13,11 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
13
add_definitions(-DMSVC)
14
endif ()
15
16
+if (CMAKE_BUILD_TYPE STREQUAL "Release" )
17
+ set(CMAKE_C_FLAGS_RELEASE "-DNDEBUG -O3")
18
+ set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG -O3")
19
+endif()
20
+
21
add_subdirectory(LuaParser)
22
add_subdirectory(CodeService)
23
add_subdirectory(Util)
0 commit comments