2015-12-10 03:16:29 +00:00
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
2015-12-06 01:27:02 +00:00
|
|
|
add_subdirectory(locale)
|
|
|
|
|
2015-12-12 00:37:32 +00:00
|
|
|
atdna(atdna_Space.cpp Space.hpp)
|
2016-01-04 05:31:02 +00:00
|
|
|
atdna(atdna_ResourceOutliner.cpp ResourceOutliner.hpp)
|
2015-12-12 00:37:32 +00:00
|
|
|
|
2016-01-05 00:01:02 +00:00
|
|
|
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
2016-01-05 04:20:45 +00:00
|
|
|
option(RUDE_BINARY_CONFIGS
|
|
|
|
"Use binary Athena formats for serializing save data structures, rather than YAML"
|
|
|
|
YES)
|
|
|
|
else()
|
|
|
|
option(RUDE_BINARY_CONFIGS
|
|
|
|
"Use binary Athena formats for serializing save data structures, rather than YAML"
|
|
|
|
NO)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(RUDE_BINARY_CONFIGS)
|
2016-01-05 00:01:02 +00:00
|
|
|
add_definitions("-DRUDE_BINARY_CONFIGS=1")
|
|
|
|
endif()
|
|
|
|
|
2015-11-21 01:23:55 +00:00
|
|
|
add_executable(rude WIN32
|
2015-12-11 02:37:54 +00:00
|
|
|
main.cpp
|
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-04 05:31:02 +00:00
|
|
|
ResourceOutliner.hpp ResourceOutliner.cpp atdna_ResourceOutliner.cpp
|
2015-12-13 21:01:32 +00:00
|
|
|
ProjectManager.hpp ProjectManager.cpp
|
2015-12-06 01:27:02 +00:00
|
|
|
ViewManager.hpp ViewManager.cpp)
|
2015-11-21 01:23:55 +00:00
|
|
|
|
|
|
|
target_link_libraries(rude
|
2015-12-06 01:27:02 +00:00
|
|
|
RudeLocales
|
2015-11-21 01:23:55 +00:00
|
|
|
RuntimeCommonCharacter
|
|
|
|
RuntimeCommonInput
|
|
|
|
RuntimeCommon
|
|
|
|
DNAMP3 DNAMP2 DNAMP1
|
2016-01-04 05:31:02 +00:00
|
|
|
DNACommon Specter SpecterFonts freetype ${DATA_SPEC_LIBS}
|
|
|
|
HECLDatabase HECLBackend HECLFrontend HECLBlender HECLRuntime HECLCommon AthenaCore NOD
|
2015-11-21 01:23:55 +00:00
|
|
|
LogVisor AthenaLibYaml Boo ${PNG_LIB} squish xxhash Math
|
|
|
|
${ZLIB_LIBRARIES} ${LZO_LIB}
|
|
|
|
${BOO_SYS_LIBS})
|