21 lines
423 B
CMake
21 lines
423 B
CMake
include(FetchContent)
|
|
|
|
FetchContent_Declare(snitch
|
|
GIT_REPOSITORY https://github.com/snitch-org/snitch.git
|
|
GIT_TAG v1.2.5) # update version number as needed
|
|
|
|
FetchContent_MakeAvailable(snitch)
|
|
|
|
set(pixwerx_test_files
|
|
pw_test_core.cpp
|
|
)
|
|
|
|
|
|
|
|
|
|
add_executable(pixwerx_tests ${pixwerx_test_files})
|
|
|
|
target_link_libraries(pixwerx_tests PRIVATE
|
|
snitch::snitch
|
|
pwcore
|
|
)
|