mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-12 15:00:39 +02:00
16 lines
448 B
CMake
16 lines
448 B
CMake
set(NAME FEXGDBReader)
|
|
set(SRCS FEXGDBReader.cpp)
|
|
|
|
add_library(${NAME} SHARED ${SRCS})
|
|
|
|
install(TARGETS ${NAME}
|
|
RUNTIME
|
|
LIBRARY DESTINATION lib/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)
|