Skip to content

Commit 22fc5f4

Browse files
authored
Add precompiled header support to "GameEngine" targets. (#449)
1 parent 1a78595 commit 22fc5f4

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Generals/Code/GameEngine/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1094,3 +1094,5 @@ target_link_libraries(g_gameengine PUBLIC
10941094
target_compile_definitions(g_gameengine PRIVATE
10951095
IG_DEBUG_STACKTRACE
10961096
)
1097+
1098+
target_precompile_headers(g_gameengine PRIVATE Include/Precompiled/PreRTS.h)

GeneralsMD/Code/GameEngine/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,3 +1179,5 @@ target_link_libraries(z_gameengine PUBLIC
11791179
target_compile_definitions(z_gameengine PRIVATE
11801180
IG_DEBUG_STACKTRACE
11811181
)
1182+
1183+
target_precompile_headers(z_gameengine PRIVATE Include/Precompiled/PreRTS.h)

0 commit comments

Comments
 (0)