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

📄 jamroot.jam

📁 Boost provides free peer-reviewed portable C++ source libraries. We emphasize libraries that work
💻 JAM
字号:
# Copyright 2007 Vladimir Prus# Distributed under the Boost Software License, Version 1.0.# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)import common ;import "class" : new ;rule generate-example ( project name : property-set : sources * ){    local result ;    for local s in $(sources)    {    #local ea = [ $(s).action ] ;    #local ep = [ $(ea).properties ] ;    # Create a new action, that takes the source target    # and runs 'common.copy' comamnd on it.        local a  = [       new non-scanning-action $(s) : common.copy : $(property-set) ] ;    local source-name = [ $(s).name ] ;    # Create the target to represent the result of the action.    # The target has the name that was specified in Jamfile    # and passed here via the 'name' parameter,    # and the same type and project as the source.    result += [ new file-target $(name)        : [ $(s).type ]        : $(project)            : $(a) ] ;    }    return $(result) ;}generate a2 : a.cpp : <generating-rule>@generate-example ;

⌨️ 快捷键说明

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