19 lines
365 B
CMake
19 lines
365 B
CMake
cmake_minimum_required(VERSION 3.29)
|
|
|
|
project(skopy-tests)
|
|
|
|
add_executable(skopy-tests
|
|
main.c
|
|
)
|
|
|
|
set_property(TARGET skopy-tests PROPERTY C_STANDARD 99)
|
|
add_dependencies(skopy-tests skopy-lib)
|
|
|
|
find_package(PkgConfig)
|
|
pkg_check_modules(CUNIT cunit REQUIRED IMPORTED_TARGET)
|
|
|
|
target_link_libraries(skopy-tests
|
|
PUBLIC skopy-lib
|
|
PRIVATE PkgConfig::CUNIT
|
|
)
|