aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: 3abcb0e4cd3db386a746037ebe3dbf5f19ae8022 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cmake_minimum_required(VERSION 3.5)
project(libnitrokey)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")

set(SOURCE_FILES
    include/command.h
    include/command_id.h
    include/cxx_semantics.h
    include/device.h
    include/device_proto.h
    include/dissect.h
    include/inttypes.h
    include/log.h
    include/misc.h
    include/NitrokeyManager.h
    include/stick10_commands.h
    include/stick20_commands.h
        NK_C_API.h
    command_id.cc
    device.cc
    log.cc
    misc.cc
    NitrokeyManager.cc
        NK_C_API.cc CommandFailedException.cpp include/CommandFailedException.h TooLongStringException.cpp include/TooLongStringException.h InvalidSlotException.h)

add_executable(libnitrokey ${SOURCE_FILES})