You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
624 B
17 lines
624 B
cmake_minimum_required(VERSION 3.15)
|
|
project(ecdaa_issuer C)
|
|
|
|
set(CMAKE_C_STANDARD 11)
|
|
set(ECDAA_AMCL "/opt/amcl")
|
|
|
|
add_executable(ecdaa_issuer issuer.c common.h server.h server.c)
|
|
target_include_directories(ecdaa_issuer PUBLIC
|
|
${ECDAA_AMCL}
|
|
)
|
|
target_link_libraries(ecdaa_issuer /usr/local/lib/libecdaa.so)
|
|
add_executable(ecdaa_member member.c common.h client.h client.c server.h server.c issuer.h)
|
|
target_include_directories(ecdaa_member PUBLIC
|
|
${ECDAA_AMCL}
|
|
)
|
|
target_link_libraries(ecdaa_member /usr/local/lib/libecdaa.so)
|
|
target_link_libraries(ecdaa_member /usr/local/lib/libecdaa-tpm.so)
|
|
|