mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 15:00:17 +02:00
CMake has had the `MINGW` builtin to describe MinGW targets since at least version 3.2, so it can safely be used. This variable is also set for the MSYS2 environments, so CLANGARM64 also correctly sets `MINGW`. Note that this depends on https://github.com/FEX-Emu/jemalloc/pull/11. Signed-off-by: crueter <crueter@eden-emu.dev>
34 lines
777 B
CMake
34 lines
777 B
CMake
add_subdirectory(CommonTools)
|
|
|
|
if (NOT MINGW)
|
|
if (BUILD_FEXCONFIG)
|
|
find_package(Qt6 COMPONENTS Qml Quick Widgets QUIET)
|
|
if (NOT Qt6_FOUND)
|
|
find_package(Qt5 COMPONENTS Qml Quick Widgets REQUIRED)
|
|
endif()
|
|
|
|
add_subdirectory(FEXConfig/)
|
|
endif()
|
|
|
|
if (ENABLE_GDB_SYMBOLS)
|
|
add_subdirectory(FEXGDBReader/)
|
|
endif()
|
|
|
|
if (NOT BUILD_STEAM_SUPPORT)
|
|
add_subdirectory(FEXRootFSFetcher/)
|
|
endif()
|
|
|
|
add_subdirectory(FEXGetConfig/)
|
|
add_subdirectory(FEXServer/)
|
|
add_subdirectory(FEXBash/)
|
|
add_subdirectory(FEXOfflineCompiler/)
|
|
add_subdirectory(CodeSizeValidation/)
|
|
add_subdirectory(LinuxEmulation/)
|
|
|
|
add_subdirectory(FEXInterpreter/)
|
|
add_subdirectory(pidof/)
|
|
if (BUILD_TESTING)
|
|
add_subdirectory(TestHarnessRunner/)
|
|
endif()
|
|
endif()
|