jamfile.v2

来自「C++的一个好库。。。现在很流行」· V2 代码 · 共 21 行

V2
21
字号

# bring in the rules for testing
import testing ;

# type_traits in V1 seem to have two modes: standalone, triggered
# by a command line option, and a regular. For now, just imitate
# regular               

rule all-tests {
     local result ;
     for local source in [ glob *_test.cpp ] udt_specialisations.cpp
     {
         result += [ run $(source) ] ;
     }
     return $(result) ;     
}
            
test-suite type_traits : [ all-tests ] ;


⌨️ 快捷键说明

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