mirror of
https://github.com/boostorg/thread.git
synced 2026-01-23 06:02:14 +00:00
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
# Copyright (C) 2001-2003
|
|
# William E. Kempf
|
|
#
|
|
# Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
#
|
|
# Boost.Threads tutorial Jamfile
|
|
#
|
|
# Additional configuration variables used:
|
|
# 1. PTW32 may be used on Win32 platforms to specify that the pthreads-win32
|
|
# library should be used instead of "native" threads. This feature is
|
|
# mostly used for testing and it's generally recommended you use the
|
|
# native threading libraries instead. PTW32 should be set to be a list
|
|
# of two strings, the first specifying the installation path of the
|
|
# pthreads-win32 library and the second specifying which library
|
|
# variant to link against (see the pthreads-win32 documentation).
|
|
# Example: jam -sPTW32="c:\pthreads-win32 pthreadVCE.lib"
|
|
|
|
project
|
|
: requirements <library>/boost/thread//boost_thread
|
|
<threading>multi
|
|
;
|
|
|
|
exe helloworld : helloworld.cpp ;
|
|
exe helloworld2 : helloworld2.cpp ;
|
|
exe helloworld3 : helloworld3.cpp ;
|
|
exe helloworld4 : helloworld4.cpp ;
|
|
exe factorial : factorial.cpp ;
|
|
exe factorial2 : factorial2.cpp ;
|
|
exe factorial3 : factorial3.cpp ;
|
|
exe counter : counter.cpp ;
|
|
exe bounded_buffer : bounded_buffer.cpp ;
|
|
exe once : once.cpp ;
|
|
|