|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52445 - sandbox/task/libs/task/build
From: oliver.kowalke_at_[hidden]
Date: 2009-04-17 12:17:10
Author: olli
Date: 2009-04-17 12:17:09 EDT (Fri, 17 Apr 2009)
New Revision: 52445
URL: http://svn.boost.org/trac/boost/changeset/52445
Log:
* moved sources from threadpool
Added:
sandbox/task/libs/task/build/
sandbox/task/libs/task/build/Jamfile.v2 (contents, props changed)
Added: sandbox/task/libs/task/build/Jamfile.v2
==============================================================================
--- (empty file)
+++ sandbox/task/libs/task/build/Jamfile.v2 2009-04-17 12:17:09 EDT (Fri, 17 Apr 2009)
@@ -0,0 +1,73 @@
+# Boost System Library Build Jamfile
+
+# (C) Copyright Oliver Kowalke 2009
+
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt)
+
+# See library home page at http://www.boost.org/libs/system
+
+import os ;
+import feature ;
+import indirect ;
+import path ;
+
+project boost/tp
+ : source-location ../src
+ <link>shared:<define>BOOST_TASK_DYN_LINK=1
+ <link>static:<define>BOOST_TASK_STATIC_LINK=1
+ ;
+
+local rule default_taskapi ( )
+{
+ local api = posix ;
+ if [ os.name ] = "NT" { api = win32 ; }
+ return $(api) ;
+}
+
+feature.feature taskapi : posix win32 : propagated ;
+feature.set-default taskapi : [ default_taskapi ] ;
+
+alias task_sources
+ : ## win32 sources ##
+ callable.cpp
+ default_pool.cpp
+ guard.cpp
+ interrupter.cpp
+ poolsize.cpp
+ scanns.cpp
+ semaphore_windows.cpp
+ watermark.cpp
+ worker.cpp
+ worker_group.cpp
+ wsq.cpp
+ : ## requirements ##
+ <taskapi>win32
+ ;
+
+alias task_sources
+ : ## posix sources ##
+ callable.cpp
+ default_pool.cpp
+ guard.cpp
+ interrupter.cpp
+ poolsize.cpp
+ scanns.cpp
+ semaphore_posix.cpp
+ watermark.cpp
+ worker.cpp
+ worker_group.cpp
+ wsq.cpp
+ : ## requirements ##
+ <taskapi>posix
+ ;
+
+explicit task_sources ;
+
+lib boost_task
+ : task_sources
+ : <link>shared:<define>BOOST_TASK_DYN_LINK=1
+ <link>static:<define>BOOST_TASK_STATIC_LINK=1
+ ;
+
+boost-install boost_task ;
Boost-Commit 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