mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-28 02:01:52 +01:00
This hasn't been run in CI for awhile so this was missed when I was testing it. I need to see what I can do to get this going in CI again.
16 lines
468 B
CMake
16 lines
468 B
CMake
set(NAME FEXGDBReader)
|
|
set(SRCS FEXGDBReader.cpp)
|
|
|
|
add_library(${NAME} SHARED ${SRCS})
|
|
|
|
install(TARGETS ${NAME}
|
|
RUNTIME
|
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/gdb
|
|
COMPONENT LIBRARY)
|
|
|
|
target_include_directories(${NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/Source/)
|
|
target_include_directories(${NAME} PRIVATE ${CMAKE_BINARY_DIR}/generated)
|
|
|
|
# We don't actually link, but this is a nice way to get the include dirs
|
|
target_link_libraries(${NAME} PRIVATE Common)
|