diff --git a/tools/regression/build/Jamroot.jam b/tools/regression/build/Jamroot.jam index 46719d41f88..7ba2abae6c3 100644 --- a/tools/regression/build/Jamroot.jam +++ b/tools/regression/build/Jamroot.jam @@ -4,7 +4,7 @@ # Distributed under the Boost Software License, Version 1.0. # See http://www.boost.org/LICENSE_1_0.txt - + if [ glob ../../../boost-build.jam ] { @@ -16,28 +16,30 @@ else use-project /boost : [ MATCH --boost=(.*) : [ modules.peek : ARGV ] ] ; } +local source_location ; if ! [ glob ../src/process_jam_log.cpp ] { - project boost/regression - : - source-location .. - ; + source_location = .. ; } else { - project boost/regression - : - source-location ../src - ; + source_location = ../src ; } +project boost/regression + : + source-location $(source_location) + : + requirements + /boost//headers + ; + obj tiny_xml : detail/tiny_xml.cpp : BOOST_ALL_NO_LIB=1 _CRT_SECURE_NO_WARNINGS - /boost//headers : release ; @@ -51,7 +53,6 @@ exe process_jam_log : BOOST_ALL_NO_LIB=1 _CRT_SECURE_NO_WARNINGS - /boost//headers : release ; @@ -64,7 +65,6 @@ exe compiler_status /boost/filesystem//boost_filesystem/static : BOOST_ALL_NO_LIB=1 - /boost//headers : release ; @@ -77,7 +77,6 @@ exe library_status /boost/filesystem//boost_filesystem/static : BOOST_ALL_NO_LIB=1 - /boost//headers : release ; @@ -94,7 +93,6 @@ exe boost_report /boost//iostreams/static : BOOST_ALL_NO_LIB=1 - /boost//headers : release ;