mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
Build: Reuse PCH file between all script modules
(cherry picked from commit eac4bf825a)
This commit is contained in:
@@ -225,8 +225,8 @@ set_target_properties(scripts
|
||||
|
||||
# Generate precompiled header
|
||||
if(USE_SCRIPTPCH)
|
||||
list(APPEND ALL_SCRIPT_PROJECTS scripts ${DYNAMIC_SCRIPT_MODULE_PROJECTS})
|
||||
add_cxx_pch("${ALL_SCRIPT_PROJECTS}" ${PRIVATE_PCH_HEADER})
|
||||
add_cxx_pch("scripts" ${PRIVATE_PCH_HEADER} ${DYNAMIC_SCRIPT_MODULE_PROJECTS})
|
||||
reuse_cxx_pch("${DYNAMIC_SCRIPT_MODULE_PROJECTS}" scripts)
|
||||
endif()
|
||||
|
||||
# Remove all shared libraries in the installl directory which
|
||||
|
||||
Reference in New Issue
Block a user