-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCMakeLists.txt
46 lines (37 loc) · 963 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
cmake_minimum_required(VERSION 2.8)
project (ConstrainedDelaunay)
include_directories("./source")
set(CTL_HEADERS
source/BlockList.h
source/CGrid.h
source/ConstraintMap.h
source/ctl.h
source/DelaunayTriangulation.h
source/Edge.h
source/ID.h
source/LocationResult.h
source/QTriangulate.h
source/QuadEdge.h
source/Subdivision.h
source/TIN.h
source/Util.h
source/Vector.h
source/Vertex.h
)
set(CTL_SOURCES
source/CGrid.cpp
source/ConstraintMap.cpp
source/DelaunayTriangulation.cpp
source/Edge.cpp
source/ID.cpp
source/LocationResult.cpp
source/QTriangulate.cpp
source/QuadEdge.cpp
source/Subdivision.cpp
source/TIN.cpp
source/Util.cpp
source/Vector.cpp
source/Vertex.cpp
)
add_executable(simple_example ${CTL_SOURCES} ${CTL_HEADERS} "examples/simple/delaunay_simple.cpp")
add_library(ctltriangulator SHARED ${CTL_SOURCES} ${CTL_HEADERS} "source/DelaunayTriangulationWrapper.cpp")