|
Boost-Build : |
From: Tim St. Clair (timothysc_at_[hidden])
Date: 2007-09-05 10:21:44
Folks -
I was curious about an extra link step on my install target which
are dependent on exe targets. I noticed that my in my other examples
when my install target is based on a shared library it simply performs
a common.copy, but for some reason the install for an exe does not
behave the same way. Is there something that I'm missing...
Proto example below:
project example
: requirements
<include>./include
: usage-requirements
<include>./include
;
lib SharedSrc : src/SharedSrc.cpp : <link>static ;
## build target
exe example : src/main.
SharedSrc/<link>static
/boost/filesystem//boost_filesystem
/boost/serialization//boost_serialization
/boost/program_options//boost_program_options
/boost/thread//boost_thread ;
install install-example : example
: <variant>release:<location>/example/release/bin
<variant>debug:<location>/example/debug/bin ;
unit-test node-test : [ glob src/test/*.cpp ] SharedSrc/<link>static
/boost/filesystem//boost_filesystem
/boost/serialization//boost_serialization
/boost/program_options//boost_program_options
/boost/thread//boost_thread
/boost/test//boost_unit_test_framework ;
explicit install install-example ;
-- Regards, Timothy St. Clair [timothysc_at_[hidden]]
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