mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-23 22:25:42 +00:00
32 lines
598 B
CMake
32 lines
598 B
CMake
if(BUILD_LIBRETRO_CORE)
|
|
add_definitions("-DLIBRETRO=1")
|
|
endif()
|
|
|
|
add_subdirectory(common)
|
|
add_subdirectory(core)
|
|
add_subdirectory(scmversion)
|
|
|
|
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)
|
|
add_subdirectory(frontend-common)
|
|
endif()
|
|
|
|
if(BUILD_SDL_FRONTEND)
|
|
add_subdirectory(duckstation-sdl)
|
|
endif()
|
|
|
|
if(BUILD_QT_FRONTEND)
|
|
add_subdirectory(duckstation-qt)
|
|
endif()
|
|
|
|
if(BUILD_LIBRETRO_CORE)
|
|
add_subdirectory(duckstation-libretro)
|
|
endif()
|
|
|