mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
Trivial variables like SRCS, NAME, etc. actually do more harm than good. They *will* make your IDE mad, and are also less readable. Remember: verbosity is not a bad thing! Usually Also: did a few tiny cleanups that I missed from my `endpara` PR. Signed-off-by: crueter <crueter@eden-emu.dev>
18 lines
458 B
CMake
18 lines
458 B
CMake
add_executable(FEXRootFSFetcher Main.cpp XXFileHash.cpp)
|
|
list(APPEND LIBS FEXCore Common JemallocDummy xxHash::xxhash)
|
|
|
|
if (CMAKE_BUILD_TYPE MATCHES "RELEASE")
|
|
target_link_options(FEXRootFSFetcher
|
|
PRIVATE
|
|
"LINKER:--gc-sections"
|
|
"LINKER:--strip-all"
|
|
"LINKER:--as-needed")
|
|
endif()
|
|
|
|
install(TARGETS FEXRootFSFetcher
|
|
RUNTIME
|
|
DESTINATION bin
|
|
COMPONENT Runtime)
|
|
|
|
target_link_libraries(FEXRootFSFetcher PRIVATE ${LIBS} ${PTHREAD_LIB})
|