Files
FEX-Emu--FEX/Source/Tools/FEXGDBReader/CMakeLists.txt
T
crueter 588fec3b89 [cmake] reduce usage of trivial variables
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>
2025-12-27 21:16:51 -05:00

12 lines
370 B
CMake

add_library(FEXGDBReader SHARED FEXGDBReader.cpp)
install(TARGETS FEXGDBReader
RUNTIME
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/gdb
COMPONENT Development)
target_include_directories(FEXGDBReader PRIVATE ${CMAKE_BINARY_DIR}/generated)
# We don't actually link, but this is a nice way to get the include dirs
target_link_libraries(FEXGDBReader PRIVATE Common)