Move inter-lib dependencies to a project variable and into the build targets.

This commit is contained in:
Rene Rivera
2024-07-23 22:34:22 -05:00
parent f728b3a35a
commit 2aa00df18f
2 changed files with 9 additions and 3 deletions
+6 -3
View File
@@ -5,11 +5,13 @@
require-b2 5.2 ;
constant boost_dependencies :
/boost/config//boost_config
/boost/io//boost_io
/boost/predef//boost_predef ;
project /boost/timer
: common-requirements
<library>/boost/config//boost_config
<library>/boost/io//boost_io
<library>/boost/predef//boost_predef
<include>include
;
@@ -21,3 +23,4 @@ explicit
call-if : boost-library timer
: install boost_timer
;
+3
View File
@@ -9,6 +9,9 @@
SOURCES = auto_timers_construction cpu_timer ;
project
: common-requirements <library>$(boost_dependencies) ;
lib boost_timer
: ../src/$(SOURCES).cpp
: # requirements