mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-19 21:17:52 +00:00
18 lines
281 B
CMake
18 lines
281 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
project(zt_service)
|
|
|
|
if(WIN32)
|
|
add_definitions(-DNOMINMAX)
|
|
endif(WIN32)
|
|
|
|
set(src
|
|
OneService.cpp
|
|
)
|
|
|
|
set(headers
|
|
OneService.hpp
|
|
)
|
|
|
|
add_library(${PROJECT_NAME} STATIC ${src} ${headers})
|
|
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_11)
|