|
@@ -64,28 +64,28 @@ endif (GLM_FOUND)
|
64
|
64
|
#################################################################
|
65
|
65
|
|
66
|
66
|
# Set Source files
|
67
|
|
-set (SRCS ${SRCS} "Camera.cpp")
|
68
|
|
-set (SRCS ${SRCS} "Console.cpp")
|
69
|
|
-set (SRCS ${SRCS} "Entity.cpp")
|
70
|
|
-set (SRCS ${SRCS} "Exception.cpp")
|
71
|
|
-set (SRCS ${SRCS} "Game.cpp")
|
72
|
|
-set (SRCS ${SRCS} "Log.cpp")
|
|
67
|
+set (SRCS ${SRCS} "Camera.cpp" "../include/Camera.h")
|
|
68
|
+set (SRCS ${SRCS} "Console.cpp" "../include/Console.h")
|
|
69
|
+set (SRCS ${SRCS} "Entity.cpp" "../include/Entity.h")
|
|
70
|
+set (SRCS ${SRCS} "Exception.cpp" "../include/Exception.h")
|
|
71
|
+set (SRCS ${SRCS} "Game.cpp" "../include/Game.h")
|
|
72
|
+set (SRCS ${SRCS} "Log.cpp" "../include/Log.h")
|
73
|
73
|
set (SRCS ${SRCS} "main.cpp")
|
74
|
|
-set (SRCS ${SRCS} "Menu.cpp")
|
75
|
|
-set (SRCS ${SRCS} "MenuFolder.cpp")
|
76
|
|
-set (SRCS ${SRCS} "Mesh.cpp")
|
77
|
|
-set (SRCS ${SRCS} "Render.cpp")
|
78
|
|
-set (SRCS ${SRCS} "Room.cpp")
|
79
|
|
-set (SRCS ${SRCS} "RoomData.cpp")
|
80
|
|
-set (SRCS ${SRCS} "RunTime.cpp")
|
81
|
|
-set (SRCS ${SRCS} "Script.cpp")
|
82
|
|
-set (SRCS ${SRCS} "SkeletalModel.cpp")
|
83
|
|
-set (SRCS ${SRCS} "SoundManager.cpp")
|
84
|
|
-set (SRCS ${SRCS} "Sprite.cpp")
|
85
|
|
-set (SRCS ${SRCS} "StaticMesh.cpp")
|
86
|
|
-set (SRCS ${SRCS} "TextureManager.cpp")
|
87
|
|
-set (SRCS ${SRCS} "UI.cpp")
|
88
|
|
-set (SRCS ${SRCS} "World.cpp")
|
|
74
|
+set (SRCS ${SRCS} "Menu.cpp" "../include/Menu.h")
|
|
75
|
+set (SRCS ${SRCS} "MenuFolder.cpp" "../include/MenuFolder.h")
|
|
76
|
+set (SRCS ${SRCS} "Mesh.cpp" "../include/Mesh.h")
|
|
77
|
+set (SRCS ${SRCS} "Render.cpp" "../include/Render.h")
|
|
78
|
+set (SRCS ${SRCS} "Room.cpp" "../include/Room.h")
|
|
79
|
+set (SRCS ${SRCS} "RoomData.cpp" "../include/RoomData.h")
|
|
80
|
+set (SRCS ${SRCS} "RunTime.cpp" "../include/RunTime.h")
|
|
81
|
+set (SRCS ${SRCS} "Script.cpp" "../include/Script.h")
|
|
82
|
+set (SRCS ${SRCS} "SkeletalModel.cpp" "../include/SkeletalModel.h")
|
|
83
|
+set (SRCS ${SRCS} "SoundManager.cpp" "../include/SoundManager.h")
|
|
84
|
+set (SRCS ${SRCS} "Sprite.cpp" "../include/Sprite.h")
|
|
85
|
+set (SRCS ${SRCS} "StaticMesh.cpp" "../include/StaticMesh.h")
|
|
86
|
+set (SRCS ${SRCS} "TextureManager.cpp" "../include/TextureManager.h")
|
|
87
|
+set (SRCS ${SRCS} "UI.cpp" "../include/UI.h")
|
|
88
|
+set (SRCS ${SRCS} "World.cpp" "../include/World.h")
|
89
|
89
|
|
90
|
90
|
# Select available Sound library
|
91
|
91
|
if (OPENAL_FOUND AND ALUT_FOUND AND ENABLE_AUDIO)
|
|
@@ -227,9 +227,8 @@ add_subdirectory ("system")
|
227
|
227
|
add_subdirectory ("utils")
|
228
|
228
|
|
229
|
229
|
# Add Executable
|
230
|
|
-add_library (OpenRaider_all OBJECT ${SRCS})
|
231
|
230
|
add_executable (OpenRaider MACOSX_BUNDLE ${RESRCS}
|
232
|
|
- $<TARGET_OBJECTS:OpenRaider_all> $<TARGET_OBJECTS:OpenRaider_commands>
|
|
231
|
+ ${SRCS} $<TARGET_OBJECTS:OpenRaider_commands>
|
233
|
232
|
$<TARGET_OBJECTS:OpenRaider_deps> $<TARGET_OBJECTS:OpenRaider_loader>
|
234
|
233
|
$<TARGET_OBJECTS:OpenRaider_utils> $<TARGET_OBJECTS:OpenRaider_system>
|
235
|
234
|
)
|