cmake_minimum_required(VERSION 2.8) project(libpcsc_cpptools) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -pthread -I/usr/include/PCSC") set(SOURCE_FILES DBO/ScCommand.cpp DBO/ScCommand.h DBO/ScByteArray.cpp DBO/ScByteArray.h) add_library(libpcsc_cpptools SHARED ${SOURCE_FILES} DBO/ScByteArray.hxx DBO/ScCommand.hxx)