mirror of
https://github.com/boostorg/polygon.git
synced 2026-07-21 13:33:42 +00:00
Merge pull request #93 from grafikrobot/modular
Add support for modular build structure.
This commit is contained in:
-20
@@ -1,20 +0,0 @@
|
||||
# Boost Build v2 Jamroot for Polygon unit
|
||||
#
|
||||
# Copyright 2010 Intel Corporation
|
||||
#
|
||||
# Use, modification and distribution is subject to the Boost Software License,
|
||||
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
|
||||
# http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
project
|
||||
: requirements
|
||||
<warnings>all
|
||||
<toolset>intel:<warnings>on
|
||||
<toolset>intel-win:<cxxflags>"/bigobj"
|
||||
<toolset>gcc:<cxxflags>"-pedantic -Wall -Wstrict-aliasing -fstrict-aliasing -Wno-long-long"
|
||||
<toolset>msvc:<cxxflags>"/W4 /bigobj"
|
||||
<include>../..
|
||||
<include>.
|
||||
;
|
||||
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
# Copyright René Ferdinand Rivera Morell 2023-2024
|
||||
# Distributed under the Boost Software License, Version 1.0.
|
||||
# (See accompanying file LICENSE_1_0.txt or copy at
|
||||
# http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
require-b2 5.2 ;
|
||||
|
||||
constant boost_dependencies :
|
||||
/boost/config//boost_config ;
|
||||
|
||||
project /boost/polygon
|
||||
;
|
||||
|
||||
explicit
|
||||
[ alias boost_polygon : : :
|
||||
: <include>include <library>$(boost_dependencies) ]
|
||||
[ alias all : boost_polygon test ]
|
||||
;
|
||||
|
||||
call-if
|
||||
: boost-library polygon
|
||||
;
|
||||
@@ -8,6 +8,18 @@
|
||||
|
||||
import testing ;
|
||||
|
||||
project
|
||||
: requirements
|
||||
<library>/boost/core//boost_core
|
||||
<library>/boost/random//boost_random
|
||||
|
||||
<warnings>all
|
||||
<toolset>intel:<warnings>on
|
||||
<toolset>intel-win:<cxxflags>"/bigobj"
|
||||
<toolset>gcc:<cxxflags>"-pedantic -Wall -Wstrict-aliasing -fstrict-aliasing -Wno-long-long"
|
||||
<toolset>msvc:<cxxflags>"/W4 /bigobj"
|
||||
;
|
||||
|
||||
run polygon_point_test.cpp ;
|
||||
run polygon_segment_test.cpp ;
|
||||
run polygon_interval_test.cpp ;
|
||||
|
||||
Reference in New Issue
Block a user