mirror of https://github.com/AxioDL/metaforce.git
41 lines
1.5 KiB
CMake
41 lines
1.5 KiB
CMake
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|
add_subdirectory(locale)
|
|
|
|
if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
|
|
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)
|
|
add_definitions("-DURDE_BINARY_CONFIGS=1")
|
|
endif()
|
|
|
|
atdna(atdna_Space.cpp Space.hpp)
|
|
atdna(atdna_ResourceBrowser.cpp ResourceBrowser.hpp)
|
|
|
|
add_executable(urde WIN32
|
|
main.cpp
|
|
Space.hpp Space.cpp atdna_Space.cpp
|
|
SplashScreen.hpp SplashScreen.cpp
|
|
ResourceBrowser.hpp ResourceBrowser.cpp atdna_ResourceBrowser.cpp
|
|
ModelViewer.hpp ModelViewer.cpp
|
|
ProjectManager.hpp ProjectManager.cpp
|
|
ViewManager.hpp ViewManager.cpp)
|
|
|
|
target_link_libraries(urde
|
|
UrdeLocales
|
|
RuntimeCommonCharacter
|
|
RuntimeCommonInput
|
|
RuntimeCommon
|
|
DNAMP3 DNAMP2 DNAMP1
|
|
DNACommon Specter SpecterFonts freetype ${DATA_SPEC_LIBS}
|
|
HECLDatabase HECLBackend HECLFrontend HECLBlender HECLRuntime HECLCommon AthenaCore NOD
|
|
LogVisor AthenaLibYaml Boo ${PNG_LIB} squish xxhash Math
|
|
${ZLIB_LIBRARIES} ${LZO_LIB}
|
|
${BOO_SYS_LIBS})
|