mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-09 15:14:02 +00:00
[test] Move self contained headers tests and tweak Jamfile to shorten paths.
This commit is contained in:
parent
840e0a1bc1
commit
d271fde65f
@ -30,9 +30,10 @@ rule generate_self_contained_headers ( headers_subpath )
|
||||
for local file in [ path.glob-tree $(top_headers_path)/$(headers_subpath) : *.hpp ]
|
||||
{
|
||||
local rel_file = [ path.relative-to $(top_headers_path) $(file) ] ;
|
||||
local target_name = [ regex.replace self-contained/$(rel_file) "/" "-" ] ;
|
||||
local target_name = [ regex.replace h/$(rel_file) "/" "-" ] ;
|
||||
local target_name = [ regex.replace $(target_name) "\.hpp" "" ] ;
|
||||
targets += [
|
||||
compile $(BOOST_ROOT)/libs/geometry/test/self_contained_headers/main.cpp
|
||||
compile $(BOOST_ROOT)/libs/geometry/test/headers/main.cpp
|
||||
: <define>"BOOST_GEOMETRY_TEST_HEADER=$(rel_file)" <dependency>$(file)
|
||||
: $(target_name)
|
||||
] ;
|
Loading…
x
Reference in New Issue
Block a user