spike-diff/lib/CMakeLists.txt

10 lines
327 B
CMake
Raw Normal View History

2024-08-05 12:09:40 +00:00
add_library(spike-diff SHARED spike-diff.cpp)
target_link_libraries(spike-diff
PRIVATE
2024-08-15 01:49:59 +00:00
PkgConfig::riscv-riscv PkgConfig::riscv-fesvr
spdlog::spdlog)
set_property(TARGET PROPERTY POSITION_INDEPENDENT_CODE ON)
target_link_options(spike-diff PRIVATE -Wl,-E)