kicad/polygon/CMakeLists.txt

25 lines
571 B
CMake
Raw Normal View History

# .cpp files are compiled with extra ${WSHADOW_FLAGS}
if( COMPILER_SUPPORTS_WSHADOW )
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${WSHADOW_FLAGS}")
endif()
include_directories(BEFORE ${INC_BEFORE})
include_directories(
${INC_AFTER}
)
2008-03-11 15:57:54 +00:00
set(POLYGON_SRCS
math_for_graphics.cpp
PolyLine.cpp
polygon_test_point_inside.cpp
clipper.cpp
./poly2tri/sweep/sweep.cc
./poly2tri/sweep/sweep_context.cc
./poly2tri/sweep/cdt.cc
./poly2tri/sweep/advancing_front.cc
./poly2tri/common/shapes.cc
)
2012-02-08 15:06:06 +00:00
add_library(polygon STATIC ${POLYGON_SRCS})