mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-05 03:53:48 +00:00
added 2 cmake hooks for game library
This commit is contained in:
@@ -8,6 +8,8 @@
|
|||||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||||
|
|
||||||
|
RUN_HOOK(BEFORE_GAME_LIBRARY)
|
||||||
|
|
||||||
file(GLOB_RECURSE sources_Accounts Accounts/*.cpp Accounts/*.h)
|
file(GLOB_RECURSE sources_Accounts Accounts/*.cpp Accounts/*.h)
|
||||||
file(GLOB_RECURSE sources_Achievements Achievements/*.cpp Achievements/*.h)
|
file(GLOB_RECURSE sources_Achievements Achievements/*.cpp Achievements/*.h)
|
||||||
file(GLOB_RECURSE sources_Addons Addons/*.cpp Addons/*.h)
|
file(GLOB_RECURSE sources_Addons Addons/*.cpp Addons/*.h)
|
||||||
@@ -220,3 +222,5 @@ add_dependencies(game revision.h)
|
|||||||
if (USE_COREPCH)
|
if (USE_COREPCH)
|
||||||
add_cxx_pch(game ${game_STAT_PCH_HDR} ${game_STAT_PCH_SRC})
|
add_cxx_pch(game ${game_STAT_PCH_HDR} ${game_STAT_PCH_SRC})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
RUN_HOOK(AFTER_GAME_LIBRARY)
|
||||||
|
|||||||
Reference in New Issue
Block a user