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

📄 jamroot.jam

📁 Boost provides free peer-reviewed portable C++ source libraries. We emphasize libraries that work
💻 JAM
字号:
# Copyright 2003 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 type ;import generators ;import print ;import virtual-target ;import "class" : new ;import modules ;import targets ;type.register X : x ;class test-target-class : basic-target{    rule __init__ ( name : project )    {        basic-target.__init__ $(name) : $(project) ;    }            rule construct ( source-targets * : property-set )    {        if [ modules.peek : GENERATE_NOTHING ]        {            return ;        }        else if [ modules.peek : GENERATE_ONLY_UNUSABLE ]         {            return [ virtual-target.from-file b.x : $(self.project) ]               ;                     }        else        {                        return [ virtual-target.from-file b.x : $(self.project) ]               [ virtual-target.from-file b.cpp : $(self.project) ]                 ;         }            }        rule compute-usage-requirements ( rproperties : targets * )    {        return [ property-set.create <define>FOO ] ;    }}rule make-b-main-target{    local project = [ CALLER_MODULE ] ;            targets.main-target-alternative       [ new test-target-class b : $(project) ] ;}IMPORT $(__name__) : make-b-main-target : : make-b-main-target ;

⌨️ 快捷键说明

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