Skip to content

Commit

Permalink
Meson: Add BGQ and fix PCH
Browse files Browse the repository at this point in the history
  • Loading branch information
insunaa committed Nov 17, 2024
1 parent 2b8f873 commit b20d7b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/game/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ game_sources = [
'BattleGround/BattleGroundAV.cpp',
'BattleGround/BattleGroundWS.cpp',
'BattleGround/BattleGroundAB.cpp',
'BattleGround/BattleGroundQueue.cpp',
'Entities/SkillHandler.cpp',
'Entities/MiscHandler.cpp',
'Entities/QueryHandler.cpp',
Expand Down Expand Up @@ -456,7 +457,7 @@ endif
if not get_option('PCH')
pch_files = []
else
pch_files = ['../game/pchdef.h', '../game/pchdef.cpp']
pch_files = ['../game/pchdef.h']
endif

game_args = ['-DDT_POLYREF64', '-D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES=0']
Expand Down
2 changes: 1 addition & 1 deletion src/shared/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ actual_rev = vcs_tag(
if not get_option('PCH')
pch_files = []
else
pch_files = ['../shared/pchdef.h', '../shared/pchdef.cpp']
pch_files = ['../shared/pchdef.h']
endif

if get_option('BUILD_GAME_SERVER') or get_option('BUILD_LOGIN_SERVER') or get_option('BUILD_EXTRACTORS')
Expand Down

0 comments on commit b20d7b9

Please sign in to comment.