|
|
@@ -18,7 +18,7 @@ file (GLOB NETWORK_SOURCE Network/*.cpp Network/*.h)
|
|
|
|
|
|
if (NOT EMSCRIPTEN)
|
|
|
file (GLOB IPC_SOURCE IPC/*.cpp IPC/*.h)
|
|
|
-endif()
|
|
|
+endif()
|
|
|
|
|
|
file (GLOB ATOMIC2D_SOURCE Atomic2D/*.cpp Atomic2D/*.h)
|
|
|
file (GLOB SCENE_SOURCE Scene/*.cpp Scene/*.h)
|
|
|
@@ -57,6 +57,29 @@ if (EMSCRIPTEN)
|
|
|
|
|
|
endif()
|
|
|
|
|
|
+# These are used to create visual studio folders.
|
|
|
+source_group(Container FILES ${CONTAINER_SOURCE})
|
|
|
+source_group(Core FILES ${CORE_SOURCE})
|
|
|
+source_group(Engine FILES ${ENGINE_SOURCE})
|
|
|
+source_group(Audio FILES ${AUDIO_SOURCE})
|
|
|
+source_group(Math FILES ${MATH_SOURCE})
|
|
|
+source_group(Resource FILES ${RESOURCE_SOURCE})
|
|
|
+source_group(Input FILES ${INPUT_SOURCE})
|
|
|
+source_group(IO FILES ${IO_SOURCE})
|
|
|
+source_group(Resource FILES ${RESOURCE_SOURCE})
|
|
|
+source_group(Physics FILES ${PHYSICS_SOURCE})
|
|
|
+source_group(IPC FILES ${IPC_SOURCE})
|
|
|
+source_group(Graphics FILES ${GRAPHICS_SOURCE})
|
|
|
+source_group(GraphicsDriver FILES ${GRAPHICS_IMPL_SOURCE})
|
|
|
+source_group(Atomic3D FILES ${ATOMIC3D_SOURCE})
|
|
|
+source_group(Atomic2D FILES ${ATOMIC2D_SOURCE})
|
|
|
+source_group(Environment FILES ${ENVIRONMENT_SOURCE})
|
|
|
+source_group(Scene FILES ${SCENE_SOURCE})
|
|
|
+source_group(UI FILES ${UI_SOURCE})
|
|
|
+source_group(Platform FILES ${PLATFORM_SOURCE})
|
|
|
+source_group(Network FILES $NETWORK_SOURCE})
|
|
|
+source_group(Navigation FILES $NAVIGATION_SOURCE})
|
|
|
+
|
|
|
set (SOURCE_FILES ${CONTAINER_SOURCE} ${CORE_SOURCE} ${ENGINE_SOURCE} ${INPUT_SOURCE}
|
|
|
${AUDIO_SOURCE} ${IO_SOURCE} ${MATH_SOURCE}
|
|
|
${RESOURCE_SOURCE} ${PHYSICS_SOURCE} ${IPC_SOURCE}
|