From b20d7b951cff77785d58030c5e9bd4973ed27004 Mon Sep 17 00:00:00 2001 From: insunaa Date: Sun, 17 Nov 2024 11:11:51 +0100 Subject: [PATCH] Meson: Add BGQ and fix PCH --- src/game/meson.build | 3 ++- src/shared/meson.build | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/game/meson.build b/src/game/meson.build index d9d50de2d4..518b350dac 100644 --- a/src/game/meson.build +++ b/src/game/meson.build @@ -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', @@ -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'] diff --git a/src/shared/meson.build b/src/shared/meson.build index c244c06068..5affdfb6de 100644 --- a/src/shared/meson.build +++ b/src/shared/meson.build @@ -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')