Files
curtle/tests/CMakeLists.txt
Leo Sulzbacher da2539692a
All checks were successful
CI / build (pull_request) Successful in 15s
CI / build (push) Successful in 15s
chore: remove unity and fetch instead
2026-03-16 15:04:03 +01:00

15 lines
387 B
CMake

cmake_minimum_required(VERSION 3.10)
include(FetchContent)
set(UNITY_VERSION v2.6.1)
FetchContent_Declare(unity
GIT_REPOSITORY https://github.com/ThrowTheSwitch/Unity.git
GIT_TAG ${UNITY_VERSION}
)
FetchContent_MakeAvailable(unity)
add_executable(test_vector test_vector.c)
target_link_libraries(test_vector PRIVATE curtle unity)
add_test(NAME vector_test COMMAND test_vector)