Skip to content

Instantly share code, notes, and snippets.

Created Mar 30, 2014
What would you like to do?
Load all CPP / H scripts from the Custom folder for CMake.
diff --git a/src/server/game/CMakeLists.txt b/src/server/game/CMakeLists.txt
index f455610..13f594a 100644
--- a/src/server/game/CMakeLists.txt
+++ b/src/server/game/CMakeLists.txt
@@ -48,6 +48,7 @@ file(GLOB_RECURSE sources_Tickets Tickets/*.cpp Tickets/*.h)
file(GLOB_RECURSE sources_Warden Warden/*.cpp Warden/*.h)
file(GLOB_RECURSE sources_Weather Weather/*.cpp Weather/*.h)
file(GLOB_RECURSE sources_World World/*.cpp World/*.h)
+file(GLOB_RECURSE sources_Custom Custom/*.cpp Custom/*.h)
# Create game-libary
@@ -98,6 +99,7 @@ set(game_STAT_SRCS
+ ${sources_Custom}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment