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

📄 test_nt_line_length.jam

📁 C++的一个好库。。。现在很流行
💻 JAM
字号:
# (C) Copyright David Abrahams 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.

# Test that the patch which allows long command-lines in actions on NT is
# working. For reasons of backward-compatibility, this patch requires that the
# action fits on a single command-line, and that the JAMSHELL variable on the
# target being built is set to "%".
if $(NT)
{
    #
    # Build a really long commandline. (> 10K characters).
    #
    ten = 0 1 2 3 4 5 6 7 8 9 ;
    1x7chars = 0_____ ;
    # add a digit and multiply by 10
    10x8chars = $(ten)$(1x7chars) ;
    # add a digit to each of 10 strings and multiply by 10
    100x9chars = $(ten)$(10x8chars) ;
    # add a digit to each of 100 strings and multiply by 10
    1000x10chars = $(ten)$(100x9chars) ;

    #
    # Cause line_length_test to be built
    #
    actions do_echo
    {
        echo $(text)
    }

    400x10chars = $(ten[1-4])$(100x9chars) ;

    text on line_length_test = $(400x10chars) 40$(10x8chars[1-9]) 01234 ;
    text on line_length_test = $(1000x10chars) $(1000x10chars) ;
    JAMSHELL on line_length_test = % ;
    DEPENDS all : line_length_test ;

    do_echo line_length_test ;
}

⌨️ 快捷键说明

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