19 lines
403 B
CMake
19 lines
403 B
CMake
cmake_minimum_required(VERSION 3.16)
|
|
|
|
project(protocol LANGUAGES CXX)
|
|
set(CMAKE_CXX_STANDARD 11)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
|
|
set(PSOURCES
|
|
filebase.h
|
|
filebase.cxx
|
|
communicate.h
|
|
communicate.cxx
|
|
fileimp/localfile.h
|
|
fileimp/localfile.cxx
|
|
fileimp/remotefile.h
|
|
fileimp/remotefile.cxx
|
|
)
|
|
|
|
add_library(protocol STATIC ${PSOURCES})
|
|
target_include_directories(protocol PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) |