2012-01-23 04:33:36 +00:00
|
|
|
|
|
|
|
include_directories(BEFORE ${INC_BEFORE})
|
|
|
|
include_directories(
|
|
|
|
${INC_AFTER}
|
|
|
|
)
|
|
|
|
|
2008-03-11 15:57:54 +00:00
|
|
|
set(POLYGON_SRCS
|
2008-01-30 09:42:19 +00:00
|
|
|
math_for_graphics.cpp
|
2008-10-11 19:27:43 +00:00
|
|
|
PolyLine.cpp
|
|
|
|
polygon_test_point_inside.cpp
|
2012-08-04 09:43:27 +00:00
|
|
|
clipper.cpp
|
2013-09-13 13:28:20 +00:00
|
|
|
|
|
|
|
poly2tri/common/shapes.cc
|
|
|
|
poly2tri/sweep/sweep.cc
|
|
|
|
poly2tri/sweep/cdt.cc
|
|
|
|
poly2tri/sweep/advancing_front.cc
|
|
|
|
poly2tri/sweep/sweep_context.cc
|
|
|
|
)
|
2007-12-30 03:30:34 +00:00
|
|
|
|
2012-02-08 15:06:06 +00:00
|
|
|
add_library(polygon STATIC ${POLYGON_SRCS})
|
2014-02-19 21:39:21 +00:00
|
|
|
|
|
|
|
add_dependencies( polygon lib-dependencies )
|
|
|
|
|