mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-27 17:00:33 +01:00
26 lines
496 B
CMake
26 lines
496 B
CMake
add_executable(FEXOfflineCompiler Main.cpp)
|
|
|
|
target_link_libraries(FEXOfflineCompiler
|
|
PRIVATE
|
|
Common
|
|
CommonTools
|
|
cpp-optparse
|
|
FEXCore
|
|
JemallocLibs
|
|
LinuxEmulation
|
|
${PTHREAD_LIB}
|
|
fmt::fmt)
|
|
|
|
if (CMAKE_BUILD_TYPE MATCHES "RELEASE")
|
|
target_link_options(FEXOfflineCompiler
|
|
PRIVATE
|
|
"LINKER:--gc-sections"
|
|
"LINKER:--strip-all"
|
|
"LINKER:--as-needed")
|
|
endif()
|
|
|
|
install(TARGETS FEXOfflineCompiler
|
|
RUNTIME
|
|
DESTINATION bin
|
|
COMPONENT Runtime)
|