mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-20 05:28:01 +00:00
Added CMake build script for libzerotiercore.a
This commit is contained in:
parent
e4a10cc510
commit
cba65d897a
12
CMakeLists.txt
Normal file
12
CMakeLists.txt
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# CMake build script for libzerotiercore.a
|
||||||
|
|
||||||
|
cmake_minimum_required (VERSION 2.8)
|
||||||
|
project (zerotiercore)
|
||||||
|
|
||||||
|
set (PROJ_DIR ${PROJECT_SOURCE_DIR})
|
||||||
|
set (ZT_DEFS -std=c++11 "-DZT_SDK=1")
|
||||||
|
|
||||||
|
file(GLOB core_src_glob ${PROJ_DIR}/node/*.cpp)
|
||||||
|
add_library(zerotiercore STATIC ${core_src_glob})
|
||||||
|
|
||||||
|
target_compile_options(zerotiercore PRIVATE ${ZT_DEFS})
|
Loading…
Reference in New Issue
Block a user