Skip to content

Commit

Permalink
Update cmakefile for new Eluna structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Foereaper committed Jul 26, 2023
1 parent 4f19fe3 commit 90dcc89
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
11 changes: 9 additions & 2 deletions src/server/game/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# Exclude files in the LuaEngine directory for Mangos and CMangos
CollectSourceFiles(
${CMAKE_CURRENT_SOURCE_DIR}
PRIVATE_SOURCES
# Exclude
${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders)
${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders
${CMAKE_CURRENT_SOURCE_DIR}/LuaEngine/Mangos
${CMAKE_CURRENT_SOURCE_DIR}/LuaEngine/CMangos)

if(USE_COREPCH)
set(PRIVATE_PCH_HEADER PrecompiledHeaders/gamePCH.h)
Expand All @@ -22,11 +25,15 @@ GroupSources(${CMAKE_CURRENT_SOURCE_DIR})

add_definitions(-DTRINITY_API_EXPORT_GAME)

# Exclude files in the LuaEngine directory for Mangos and CMangos
CollectIncludeDirectories(
${CMAKE_CURRENT_SOURCE_DIR}
PUBLIC_INCLUDES
# Exclude
${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders)
${CMAKE_CURRENT_SOURCE_DIR}/PrecompiledHeaders
${CMAKE_CURRENT_SOURCE_DIR}/LuaEngine/Mangos
${CMAKE_CURRENT_SOURCE_DIR}/LuaEngine/CMangos
)

# Provide an interface target for the game project to allow
# dependent projects to build meanwhile.
Expand Down
2 changes: 1 addition & 1 deletion src/server/game/LuaEngine
Submodule LuaEngine updated 61 files
+0 −80 CMakeLists.txt
+23 −0 CMangos/AuraMethods.h
+25 −0 CMangos/BattleGroundMethods.h
+14 −0 CMangos/CorpseMethods.h
+96 −0 CMangos/CreatureMethods.h
+26 −0 CMangos/ElunaQueryMethods.h
+32 −0 CMangos/GameObjectMethods.h
+112 −0 CMangos/GlobalMethods.h
+38 −0 CMangos/GroupMethods.h
+27 −0 CMangos/GuildMethods.h
+66 −0 CMangos/ItemMethods.h
+31 −0 CMangos/MapMethods.h
+42 −0 CMangos/ObjectMethods.h
+273 −0 CMangos/PlayerMethods.h
+21 −0 CMangos/QuestMethods.h
+25 −0 CMangos/SpellMethods.h
+177 −0 CMangos/UnitMethods.h
+17 −0 CMangos/VehicleMethods.h
+58 −0 CMangos/WorldObjectMethods.h
+36 −0 CMangos/WorldPacketMethods.h
+22 −2 ElunaTemplate.h
+1,062 −1,070 LuaFunctions.cpp
+240 −0 Mangos/AuraMethods.h
+281 −0 Mangos/BattleGroundMethods.h
+95 −0 Mangos/CorpseMethods.h
+1,599 −0 Mangos/CreatureMethods.h
+399 −0 Mangos/ElunaQueryMethods.h
+378 −0 Mangos/GameObjectMethods.h
+3,385 −0 Mangos/GlobalMethods.h
+468 −0 Mangos/GroupMethods.h
+332 −0 Mangos/GuildMethods.h
+834 −0 Mangos/ItemMethods.h
+404 −0 Mangos/MapMethods.h
+506 −0 Mangos/ObjectMethods.h
+4,570 −0 Mangos/PlayerMethods.h
+208 −0 Mangos/QuestMethods.h
+218 −0 Mangos/SpellMethods.h
+3,291 −0 Mangos/UnitMethods.h
+134 −0 Mangos/VehicleMethods.h
+1,299 −0 Mangos/WorldObjectMethods.h
+350 −0 Mangos/WorldPacketMethods.h
+195 −0 TrinityCore/AuraMethods.h
+249 −0 TrinityCore/BattleGroundMethods.h
+91 −0 TrinityCore/CorpseMethods.h
+1,351 −0 TrinityCore/CreatureMethods.h
+342 −0 TrinityCore/ElunaQueryMethods.h
+341 −0 TrinityCore/GameObjectMethods.h
+2,937 −0 TrinityCore/GlobalMethods.h
+415 −0 TrinityCore/GroupMethods.h
+270 −0 TrinityCore/GuildMethods.h
+779 −0 TrinityCore/ItemMethods.h
+360 −0 TrinityCore/MapMethods.h
+498 −0 TrinityCore/ObjectMethods.h
+3,933 −0 TrinityCore/PlayerMethods.h
+199 −0 TrinityCore/QuestMethods.h
+198 −0 TrinityCore/SpellMethods.h
+2,705 −0 TrinityCore/UnitMethods.h
+110 −0 TrinityCore/VehicleMethods.h
+1,153 −0 TrinityCore/WorldObjectMethods.h
+347 −0 TrinityCore/WorldPacketMethods.h
+2 −1 docs/ElunaDoc/__main__.py

0 comments on commit 90dcc89

Please sign in to comment.