llcommon.dll doer faster. (set /LTCG and /GL)

This commit is contained in:
Shyotl
2014-09-03 01:45:47 -05:00
parent e9cf3a6806
commit aeeca6e2c0
2 changed files with 4 additions and 1 deletions

View File

@@ -270,6 +270,9 @@ list(APPEND llcommon_SOURCE_FILES ${cwdebug_SOURCE_FILES})
list(APPEND llcommon_SOURCE_FILES ${llcommon_HEADER_FILES})
add_library (llcommon SHARED ${llcommon_SOURCE_FILES})
if(WINDOWS)
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /GL")
endif(WINDOWS)
add_dependencies(llcommon prepare)
target_link_libraries(
llcommon