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

📄 jamfile

📁 C++的一个好库。。。现在很流行
💻
字号:
#  Boost.SmartPtr Library test Jamfile
#
#  Copyright (c) 2003-2005 Peter Dimov
#  Copyright (c) 2003 Dave Abrahams
#
#  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.

subproject libs/smart_ptr/test ;

# bring in rules for testing
import testing ;

# Make tests run by default.
DEPENDS all : smart_ptr ;

{
    test-suite "smart_ptr"
        : [ run smart_ptr_test.cpp ]
          [ run shared_ptr_basic_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ]
          [ run shared_ptr_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ]
          [ run weak_ptr_test.cpp ]
          [ run shared_from_this_test.cpp : : : <gcc><*><cxxflags>-Wno-non-virtual-dtor ]
          [ run get_deleter_test.cpp ]
          [ run intrusive_ptr_test.cpp ]
          [ run intrusive_ptr_test.cpp ]
          [ run atomic_count_test.cpp ]
          [ run lw_mutex_test.cpp ]
          [ compile-fail shared_ptr_assign_fail.cpp ]
          [ compile-fail shared_ptr_delete_fail.cpp ]
        ;
    
    # this one is too slow to run unless explicitly requested, and ALL
    # tests are run by default when this file is subincluded from
    # boost/status, so it's guarded from that case.  It will only be
    # built from this directory when the targets "test" (all tests) or
    # "shared_ptr_alloc_test" are requested.
    if [ in-invocation-subdir ]
    {
        run shared_ptr_alloc_test.cpp ;
    }
}

⌨️ 快捷键说明

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