mirror of
https://github.com/EQEmu/Server.git
synced 2026-10-07 21:03:35 +00:00
[Code] Optimize PCH Config (Faster Builds) (#4951)
This commit is contained in:
1 parent
5ac9dd04e4
commit
4005b68383
5 files changed
+15
-6
No files matched your search
@@ -77,7 +77,7 @@ ADD_EXECUTABLE(world ${world_sources} ${world_headers})
|
||||
INSTALL(TARGETS world RUNTIME DESTINATION ${CMAKE_INSTALL_PREFIX}/bin)
|
||||
|
||||
IF (WIN32 AND EQEMU_BUILD_PCH)
|
||||
TARGET_PRECOMPILE_HEADERS(world PRIVATE ../common/pch/pch.h)
|
||||
TARGET_PRECOMPILE_HEADERS(world PRIVATE ../common/pch/std-pch.h)
|
||||
ENDIF ()
|
||||
|
||||
ADD_DEFINITIONS(-DWORLD)
|
||||
|
||||
Reference in new issue
Block a user