⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jamfile

📁 boost库提供标准的C++ API 配合dev c++使用,功能更加强大
💻
字号:
#  (C) Copyright William E. Kempf 2001. Permission to copy, use, modify,
#  sell and distribute this software is granted provided this copyright
#  notice appears in all copies. This software is provided "as is" without
#  express or implied warranty, and with no claim as to its suitability for
#  any purpose.
#
# Boost.Threads build 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"

# Declare the location of this subproject relative to the root.
subproject libs/thread/build ;

# Include threads.jam for Boost.Threads global build information.
# This greatly simplifies the Jam code needed to configure the build
# for the various Win32 build types.
import ./threads ;

{
    template thread_libs
        ## sources ##
        : <template>thread_base
        ## requirements ##
        : <sysinclude>$(BOOST_ROOT)
        ## default build ##
        : debug release
    ;

    # Base names of the source files for libboost_thread.
    CPP_SOURCES = condition mutex recursive_mutex thread tss xtime once
                  exceptions threadmon ;

    dll boost_thread
        : <template>thread_libs ../src/$(CPP_SOURCES).cpp
        : <define>BOOST_THREAD_BUILD_DLL=1
          <runtime-link>dynamic
         # the common names rule ensures that the library will
         # be named according to the rules used by the install
         # and auto-link features:
         common-variant-tag 
    ;

    stage bin-stage
        : <dll>boost_thread
        : #<tag><runtime-link-static>"s"
          <tag><debug>"d"
        : debug release
    ;

    install thread lib
        : <dll>boost_thread
    ;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -