Subject: [Boost-build] Install question
From: Ian Emmons (iemmons_at_[hidden])
Date: 2011-10-13 13:22:08
Forgive me if I'm treading on old ground here, but I can't figure out how to make "install" do what I want, and the documentation only takes me so far.
A short statement of my problem: An install rule, with the "<install-dependencies>on" feature setting, will install the designated executable and all of its dependent DLLs built within the same project, but will not install dependent DLLs designated by searched-lib targets. I need it to install both.
A more thorough description: I have two jam files, one that builds an executable, and another that builds a DLL. The EXE depends on the DLL, and the DLL depends on several searched-lib targets (including Boost.Regex and Berkeley DB) in my site-config.jam file. In addition, the jam file for the EXE contains an install target.
When I run bjam on the EXE jam file, it builds the DLL and EXE as expected, and copies the EXE and the DLL into the install directory. However, it does not copy the Boost.Regex and Berkeley DB DLLs. I have tried including these features:
I have also tried removing all <install-type> features. Neither approach results in copying the Boost.Regex and Berkeley DB DLLs. I have also tried putting the search-lib targets directly in the EXE's jam file and project to no avail.
Is there a way to get an install target to do what I want?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk