jamfile

来自「boost库提供标准的C++ API 配合dev c++使用,功能更加强大」· 代码 · 共 95 行

TXT
95
字号
# copyright John Maddock 2003

#
# This Jamfile tests the ability of some Windows compilers
# to automatically link to the right lib file,
# it is not generally applicable.
#

subproject libs/regex/test/auto-link-test ;

# bring in the rules for testing
import testing ;

run 
   # sources
   <template>../../build/regex-options
   ../regress/parse.cpp
   ../regress/regress.cpp 
   ../regress/tests.cpp
   <lib>../../../test/build/boost_prg_exec_monitor
:
:  # input files
   ../regress/tests.txt
:  # requirements
   <library-path>../../../../stage/lib
   <define>BOOST_LIB_DIAGNOSTIC=1
:  # program name
   regex_regress
          
;

run 
   # sources
   <template>../../build/regex-options
   ../regress/parse.cpp
   ../regress/regress.cpp 
   ../regress/tests.cpp
   <lib>../../../test/build/boost_prg_exec_monitor
:
:  # input files
   ../regress/tests.txt
:  # requirements
   <library-path>../../../../stage/lib
   <define>TEST_UNICODE=1
   <define>BOOST_LIB_DIAGNOSTIC=1
:  # program name
   wide_regex_regress
          
;

# and now the dll versions:

run 
   # sources
   <template>../../build/regex-options
   ../regress/parse.cpp
   ../regress/regress.cpp 
   ../regress/tests.cpp
   <lib>../../../test/build/boost_prg_exec_monitor
:
:  # input files
   ../regress/tests.txt
:  # requirements
   <library-path>../../../../stage/lib
   <define>BOOST_ALL_DYN_LINK=1
   <runtime-link>dynamic
   <define>BOOST_LIB_DIAGNOSTIC=1
:  # program name
   regex_regress_dll
          
;

run 
   # sources
   <template>../../build/regex-options
   ../regress/parse.cpp
   ../regress/regress.cpp 
   ../regress/tests.cpp
   <lib>../../../test/build/boost_prg_exec_monitor
:
:  # input files
   ../regress/tests.txt
:  # requirements
   <define>BOOST_ALL_DYN_LINK=1
   <runtime-link>dynamic
   <library-path>../../../../stage/lib
   <define>TEST_UNICODE=1
   <define>BOOST_LIB_DIAGNOSTIC=1
:  # program name
   wide_regex_regress_dll
          
;


⌨️ 快捷键说明

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