2017-02-23 10:40:40 +00:00
|
|
|
# .cpp files are compiled with extra ${WSHADOW_FLAGS}
|
|
|
|
if( COMPILER_SUPPORTS_WSHADOW )
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WSHADOW_FLAGS}")
|
|
|
|
endif()
|
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
|
|
|
polygon_test_point_inside.cpp
|
2012-08-04 09:43:27 +00:00
|
|
|
clipper.cpp
|
2013-09-13 13:28:20 +00:00
|
|
|
)
|
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
|
|
|
|
2019-01-31 11:53:01 +00:00
|
|
|
target_include_directories( polygon PUBLIC
|
|
|
|
include
|
|
|
|
)
|