Duckstation/src/CMakeLists.txt

32 lines
598 B
CMake
Raw Normal View History

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(common-tests)
if(WIN32)
add_subdirectory(updater)
endif()
endif()
if(ANDROID OR BUILD_SDL_FRONTEND OR BUILD_QT_FRONTEND OR BUILD_LIBRETRO_CORE)
2020-06-08 16:44:42 +00:00
add_subdirectory(frontend-common)
endif()
2019-12-31 06:17:17 +00:00
if(BUILD_SDL_FRONTEND)
add_subdirectory(duckstation-sdl)
2019-11-27 15:55:33 +00:00
endif()
2019-12-31 06:17:17 +00:00
if(BUILD_QT_FRONTEND)
add_subdirectory(duckstation-qt)
endif()
2020-06-08 16:44:42 +00:00
if(BUILD_LIBRETRO_CORE)
add_subdirectory(duckstation-libretro)
endif()