mirror of
https://github.com/FEX-Emu/FEX.git
synced 2025-02-12 18:39:18 +00:00
![Ryan Houdek](/assets/img/avatar_default.png)
Right now cmake doesn't even get past the configuration stage when mingw is used. If mingw is detected, setup cmake so it can at least configure itself. Will be necessary for cleaning up the rest of the codebase.
31 lines
767 B
CMake
31 lines
767 B
CMake
if (ENABLE_VISUAL_DEBUGGER)
|
|
add_subdirectory(Debugger/)
|
|
endif()
|
|
|
|
if (NOT MINGW_BUILD)
|
|
if (NOT TERMUX_BUILD)
|
|
# Termux builds can't rely on X11 packages
|
|
# SDL2 isn't even compiled with GL support so our GUIs wouldn't even work
|
|
add_subdirectory(FEXConfig/)
|
|
|
|
# Disable FEXRootFSFetcher on Termux, it doesn't even work there
|
|
add_subdirectory(FEXRootFSFetcher/)
|
|
endif()
|
|
|
|
if (ENABLE_GDB_SYMBOLS)
|
|
add_subdirectory(FEXGDBReader/)
|
|
endif()
|
|
|
|
add_subdirectory(FEXGetConfig/)
|
|
add_subdirectory(FEXServer/)
|
|
add_subdirectory(FEXBash/)
|
|
endif()
|
|
|
|
set(NAME Opt)
|
|
set(SRCS Opt.cpp)
|
|
|
|
add_executable(${NAME} ${SRCS})
|
|
target_include_directories(${NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/Source/)
|
|
|
|
target_link_libraries(${NAME} FEXCore Common pthread)
|