xinyangli
c0de3e619e
All checks were successful
Build packages / build-packages (default) (push) Successful in 8m34s
11 lines
358 B
CMake
11 lines
358 B
CMake
add_library(spike-diff SHARED spike-diff.cpp)
|
|
|
|
target_link_libraries(spike-diff
|
|
PRIVATE
|
|
PkgConfig::riscv-riscv PkgConfig::riscv-fesvr
|
|
spdlog::spdlog)
|
|
|
|
set_property(TARGET PROPERTY POSITION_INDEPENDENT_CODE ON)
|
|
target_link_options(spike-diff PRIVATE -Wl,-E)
|
|
|
|
install( TARGETS spike-diff )
|