mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-12-02 03:38:03 +08:00
Default release version
This commit is contained in:
parent
b44c2f9b9e
commit
5ba3e83728
@ -57,10 +57,10 @@ if(Boost_FOUND)
|
||||
include_directories(${Boost_INCLUDE_DIRS})
|
||||
endif()
|
||||
|
||||
if (RELEASE STREQUAL YES)
|
||||
set(CMAKE_CXX_FLAGS "-std=${CMAKE_CXX_STD_FLAGS} -O2 -Wall -fpermissive ${CMAKE_CXX_FLAGS}")
|
||||
else()
|
||||
if (DEBUG STREQUAL YES)
|
||||
set(CMAKE_CXX_FLAGS "-std=${CMAKE_CXX_STD_FLAGS} -g -Wall -fpermissive ${CMAKE_CXX_FLAGS}")
|
||||
else()
|
||||
set(CMAKE_CXX_FLAGS "-std=${CMAKE_CXX_STD_FLAGS} -O2 -Wall -fpermissive ${CMAKE_CXX_FLAGS}")
|
||||
endif()
|
||||
#string(REPLACE ";" " " CMAKE_CXX_FLAGS "${CXX_FLAGS}")
|
||||
|
||||
|
2
trantor
2
trantor
@ -1 +1 @@
|
||||
Subproject commit 91d2f285bf0016c38b4bf5b273b14fb1202b7694
|
||||
Subproject commit 225f87c6c07136744aa72fb5f2fa14076d63cbcb
|
Loading…
Reference in New Issue
Block a user