Update Jamfile to generate dependencies

This commit is contained in:
Peter Dimov
2017-06-24 03:44:04 +03:00
parent dca0d13ca9
commit d426b95281
2 changed files with 21 additions and 0 deletions

View File

@@ -2,3 +2,19 @@
install BoostVersion_ : ../../../BoostVersion.cmake : <location>. ;
install default_ : ../../../cmake/default.cmake : <location>. ;
# Update dependencies
import path ;
path-constant LIBDIR : .. ;
actions boostdep-cmake
{
"$(LIBDIR)/../../dist/bin/boostdep" --cmake $(LIBDIR:B) > $(1)
}
make dependencies.cmake : : @boostdep-cmake ;
always dependencies.cmake ;
install dependencies_ : dependencies.cmake : <location>. ;

View File

@@ -0,0 +1,5 @@
# Generated file. Do not edit.
boost_declare_dependency(boost_assert PUBLIC boost::assert)
boost_declare_dependency(boost_config PUBLIC boost::config)