亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? stage.jam

?? boost庫提供標準的C++ API 配合dev c++使用,功能更加強大
?? JAM
字號:
#  Copyright (C) Vladimir Prus 2002. 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.

#  This module defines the 'stage' rule, used to copy a set of targets to
#  a single location
#
#  Typical usage:
#
#  stage dist : hello_world : <location>/usr/bin ;
#
#  The source target will be copied to the specified location. Some targets will
#  we specially processed. In particular, binaries will be relinked. Free properties
#  from stage dist will be included to properties used for relinking. For example
#
#  stage dist : hello_world : <location>/usr/bin <dll-path>/opt/lib ;
# 
#  will cause 'hello_world' to be relinked to the new location, and <dll-path>
#  property will be added when relinking.
#
#  Two properties specifically control 'stage' rule.
# 
#  - <location> tells where to put targets. If not specified, directory
#    with the same name as stage name will be used.
#  
#  - <name> tells the new name of the staged target. In this case, only
#    one target can be specified in sources.
#
#  The stage rule can also traverse dependencies, for example to install a
#  program an all required libraries. Two properties affect this.
#
#  - <traverse-dependencies>on tells that dependencies should be traversed.
#    For each target in 'stage' sources, all sources to that target and all
#    dependency properties are traversed. Sources and dependecy properties of
#    those target are traversed recursively.
#
#  - <include-type>SOME_TYPE tells that targets of SOME_TYPE or a type derived
#    from SOME_TYPE, should be included.
#    If no such property is specified, then all found targets will be staged.
#    Otherwise, only targets with types mentioned in <include-type> property
#    will be included.
#    
#    Example usage::
#
#      stage dist : hello_world : 
#        <traverse-dependencies>on <include-type>EXE <include-type>SHARED_LIB ;
#

import targets ;
import "class" : new ;
import property ;
import errors : error ;
import type : type ;
import type ;
import regex ;
import generators ;
import feature ;

feature.feature <traverse-dependencies> : off on : incidental ;
feature.feature <include-type> : : free incidental ;

class stage-target-class : basic-target
{
    import feature project type errors generators ;    
    import "class" : new ;
    
    rule __init__ ( name-and-dir : project : sources * : requirements * : default-build * )
    {
        basic-target.__init__ $(name-and-dir) : $(project) : $(sources) : $(requirements) 
          : $(default-build) ;
    }

    # If <location> is not set, sets it based on the project data.
    rule update-location ( property-set )
    {
        local loc = [ $(property-set).get <location> ] ;
        if ! $(loc)
        {
            loc = [ project.path-relative-to-project-location $(self.name)
              $(self.project) ] ;

            property-set = [ $(property-set).add-raw $(loc:G=<location>) ] ;
        }
        
        return $(property-set) ;
    }
        
    # Constructs the targets of types for which a type exists
    # with the form STAGED_*.
    rule construct-special-targets ( property-set : source : type )
    {
        local targets = [ generators.construct $(self.project) : $(type) :
            $(property-set) : $(source) : * ] ;

        return $(targets) ;
    }
    
    # Constructs the targets of types for which there is no STAGED_* type.
    rule construct-regular-targets ( property-set : source )
    {
        local n = [ $(source).name ] ;
        if $(name)
        {
            n = $(name) ;
        }
        
        targets = [ new file-target $(n:D=) : [ $(source).type ] 
            : $(self.project) ] ;
        local a = [ $(source).action ] ;
        local new-a ;
        if $(a)
        {                    
            # Copy the properties of original target. They, in particular
            # can affect the suffix of the target.
            new-a = [ new action $(targets) : $(source) : common.copy : [ $(a).properties ] ] ;
        }
        else
        {
            new-a = [ new action $(targets) : $(source) : common.copy ] ;
        }                                
        $(targets).suffix [ $(source).suffix ] ;
        $(targets).action $(new-a) ;
    
        return $(targets) ;
    }
    
    rule construct ( source-targets * : property-set )
    {
        local name = [ $(property-set).get <name> ] ;
        if $(name) && $(source-targets[2])
        {
            errors.error "<name> property cannot be specified when staging several targets" ;
        }
        
        if [ $(property-set).get <traverse-dependencies> ] = "on"
        {
            source-targets = [ collect-targets $(source-targets) 
              : [ $(property-set).get <include-type> ] ] ;
        }


        property-set = [ update-location $(property-set) ] ;          
        local include-types = [ $(property-set).get <include-type> ] ;
        
        local result ;
        for local i in $(source-targets)
        {
            if [ $(i).type ] != SEARCHED_LIB
            {
                local staged-targets ;
                
                local t = [ $(i).type ] ;
                
                # See if something special should be done when staging this
                # type. It is indicated by presense of special "staged" type            
                if $(t) && [ type.registered STAGED_$(t) ]
                {
                    staged-targets = [ construct-special-targets $(property-set) : $(i) : STAGED_$(t) ] ;
                }
                else             
                {                
                    staged-targets = [ construct-regular-targets $(property-set) : $(i) ] ;
                }
                
                if ! $(staged-targets)
                {                    
                    errors.error "Unable to generate staged version of " [ $(source).str ] ;
                }                

                for t in [ select-included $(staged-targets) : $(include-types) ]
                {
                    $(t).set-path [ $(property-set).get <location> ] ;
                    result += [ virtual-target.register $(t) ] ;          
                }            
            }            
        }
        
        return $(result) ;
    }   
    
