mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-11 09:00:21 +02:00
Due to glibc issues around static applications doing dlopen this is a fundamentally broken option and no longer supported by FEX. Remove the option entirely as to not be confusing. We kept this around initially for chroot support, but with our RootFS mounting AArch64 folders inside the chroot this isn't necessary anymore.
30 lines
586 B
CMake
30 lines
586 B
CMake
set(NAME FEXServer)
|
|
set(SRCS Main.cpp
|
|
ArgumentLoader.cpp
|
|
Logger.cpp
|
|
PipeScanner.cpp
|
|
ProcessPipe.cpp
|
|
SquashFS.cpp)
|
|
|
|
add_executable(${NAME} ${SRCS})
|
|
|
|
target_include_directories(${NAME} PRIVATE
|
|
${CMAKE_BINARY_DIR}/generated
|
|
${CMAKE_SOURCE_DIR}/Source/)
|
|
|
|
target_link_libraries(${NAME} PRIVATE FEXCore Common ${PTHREAD_LIB})
|
|
|
|
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)
|