You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
323 B
12 lines
323 B
# 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) |
|
|
|
file(GLOB core_src_glob ${PROJ_DIR}/node/*.cpp) |
|
add_library(zerotiercore STATIC ${core_src_glob}) |
|
|
|
target_compile_options(zerotiercore PRIVATE ${ZT_DEFS})
|
|
|