2016-02-12 06:06:17 +00:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR} ./../Runtime)
|
2015-12-06 01:27:02 +00:00
|
|
|
add_subdirectory(locale)
|
2016-01-18 00:40:11 +00:00
|
|
|
add_subdirectory(icons)
|
2015-12-06 01:27:02 +00:00
|
|
|
|
2016-01-07 00:40:27 +00:00
|
|
|
atdna(atdna_Space.cpp Space.hpp)
|
|
|
|
atdna(atdna_ResourceBrowser.cpp ResourceBrowser.hpp)
|
2016-01-18 00:40:11 +00:00
|
|
|
atdna(atdna_ModelViewer.cpp ModelViewer.hpp)
|
2016-02-02 04:29:58 +00:00
|
|
|
atdna(atdna_ParticleEditor.cpp ParticleEditor.hpp)
|
2016-02-02 08:31:05 +00:00
|
|
|
atdna(atdna_InformationCenter.cpp InformationCenter.hpp)
|
2016-01-07 00:40:27 +00:00
|
|
|
|
2016-01-27 00:44:22 +00:00
|
|
|
if(WIN32)
|
|
|
|
set(PLAT_SRCS platforms/win/urde.rc)
|
|
|
|
elseif(APPLE)
|
|
|
|
set(PLAT_SRCS platforms/mac/mainicon.icns)
|
|
|
|
set_source_files_properties(platforms/mac/mainicon.icns PROPERTIES
|
|
|
|
MACOSX_PACKAGE_LOCATION Resources)
|
2016-01-27 23:27:56 +00:00
|
|
|
elseif(UNIX)
|
|
|
|
add_subdirectory(platforms/freedesktop)
|
|
|
|
declare_wmicon_target()
|
|
|
|
set(PLAT_SRCS mainicon_netwm.c)
|
2016-01-27 00:44:22 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_executable(urde WIN32 MACOSX_BUNDLE
|
|
|
|
main.cpp ${PLAT_SRCS}
|
2015-12-12 00:37:32 +00:00
|
|
|
Space.hpp Space.cpp atdna_Space.cpp
|
2015-12-24 03:32:21 +00:00
|
|
|
SplashScreen.hpp SplashScreen.cpp
|
2016-01-07 00:40:27 +00:00
|
|
|
ResourceBrowser.hpp ResourceBrowser.cpp atdna_ResourceBrowser.cpp
|
2016-01-18 00:40:11 +00:00
|
|
|
ModelViewer.hpp ModelViewer.cpp atdna_ModelViewer.cpp
|
2016-02-02 04:29:58 +00:00
|
|
|
ParticleEditor.hpp ParticleEditor.cpp atdna_ParticleEditor.cpp
|
2016-02-02 08:31:05 +00:00
|
|
|
InformationCenter.hpp InformationCenter.hpp atdna_InformationCenter.cpp
|
2015-12-13 21:01:32 +00:00
|
|
|
ProjectManager.hpp ProjectManager.cpp
|
2016-03-26 00:51:59 +00:00
|
|
|
ProjectResourceFactoryBase.hpp ProjectResourceFactoryBase.cpp
|
|
|
|
ProjectResourceFactoryMP1.hpp ProjectResourceFactoryMP1.cpp
|
2016-01-17 22:41:49 +00:00
|
|
|
ViewManager.hpp ViewManager.cpp
|
2016-02-02 04:29:58 +00:00
|
|
|
Resource.hpp Resource.cpp
|
2016-01-17 22:41:49 +00:00
|
|
|
Camera.hpp Camera.cpp)
|
2015-11-21 01:23:55 +00:00
|
|
|
|
2016-01-05 09:53:16 +00:00
|
|
|
target_link_libraries(urde
|
|
|
|
UrdeLocales
|
2016-01-18 00:40:11 +00:00
|
|
|
UrdeIcons
|
2015-11-21 01:23:55 +00:00
|
|
|
RuntimeCommonCharacter
|
|
|
|
RuntimeCommonInput
|
2016-02-12 06:06:17 +00:00
|
|
|
RuntimeCommonParticle
|
2016-03-16 20:49:35 +00:00
|
|
|
RuntimeCommonGuiSys
|
2016-02-18 02:42:32 +00:00
|
|
|
RuntimeCommonGraphics
|
2016-03-07 03:12:32 +00:00
|
|
|
RuntimeCommonAudio
|
2015-11-21 01:23:55 +00:00
|
|
|
RuntimeCommon
|
|
|
|
DNAMP3 DNAMP2 DNAMP1
|
2016-03-04 23:04:53 +00:00
|
|
|
DNACommon specter specter-fonts freetype ${DATA_SPEC_LIBS}
|
|
|
|
hecl-database hecl-backend hecl-frontend hecl-blender hecl-runtime hecl-common athena-core nod
|
2016-03-07 03:12:32 +00:00
|
|
|
logvisor athena-libyaml boo ${PNG_LIB} libjpeg-turbo squish xxhash zeus
|
2015-11-21 01:23:55 +00:00
|
|
|
${ZLIB_LIBRARIES} ${LZO_LIB}
|
|
|
|
${BOO_SYS_LIBS})
|
2016-01-27 00:44:22 +00:00
|
|
|
|
|
|
|
set_target_properties(urde PROPERTIES
|
|
|
|
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/platforms/mac/Info.plist")
|