Add simple CMakeLists.txt

This commit is contained in:
Jan Niklas Hasse 2018-08-13 14:46:34 +02:00
parent a9d2cf8636
commit 0105437ff3

8
CMakeLists.txt Normal file
View File

@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 3.6)
project(poly2tri LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 14)
file(GLOB SOURCES poly2tri/common/*.cc poly2tri/sweep/*.cc)
add_library(poly2tri ${SOURCES})
target_include_directories(poly2tri INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})