mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-28 20:27:46 +00:00
Fix some weirdness with cotire
- cotire having unresolved externals with sapphire_zone/scripts build - /MP was already enabled, so remove the duplicate - still need to figure out what about pch causes unresolved symbol __
This commit is contained in:
parent
88cf5de3b4
commit
347f87590e
3 changed files with 2 additions and 6 deletions
|
@ -21,10 +21,6 @@ else()
|
|||
# incremental linking
|
||||
message(STATUS "Enabling Incremental Linking..")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /INCREMENTAL")
|
||||
|
||||
# enable building with multiple processes
|
||||
message(STATUS "Enabling Build with Multiple Processes..")
|
||||
add_definitions(/MP)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
|
@ -70,4 +70,4 @@ target_include_directories( sapphire_zone PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}" )
|
|||
target_include_directories( sapphire_zone PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/Script" )
|
||||
target_include_directories( sapphire_zone PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/Script/Scripts" )
|
||||
target_include_directories( sapphire_zone PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/../../libraries/external" )
|
||||
cotire( sapphire_zone )
|
||||
#cotire( sapphire_zone )
|
||||
|
|
|
@ -65,7 +65,7 @@ foreach(_scriptDir ${children})
|
|||
|
||||
configure_file("${CMAKE_CURRENT_SOURCE_DIR}/ScriptLoader.cpp.in" "${_scriptDir}/ScriptLoader.cpp")
|
||||
|
||||
cotire("script_${_name}")
|
||||
#cotire("script_${_name}")
|
||||
|
||||
if(MSVC)
|
||||
add_custom_command(TARGET "script_${_name}" POST_BUILD
|
||||
|
|
Loading…
Add table
Reference in a new issue