    rule select-included ( source-targets * : types-to-include * )
    {
        local result-targets ;
        if $(types-to-include)
        {            
            for local r in $(source-targets)
            {
                local ty = [ $(r).type ] ;        
                if $(ty)
                {
                    if [ include-type $(ty) : $(types-to-include) ]                  
                    {
                        result-targets += $(r) ;
                    }                
                }           
            }
        }
        else
        {
            result-targets = $(source-targets) ;
        }
        
        
        return $(result-targets) ;
    }
    
    rule collect-targets ( targets * : types-to-include * )
    {
        # Find subvariants
        local s ;        
        for local t in $(targets)
        {
            s += [ $(t).creating-subvariant ] ;
        }
        s = [ sequence.unique $(s) ] ;
        
        local result = $(targets) ;
        for local i in $(s)
        {
            result += [ $(i).all-referenced-targets ] ;
        }
        result = [ sequence.unique $(result) ] ;        
    }
        
    # Don't do nothing.
    rule check-for-unused-sources ( result * : sources * )
    {        
    }
    
    rule check-for-link-compatibility ( * : * )
    {
    }
        
    # Returns true iff 'type' is subtype of some element of 'types-to-include'.
    local rule include-type ( type : types-to-include * )
    {
        local found ;
        while $(types-to-include) && ! $(found)
        {
            if [ type.is-subtype $(type) $(types-to-include[1]) ]
            {
                found = true ;
            }            
            types-to-include = $(types-to-include[2-]) ;
        }
        
        return $(found) ;
    }
    
    
}

# Declare staged version of the EXE type. Generator for this type will
# cause relinking to the new location.
type.register STAGED_EXE : : EXE ;

class stage-exe-generator : generator
{
    import type property-set modules ;    
    
    rule __init__ ( )
    {
        generator.__init__ stage-exe : EXE : STAGED_EXE ;
    }
    
    rule run ( project name ? : property-set : source : multiple ? )
    {
        local action = [ $(source).action ] ;
                       
        # stage can affect the relinking details.
        local ps = [ $(action).properties ] ;
        local new-ps = [ $(ps).add [ property-set.create [ $(property-set).free ] ] ] ;
        
        local cloned-action = [ virtual-target.clone-action $(action) : $(project) :
          "" : $(new-ps) ] ;
        local result = [ $(cloned-action).targets ] ;                        

        return $(result) ;
    }    
}

generators.register [ new stage-exe-generator ] ;



# Declares a stage target. When build, it will construct all sources
# and place in one directory. The directory can be specified in requirements
# with 'location' property. If not specified, the directory name will be
# the same as target name, relative to the project where the target 
# is declared.
rule stage ( name : sources * : requirements * : default-build * )
{
    local project = [ CALLER_MODULE ] ;
    
    targets.main-target-alternative
      [ new stage-target-class $(name) : $(project) : $(sources)
        : [ targets.main-target-requirements $(requirements) : $(project) ] 
        : [ targets.main-target-default-build $(default-build) : $(project) ] 
      ] ;
}

IMPORT $(__name__) : stage : : stage ;



