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)
|
2020-04-16 15:56:11 +00:00
|
|
|
add_subdirectory(scmversion)
|
2019-11-27 15:55:33 +00:00
|
|
|
|
2021-05-23 08:00:57 +00:00
|
|
|
if(NOT BUILD_LIBRETRO_CORE)
|
2021-05-23 06:08:41 +00:00
|
|
|
add_subdirectory(frontend-common)
|
|
|
|
endif()
|
|
|
|
|
2021-05-23 08:00:57 +00:00
|
|
|
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()
|
2020-07-07 08:54:02 +00:00
|
|
|
endif()
|
|
|
|
|
2021-01-30 11:55:24 +00:00
|
|
|
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()
|
|
|
|
|
2021-07-23 14:02:09 +00:00
|
|
|
if(BUILD_REGTEST)
|
|
|
|
add_subdirectory(duckstation-regtest)
|
|
|
|
endif()
|