blob: f3f8d024a2affff1ce6e1990ca43f30e1df20400 (
plain)
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
|
project(glu-libtess)
cmake_minimum_required(VERSION 2.6)
add_library(glu-libtess STATIC
src/dict-list.h
src/dict.c
src/dict.h
src/geom.c
src/geom.h
src/gluos.h
src/memalloc.c
src/memalloc.h
src/mesh.c
src/mesh.h
src/normal.c
src/normal.h
src/priorityq.c
src/priorityq.h
src/priorityq-heap.h
src/priorityq-sort.h
src/render.c
src/render.h
src/sweep.c
src/sweep.h
src/tess.c
src/tess.h
src/tessmono.c
src/tessmono.h
include/glu-libtess.h
)
if(UNIX)
target_link_libraries(glu-libtess m)
endif(UNIX)
target_include_directories(glu-libtess PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|