Duckstation/src/CMakeLists.txt

32 lines
568 B
CMake
Raw Normal View History

2021-05-10 03:36:00 +00:00
if(BUILD_LIBRETRO_CORE)
add_definitions("-DLIBRETRO=1")
endif()
2019-09-09 07:01:26 +00:00
add_subdirectory(common)
2019-10-04 03:54:09 +00:00
add_subdirectory(core)
add_subdirectory(scmversion)
2019-11-27 15:55:33 +00:00
if(NOT BUILD_LIBRETRO_CORE)
add_subdirectory(frontend-common)
endif()
if(NOT BUILD_LIBRETRO_CORE AND NOT ANDROID)
2021-05-10 03:36:00 +00:00
add_subdirectory(common-tests)
if(WIN32)
add_subdirectory(updater)
endif()
endif()
if(BUILD_NOGUI_FRONTEND)
add_subdirectory(duckstation-nogui)
2020-06-08 16:44:42 +00:00
endif()
2019-12-31 06:17:17 +00:00
if(BUILD_QT_FRONTEND)
add_subdirectory(duckstation-qt)
endif()
2021-05-10 03:36:00 +00:00
if(BUILD_LIBRETRO_CORE)
add_subdirectory(duckstation-libretro)
endif()