?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜久久久久久电影| 精品播放一区二区| 国产精品二三区| 99这里都是精品| 亚洲午夜久久久久久久久电影院 | 亚洲色图20p| 欧美在线free| 国产一区二区成人久久免费影院| 国产精品久久久久一区二区三区 | 久久网站热最新地址| 99久久精品国产毛片| 午夜精品一区二区三区电影天堂| 午夜精品123| 亚洲国产cao| 肉肉av福利一精品导航| 久久精品免视看| 欧美日韩一区二区在线观看| 韩国成人在线视频| 夜夜夜精品看看| 国产精品欧美一级免费| 欧美高清一级片在线| 成人高清视频在线观看| 久草在线在线精品观看| 亚洲图片有声小说| 日韩精品免费视频人成| 精品一区二区久久久| 成人午夜视频在线| 精品亚洲porn| 成人久久视频在线观看| 在线亚洲一区观看| 99精品一区二区三区| 在线观看网站黄不卡| 91精品国产欧美一区二区| 欧美性一级生活| 色婷婷综合久久久久中文一区二区 | 国产精品视频线看| 亚洲老妇xxxxxx| 精品国产一区二区三区久久久蜜月| 精品欧美黑人一区二区三区| 69av一区二区三区| 欧美欧美欧美欧美首页| 欧美日韩综合不卡| 精品乱人伦一区二区三区| 亚洲欧美色图小说| 亚洲色图欧美在线| 麻豆精品在线观看| 激情伊人五月天久久综合| 99精品国产91久久久久久| 日韩一级欧美一级| 欧美精品一区二区蜜臀亚洲| 亚洲欧美日韩在线| 久久99精品国产91久久来源| 色婷婷综合久久久久中文一区二区 | 国产喷白浆一区二区三区| 2023国产精品| 亚洲mv大片欧洲mv大片精品| 日韩黄色免费电影| 91性感美女视频| 欧美午夜免费电影| 国产精品欧美久久久久无广告| 日精品一区二区三区| 91久久久免费一区二区| 中文字幕欧美区| 亚洲精品亚洲人成人网在线播放| 国产精品99久| 91亚洲精品乱码久久久久久蜜桃| 2024国产精品| 久久国产日韩欧美精品| 成人黄色av网站在线| 久久众筹精品私拍模特| 青青草一区二区三区| 成人小视频免费在线观看| 精品久久久久香蕉网| 免费美女久久99| 国产**成人网毛片九色 | 欧美精品一区二区三区蜜桃 | 亚洲自拍偷拍图区| 日韩黄色一级片| 欧美日韩国产免费| 亚洲一区二区三区美女| 色婷婷精品久久二区二区蜜臂av| 国产精品毛片无遮挡高清| 成人网在线免费视频| 国产欧美一区二区精品秋霞影院 | 26uuu欧美| 精品国产免费一区二区三区四区 | 久久久久久久久久久久电影| 99re成人精品视频| 中文在线资源观看网站视频免费不卡| 国产九色sp调教91| 久久久精品2019中文字幕之3| 国产精品系列在线观看| 中文字幕五月欧美| 免费不卡在线视频| 亚洲精品在线一区二区| 国产精品白丝av| 国产精品欧美经典| 欧美揉bbbbb揉bbbbb| 日韩福利视频导航| 在线视频一区二区三| 五月天婷婷综合| 欧美变态口味重另类| 成人久久久精品乱码一区二区三区| 成人免费在线视频观看| 欧美日韩在线播| 国产呦萝稀缺另类资源| 一区免费观看视频| 欧美精品日韩一本| 国模冰冰炮一区二区| 亚洲人成影院在线观看| 3d动漫精品啪啪一区二区竹菊| 狠狠色狠狠色综合| 亚洲精品videosex极品| 日韩欧美综合一区| 91在线精品一区二区三区| 丝袜美腿亚洲一区| 中文字幕久久午夜不卡| 在线欧美日韩精品| 国产一区亚洲一区| 亚洲伊人伊色伊影伊综合网| 精品国产亚洲一区二区三区在线观看| 国产精品午夜春色av| 中文久久乱码一区二区| 久热成人在线视频| 免费精品视频最新在线| 日本福利一区二区| 精久久久久久久久久久| 亚洲三级电影全部在线观看高清| 337p亚洲精品色噜噜| 成人短视频下载| 久久99久久99| 亚洲国产日产av| 国产精品久久网站| 欧美成人bangbros| 欧美另类高清zo欧美| 91美女在线看| 国产一区 二区| 免费观看日韩av| 亚洲成人免费视频| 亚洲精品亚洲人成人网在线播放| 久久久久国色av免费看影院| 91麻豆精品国产91久久久久久 | 国产一级精品在线| 婷婷国产v国产偷v亚洲高清| 欧美精品一区二区三区一线天视频| 欧美在线短视频| 97久久超碰国产精品电影| 国产久卡久卡久卡久卡视频精品| 青娱乐精品在线视频| 亚洲成人黄色影院| 亚洲国产精品天堂| 亚洲妇女屁股眼交7| 一区二区三区四区av| 亚洲美腿欧美偷拍| 国产精品国产三级国产| 欧美高清在线一区二区| 久久久久久久久久久久电影 | 日本一区二区三区在线观看| 日韩欧美在线综合网| 日韩一区二区在线看片| 欧美一级一区二区| 日韩欧美成人一区二区| 男男gaygay亚洲| 秋霞av亚洲一区二区三| 久久国产精品一区二区| 激情小说亚洲一区| 福利一区二区在线观看| 国产成人午夜99999| 五月激情丁香一区二区三区| 欧美一区二区在线播放| 91精品国产色综合久久不卡电影 | 91丝袜高跟美女视频| 国产成人自拍网| 国产成人精品午夜视频免费| 国产成人亚洲精品青草天美| 国产91在线|亚洲| 成人精品视频一区二区三区| 成人免费毛片a| 欧美综合一区二区| 欧美男男青年gay1069videost| 欧美一区二区三区不卡| 久久久蜜臀国产一区二区| 国产精品色哟哟| 亚洲最新视频在线观看| 日韩电影免费一区| 国产主播一区二区三区| 波波电影院一区二区三区| 在线观看日韩一区| 26uuu亚洲综合色欧美| 日韩一区二区麻豆国产| 日韩一区二区三区在线视频| 欧美日韩国产中文| 日韩电影一二三区| 日韩欧美视频一区| 国产露脸91国语对白| 国产精品久久久久7777按摩| 成人黄色在线网站| 一区二区三区国产| 欧美一区二区三区男人的天堂| 久久69国产一区二区蜜臀|