metaforce/Runtime/CMakeLists.txt

99 lines
3.2 KiB
CMake
Raw Normal View History

2016-03-31 02:44:43 +00:00
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ${BOO_INCLUDE_DIR}
${ZLIB_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/DataSpec)
2015-08-18 22:51:54 +00:00
2016-04-24 04:03:30 +00:00
macro(runtime_add_list rel_path a_list)
unset(tmp_list)
foreach(path IN LISTS ${a_list})
list(APPEND tmp_list "${rel_path}/${path}")
endforeach(path)
set(${a_list} "${tmp_list}" PARENT_SCOPE)
endmacro(runtime_add_list)
2015-08-18 22:51:54 +00:00
add_subdirectory(Audio)
add_subdirectory(Character)
add_subdirectory(Graphics)
add_subdirectory(Collision)
add_subdirectory(Camera)
2016-04-16 23:48:29 +00:00
add_subdirectory(World)
add_subdirectory(AutoMapper)
2015-08-18 22:51:54 +00:00
add_subdirectory(GuiSys)
add_subdirectory(Input)
add_subdirectory(Particle)
2015-08-23 06:42:29 +00:00
if(WIN32)
list(APPEND PLAT_SRCS CMemoryCardSysWin.cpp)
elseif(APPLE)
2015-09-02 19:10:11 +00:00
list(APPEND PLAT_SRCS CMemoryCardSysOSX.cpp)
2015-08-23 06:42:29 +00:00
else()
2015-08-23 18:53:43 +00:00
list(APPEND PLAT_SRCS CMemoryCardSysNix.cpp CCallStackNix.cpp)
2015-08-23 06:42:29 +00:00
endif()
2016-04-24 04:03:30 +00:00
add_subdirectory(MP1)
add_subdirectory(MP2)
add_subdirectory(MP3)
2015-08-18 22:51:54 +00:00
add_library(RuntimeCommon
2016-04-24 04:03:30 +00:00
${CLIENT_SOURCES}
${MP1_SOURCES}
${AUDIO_SOURCES}
${AUTOMAPPER_SOURCES}
${CAMERA_SOURCES}
${CHARACTER_SOURCES}
${COLLISION_SOURCES}
${GRAPHICS_SOURCES}
${GUISYS_SOURCES}
${INPUT_SOURCES}
${PARTICLE_SOURCES}
${WORLD_SOURCES}
2016-04-15 20:42:40 +00:00
#CMemory.hpp CMemory.cpp
2015-08-23 06:42:29 +00:00
CMemoryCardSys.hpp
2015-08-18 22:51:54 +00:00
IAllocator.hpp IAllocator.cpp
CGameAllocator.hpp CGameAllocator.cpp
2016-04-12 11:37:07 +00:00
CDependencyGroup.hpp CDependencyGroup.cpp
2015-08-18 22:51:54 +00:00
CBasics.hpp CBasicsPC.cpp
2015-08-27 00:23:46 +00:00
CIOWin.hpp
2015-08-18 22:51:54 +00:00
CIOWinManager.hpp CIOWinManager.cpp
CStateManager.hpp CStateManager.cpp
2016-04-17 02:50:45 +00:00
CWeaponMgr.hpp CWeaponMgr.cpp
CFluidPlaneManager.hpp CFluidPlaneManager.cpp
2015-08-18 22:51:54 +00:00
CGameState.hpp CGameState.cpp
CScriptMailbox.hpp CScriptMailbox.cpp
CPlayerState.hpp CPlayerState.cpp
CRandom16.hpp CRandom16.cpp
CResFactory.hpp CResFactory.cpp
2015-08-23 06:42:29 +00:00
CResLoader.hpp CResLoader.cpp
2016-03-07 03:12:32 +00:00
CDvdRequest.hpp
CDvdFile.hpp CDvdFile.cpp
CVirtualDvdFile.hpp CVirtualDvdFile.cpp
2015-08-22 01:58:41 +00:00
IObjectStore.hpp
2015-08-18 22:51:54 +00:00
CSimplePool.hpp CSimplePool.cpp
CGameOptions.hpp CGameOptions.cpp
2015-08-20 02:52:07 +00:00
CStaticInterference.hpp
2015-08-18 22:51:54 +00:00
CCRC32.hpp CCRC32.cpp
IFactory.hpp
2016-04-13 06:07:23 +00:00
IObjFactory.hpp
CObjectList.hpp CObjectList.cpp
GameObjectLists.hpp GameObjectLists.cpp
CSortedLists.hpp CSortedLists.cpp
2015-08-20 02:52:07 +00:00
CArchitectureMessage.hpp
CArchitectureQueue.hpp CArchitectureQueue.cpp
2015-08-21 00:06:39 +00:00
IObj.hpp
2015-08-22 01:58:41 +00:00
IVParamObj.hpp
CTimeProvider.hpp CTimeProvider.cpp
2015-08-21 00:06:39 +00:00
CToken.hpp
2015-08-23 06:42:29 +00:00
CFactoryMgr.hpp CFactoryMgr.cpp
CPakFile.hpp CPakFile.cpp
CStringExtras.hpp
2015-08-23 18:53:43 +00:00
CCallStack.hpp
2015-08-23 23:58:07 +00:00
IOStreams.hpp IOStreams.cpp
2015-08-27 00:23:46 +00:00
CMainFlowBase.hpp CMainFlowBase.cpp
CMFGameBase.hpp
CInGameTweakManagerBase.hpp
CPlayMovieBase.hpp
CGameDebug.hpp CGameDebug.cpp
2015-08-22 01:58:41 +00:00
rstl.hpp rstl.cpp
2016-04-15 03:02:21 +00:00
GameGlobalObjects.hpp GameGlobalObjects.cpp
2015-08-19 05:48:57 +00:00
RetroTypes.hpp
2015-08-23 06:42:29 +00:00
GCNTypes.hpp
${PLAT_SRCS})