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.
21 lines
373 B
21 lines
373 B
|
|
cmake_minimum_required(VERSION 2.6)
|
|
|
|
project(KeyASample)
|
|
|
|
find_library(KEYAC keyac)
|
|
find_library(KEYA keya)
|
|
|
|
set(cppdongle_sources Ne-code.cpp)
|
|
|
|
set(cppdongle_headers )
|
|
|
|
set(KEYA_LIB_DIR ${CMAKE_SOURCE_DIR}/lib/)
|
|
|
|
|
|
link_directories(${KEYA_LIB_DIR})
|
|
|
|
add_executable(run-keya2 ${cppdongle_sources} ${cppdongle_headers})
|
|
target_link_libraries(run-keya2 keya keyac pthread)
|
|
|
|
|