diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 4e97935c6c..d82005ef6d 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -4,6 +4,20 @@ KiCad ChangeLog 2010 Please add newer entries at the top, list the date and your name with email address. +2010-jul-27, UPDATE Jean-Pierre Charras +================================================================================ +++all: + Updated boost to version 1.34 + Added boost::polygon (experimental) +++pcbnew: + Added experimental zone fill calculations with boost::polygon + old file zones_convert_brd_items_to_polygons.cpp has now 2 versions: + zones_convert_brd_items_to_polygons_with_Boost.cpp use boost::polygon to calculate filled areas + zones_convert_brd_items_to_polygons_with_BKbool.cpp use kbool (code cleaned). + + >>> to use boost polygon version: + call cmake with option: -DUSE_BOOST_POLYGON_LIBRARY=ON + 2010-jul-12, UPDATE Jean-Pierre Charras ================================================================================ ++pcbnew: diff --git a/CMakeLists.txt b/CMakeLists.txt index dea216ca58..ca76476b34 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -24,6 +24,8 @@ option(USE_WX_ZOOM "Use wxDC to perform zooming (default OFF). Warning, this is option(USE_WX_GRAPHICS_CONTEXT "Use wxGraphicsContext for rendering (default OFF). Warning, this is experimental") +option(USE_BOOST_POLYGON_LIBRARY + "Use boost polygon library instead of Kbool to calculate filled areas in zones (default OFF). Warning, this is experimental") #================================================ # Set flags for GCC. @@ -58,6 +60,11 @@ if(USE_WX_GRAPHICS_CONTEXT) add_definitions(-DUSE_WX_GRAPHICS_CONTEXT) endif(USE_WX_GRAPHICS_CONTEXT) +if(USE_BOOST_POLYGON_LIBRARY) + set( USE_BOOST_POLYGON_LIBRARY ON ) + add_definitions(-DUSE_BOOST_POLYGON_LIBRARY) +endif(USE_WX_GRAPHICS_CONTEXT) + # Locations for install targets. set(KICAD_BIN bin CACHE PATH "Location of KiCad binaries.")