| Line | |
|---|
| 1 | # Boost.Signals Library |
|---|
| 2 | |
|---|
| 3 | # Copyright Douglas Gregor 2001-2003. Use, modification and |
|---|
| 4 | # distribution is subject to the Boost Software License, Version |
|---|
| 5 | # 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
|---|
| 6 | # http://www.boost.org/LICENSE_1_0.txt) |
|---|
| 7 | |
|---|
| 8 | # For more information, see http://www.boost.org |
|---|
| 9 | |
|---|
| 10 | # declare the location of this subproject relative to the root |
|---|
| 11 | subproject libs/signals/build ; |
|---|
| 12 | |
|---|
| 13 | # |
|---|
| 14 | # this template defines the options common to |
|---|
| 15 | # all signals builds and tests: |
|---|
| 16 | # |
|---|
| 17 | template signals-options |
|---|
| 18 | : # sources |
|---|
| 19 | : # requirements |
|---|
| 20 | <define>BOOST_SIGNALS_NO_LIB=1 |
|---|
| 21 | <sysinclude>$(BOOST_ROOT) |
|---|
| 22 | ; |
|---|
| 23 | |
|---|
| 24 | # |
|---|
| 25 | # this template defines the options common to |
|---|
| 26 | # all signals dll builds and tests: |
|---|
| 27 | # |
|---|
| 28 | template signals-dll-options |
|---|
| 29 | : <template>signals-options # sources |
|---|
| 30 | : # requirements |
|---|
| 31 | <define>BOOST_SIGNALS_DYN_LINK=1 |
|---|
| 32 | <runtime-link>dynamic |
|---|
| 33 | ; |
|---|
| 34 | |
|---|
| 35 | SOURCES = trackable connection named_slot_map signal_base slot ; |
|---|
| 36 | |
|---|
| 37 | lib boost_signals : ../src/$(SOURCES).cpp <template>signals-options |
|---|
| 38 | : |
|---|
| 39 | [ common-names ] |
|---|
| 40 | : |
|---|
| 41 | debug release |
|---|
| 42 | ; |
|---|
| 43 | |
|---|
| 44 | |
|---|
| 45 | dll boost_signals : ../src/$(SOURCES).cpp <template>signals-dll-options |
|---|
| 46 | : |
|---|
| 47 | [ common-names ] |
|---|
| 48 | : |
|---|
| 49 | debug release |
|---|
| 50 | ; |
|---|
| 51 | |
|---|
| 52 | stage stage/lib : <lib>boost_signals <dll>boost_signals |
|---|
| 53 | : |
|---|
| 54 | <locate>$(BOOST_ROOT) |
|---|
| 55 | [ common-names ] |
|---|
| 56 | <target>stage |
|---|
| 57 | <target>all |
|---|
| 58 | : |
|---|
| 59 | debug release |
|---|
| 60 | ; |
|---|
| 61 | |
|---|
| 62 | install signals lib |
|---|
| 63 | : <dll>boost_signals <lib>boost_signals |
|---|
| 64 | ; |
|---|
Note: See
TracBrowser
for help on using the repository browser.