12 lines
358 B
CMake
12 lines
358 B
CMake
cmake_minimum_required(VERSION 3.18)
|
|
|
|
project(gcns VERSION 1.0 DESCRIPTION "Italian healthcare smart card parsing utility")
|
|
|
|
add_library(gcns SHARED gcns.c)
|
|
set_target_properties(gcns PROPERTIES PUBLIC_HEADER gcns.h)
|
|
target_include_directories(gcns PUBLIC ../.. .. .)
|
|
|
|
add_executable(main main.c ../tools/util.c)
|
|
target_link_libraries(main gcns opensc bsd)
|
|
|