TeaSpeak-Client/native/dist/ext_nan/CMakeLists.txt

16 lines
433 B
CMake
Raw Normal View History

2019-10-25 19:51:40 -04:00
cmake_minimum_required(VERSION 3.1)
project(nan_ext VERSION 1.0.0)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
2019-11-24 10:24:22 -05:00
add_executable(nan_helper_tests test/main.cpp)
add_library(Nan__Helpers INTERFACE)
target_include_directories(Nan__Helpers INTERFACE
include/
#$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/lib1>
#$<INSTALL_INTERFACE:${INSTALL_DI}/lib1>
)
add_library(Nan::Helpers ALIAS Nan__Helpers)