mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
FEXConfig: Remove
This commit is contained in:
6 files changed
+2
-1074
No files matched your search
@@ -5,9 +5,6 @@
|
||||
[submodule "External/cpp-optparse"]
|
||||
path = Source/Common/cpp-optparse
|
||||
url = https://github.com/Sonicadvance1/cpp-optparse
|
||||
[submodule "External/imgui"]
|
||||
path = External/imgui
|
||||
url = https://github.com/Sonicadvance1/imgui.git
|
||||
[submodule "External/xbyak"]
|
||||
shallow = true
|
||||
path = External/xbyak
|
||||
|
||||
+1
-6
@@ -7,7 +7,7 @@ CHECK_INCLUDE_FILES ("gdb/jit-reader.h" HAVE_GDB_JIT_READER_H)
|
||||
option(BUILD_TESTS "Build unit tests to ensure sanity" TRUE)
|
||||
option(BUILD_FEX_LINUX_TESTS "Build FEXLinuxTests, requires x86 compiler" FALSE)
|
||||
option(BUILD_THUNKS "Build thunks" FALSE)
|
||||
set(USE_FEXCONFIG_TOOLKIT "imgui" CACHE STRING "If set, build FEXConfig (qt or imgui)")
|
||||
option(BUILD_FEXCONFIG "Build FEXConfig" TRUE)
|
||||
option(ENABLE_CLANG_THUNKS "Build thunks with clang" FALSE)
|
||||
option(ENABLE_IWYU "Enables include what you use program" FALSE)
|
||||
option(ENABLE_LTO "Enable LTO with compilation" TRUE)
|
||||
@@ -319,11 +319,6 @@ if (NOT fmt_FOUND)
|
||||
add_subdirectory(External/fmt/)
|
||||
endif()
|
||||
|
||||
if (USE_FEXCONFIG_TOOLKIT STREQUAL "imgui")
|
||||
add_subdirectory(External/imgui/)
|
||||
include_directories(External/imgui/)
|
||||
endif()
|
||||
|
||||
add_subdirectory(External/tiny-json/)
|
||||
include_directories(External/tiny-json/)
|
||||
|
||||
|
||||
Vendored
-1
Submodule External/imgui deleted from 4c986ecb8d.
@@ -1,9 +1,7 @@
|
||||
add_subdirectory(CommonTools)
|
||||
|
||||
if (NOT MINGW_BUILD)
|
||||
if (USE_FEXCONFIG_TOOLKIT STREQUAL "imgui")
|
||||
add_subdirectory(FEXConfig/)
|
||||
elseif (USE_FEXCONFIG_TOOLKIT STREQUAL "qt")
|
||||
if (BUILD_FEXCONFIG)
|
||||
find_package(Qt6 COMPONENTS Qml Quick Widgets QUIET)
|
||||
if (NOT Qt6_FOUND)
|
||||
find_package(Qt5 COMPONENTS Qml Quick Widgets REQUIRED)
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
set(NAME FEXConfig)
|
||||
set(SRCS Main.cpp
|
||||
${CMAKE_SOURCE_DIR}/External/imgui/examples/imgui_impl_sdl.cpp
|
||||
${CMAKE_SOURCE_DIR}/External/imgui/examples/imgui_impl_opengl3.cpp)
|
||||
|
||||
find_library(EPOXY epoxy REQUIRED)
|
||||
find_package(SDL2 REQUIRED)
|
||||
|
||||
add_definitions(-DIMGUI_IMPL_OPENGL_LOADER_CUSTOM=<epoxy/gl.h>)
|
||||
add_executable(${NAME} ${SRCS})
|
||||
|
||||
target_include_directories(${NAME} PRIVATE ${CMAKE_SOURCE_DIR}/Source/)
|
||||
target_include_directories(${NAME} PRIVATE ${CMAKE_SOURCE_DIR}/External/imgui/examples/)
|
||||
|
||||
# Fix for SDL2 includes under Alpine Linux.
|
||||
target_include_directories(${NAME} PRIVATE /usr/include/directfb/)
|
||||
|
||||
if (TARGET SDL2::SDL2)
|
||||
target_link_libraries(${NAME} PRIVATE SDL2::SDL2)
|
||||
else()
|
||||
target_include_directories(${NAME} PRIVATE ${SDL2_INCLUDE_DIRS})
|
||||
target_link_libraries(${NAME} PRIVATE ${SDL2_LIBRARIES})
|
||||
endif()
|
||||
|
||||
target_link_libraries(${NAME} PRIVATE Common pthread epoxy X11 EGL imgui)
|
||||
|
||||
if (CMAKE_BUILD_TYPE MATCHES "RELEASE")
|
||||
target_link_options(${NAME}
|
||||
PRIVATE
|
||||
"LINKER:--gc-sections"
|
||||
"LINKER:--strip-all"
|
||||
"LINKER:--as-needed"
|
||||
)
|
||||
endif()
|
||||
|
||||
install(TARGETS ${NAME}
|
||||
RUNTIME
|
||||
DESTINATION bin
|
||||
COMPONENT runtime)
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user