21 lines
408 B
CMake
21 lines
408 B
CMake
|
|
include_directories(BEFORE ${INC_BEFORE})
|
|
include_directories(
|
|
${INC_AFTER}
|
|
)
|
|
|
|
set(POLYGON_SRCS
|
|
math_for_graphics.cpp
|
|
PolyLine.cpp
|
|
polygon_test_point_inside.cpp
|
|
clipper.cpp
|
|
|
|
poly2tri/common/shapes.cc
|
|
poly2tri/sweep/sweep.cc
|
|
poly2tri/sweep/cdt.cc
|
|
poly2tri/sweep/advancing_front.cc
|
|
poly2tri/sweep/sweep_context.cc
|
|
)
|
|
|
|
add_library(polygon STATIC ${POLYGON_SRCS})
|