| Line | |
|---|
| 1 | import os ; |
|---|
| 2 | |
|---|
| 3 | if [ os.name ] = NT |
|---|
| 4 | { |
|---|
| 5 | reqts = <link>shared:<define>BOOST_THREAD_BUILD_DLL=1 ; |
|---|
| 6 | } |
|---|
| 7 | else |
|---|
| 8 | { |
|---|
| 9 | # Declare the uses system library |
|---|
| 10 | lib pthread : : <name>pthread ; |
|---|
| 11 | usage = <library>pthread ; |
|---|
| 12 | } |
|---|
| 13 | |
|---|
| 14 | project boost/thread |
|---|
| 15 | : source-location ../src |
|---|
| 16 | : usage-requirements $(usage) |
|---|
| 17 | : requirements $(reqts) <threading>multi |
|---|
| 18 | : default-build <threading>multi |
|---|
| 19 | ; |
|---|
| 20 | |
|---|
| 21 | CPP_SOURCES = condition mutex recursive_mutex thread xtime once |
|---|
| 22 | exceptions barrier tss tss_hooks tss_dll tss_pe ; |
|---|
| 23 | |
|---|
| 24 | lib boost_thread |
|---|
| 25 | : $(CPP_SOURCES).cpp |
|---|
| 26 | ; |
|---|
Note: See
TracBrowser
for help on using the repository browser.