Changeset 113 for CMT/HEAD


Ignore:
Timestamp:
Oct 30, 2005, 10:18:53 AM (19 years ago)
Author:
arnault
Message:

Fix: must expand PATH values before filtering and setting them see CL290

Location:
CMT/HEAD
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r109 r113  
     12005-10-30    <arnault@lal.in2p3.fr> 290
     2
     3        * source/cmt_symbol.cxx (all_set): Must expand PATH values before
     4        filtering and setting them
     5
    162005-10-28    <arnault@lal.in2p3.fr> 289
    27
    3         cmt/fragments/cleanup_header: Temporary hack to deal with missing files
     8        * cmt/fragments/cleanup_header: Temporary hack to deal with missing files
    49        and to avoid infinite loops in make. However, this must be seen as a ugly hack
    510        since it considers an Atlas use case with config.h.in. This hack is
    611        harmless to any user of this special file though.
    712
    8         source/cmt.h
    9         source/cmt_parser.cxx
    10         source/cmt_commands.h
    11         source/cmt_commands.cxx
    12         doc/CMTDoc.xml: Add a -warnings option to display various warning messages
     13        * source/cmt.h
     14        * source/cmt_parser.cxx
     15        * source/cmt_commands.h
     16        * source/cmt_commands.cxx
     17        * doc/CMTDoc.xml: Add a -warnings option to display various warning messages
    1318 
    14192005-10-18    <arnault@lal.in2p3.fr> 288
  • CMT/HEAD/doc/CMTDoc.html

    r112 r113  
    24512451              where options may be :
    24522452      <p>
    2453         <table BORDER="1" COLS="2">
     2453        <table cellspacing="0" BORDER="1" COLS="2">
    24542454          <tr>
    24552455            <td><tt>-suffix=&lt;suffix&gt;</tt>
     
    25012501  <p>
    25022502    <center>
    2503       <table BORDER="1" COLS="2">
     2503      <table cellspacing="0" BORDER="1" COLS="2">
    25042504        <tr>
    25052505          <td width="100"><tt>CONSTITUENT</tt>
     
    28042804            constituent:</p>
    28052805  <center>
    2806     <table border="1" cols="3">
     2806    <table cellspacing="0" border="1" cols="3">
    28072807      <tr>
    28082808          <td width="250"><center><i>option</i>
     
    37433743            applications, etc.</p>
    37443744  <p>The concept of pattern proposed here implements this
    3745               genericity. Patterns may be either<i>global</i>
     3745              genericity. Patterns may be either <i>global</i>
    37463746  , in which
    37473747              case they will be systematically applied onto every
     
    38173817  <p>
    38183818    <center>
    3819       <table BORDER="1" COLS="2">
     3819      <table cellspacing="0" BORDER="1" COLS="2">
    38203820        <tr>
    38213821          <td width="80"><tt>package</tt>
     
    40514051      <p>
    40524052        <center>
    4053           <table BORDER="1" COLS="2">
     4053          <table cellspacing="0" BORDER="1" COLS="2">
    40544054            <tr>
    40554055              <td width="80"><tt>prototypes</tt>
     
    40574057              <td width="500">C source files will
    40584058                                      automatically produce a header file containing
    4059                                     a prototype of all global entry points</td>
     4059                               a prototype of all global entry points</td>
    40604060          </tr>
    40614061            <tr>
     
    40904090      <p>
    40914091        <center>
    4092           <table BORDER="1" COLS="2">
     4092          <table cellspacing="0" BORDER="1" COLS="2">
    40934093            <tr>
    40944094              <td width="80"><tt>config</tt>
     
    42084208                    disappear, and the <tt>include_path</tt>
    42094209       statement will
    4210                     become meaningless. When this happens, include search
     4210                  become meaningless. When this happens, include search
    42114211                    paths will always have to be explicitly specified using the
    42124212      <tt>include_dirs</tt>
     
    43014301                applications (in which case they are named exactly after the
    43024302                language name eg c, cpp, fortran) and the other for the
    4303     libraries (in which case they have the <tt>_library</tt>
     4303                libraries (in which case they have the <tt>_library</tt>
    43044304                suffix (eg. c_library, cpp_library, fortran_library). A set
    43054305                of language definitions (C, C++, Fortran, Java, Lex, Yacc)
     
    43324332                represent running values, meant to be
    43334333              properly expanded at actual generation time :</p>
    4334     <p><table BORDER="1" COLS="2">
     4334    <p><table cellspacing="0" BORDER="1" COLS="2">
    43354335      <tr>
    43364336        <td width="150"><tt>CONSTITUENT</tt>
     
    43984398            the sub-tree, expanding it only when the operator really
    43994399            acts from within the context of the package. It should be
    4400   noticed that private use relationships are completely
     4400            noticed that private use relationships are completely
    44014401            unvisible from clients, which implies that none of the
    44024402            definitions (not only symbols) will be set.</p>
     
    46374637   -warnings               : display various warnings
    46384638   -with_version_directory : reset to default structuring style
    4639    -without_version_directory : switch structuring style
    4640    -cleanup                : activate install area cleanup
    4641    -no_cleanup             : inhibit install area cleanup</font></i></pre>
     4639   -without_version_directory : switch structuring style</font></i></pre>
    46424640<p>The following sections present the detail of each available command. </p>
    46434641<hr><h4><a name="Global options of the cmt command"></a><a href="#index"><tt>13.&nbsp;3.&nbsp;1</tt></a> - Global options of the cmt command</h4>
    46444642<blockquote>
    4645   <table>
     4643  <p>These options of the general form
     4644  <tt>-&lt;option&gt;</tt>
     4645   or
     4646  <tt>-&lt;option&gt;=&lt;value&gt;</tt>
     4647   should be provided
     4648  <i>before</i>
     4649   the command itself. They give special hints
     4650            to cmt onto how to perform the command.</p>
     4651  <p>Some options have meaning over all commands (such as
     4652              the <tt>-quiet</tt>
     4653   option) while some others only have a
     4654              meaning in the context of some specialized commands (such
     4655              as the <tt>-with_version_directory</tt>
     4656   option which is
     4657              only useful for the <tt>create</tt>
     4658   or <tt>co</tt>
     4659            commands)</p>
     4660  <p>The following table describes the various global
     4661              options of the <tt>cmt</tt>
     4662 tool:</p>
     4663  <table cellspacing="0" BORDER="1" COLS="3">
    46464664    <tr>
    4647       <td>
    4648          -quiet                  : don't print errors
     4665        <td><center><i>option</i>
     4666      </center>
     4667    </td>
     4668        <td><center><i>effect</i>
     4669      </center>
     4670    </td>
     4671        <td><center><i>commands</i>
     4672      </center>
    46494673    </td>
    46504674  </tr>
    46514675    <tr>
    4652       <td>
    4653          -use=&lt;p&gt;:&lt;v&gt;:&lt;path&gt;     : set package version path
     4676      <td><tt>-quiet</tt>
     4677    </td>
     4678    <td>don't print errors</td>
     4679      <td><i>all</i>
    46544680    </td>
    46554681  </tr>
    46564682    <tr>
    4657       <td>
    4658          -pack=&lt;package&gt;         : set package
     4683      <td><tt>-use=&lt;p&gt;:&lt;v&gt;:&lt;path&gt;</tt>
     4684    </td>
     4685    <td>set current package version and path in one option</td>
     4686      <td><i>all</i>
    46594687    </td>
    46604688  </tr>
    46614689    <tr>
    4662       <td>
    4663          -version=&lt;version&gt;      : set version
     4690      <td><tt>-pack=&lt;package&gt;</tt>
     4691    </td>
     4692    <td rowspan="3">set current package, version and root path</td>
     4693      <td rowspan="3"><i>all</i>
    46644694    </td>
    46654695  </tr>
    46664696    <tr>
    4667       <td>
    4668          -path=&lt;path&gt;            : set root path
     4697      <td><tt>-version=&lt;version&gt;</tt>
    46694698    </td>
    46704699  </tr>
    46714700    <tr>
    4672       <td>
    4673          -f=&lt;requirement-file&gt;   : set input file
     4701      <td><tt>-path=&lt;path&gt;</tt>
    46744702    </td>
    46754703  </tr>
    46764704    <tr>
    4677       <td>
    4678          -e=&lt;statement&gt;          : add a one line statement
     4705      <td><tt>-f=&lt;requirement-file&gt;</tt>
     4706    </td>
     4707    <td>override input file</td>
     4708      <td><i>all</i>
    46794709    </td>
    46804710  </tr>
    46814711    <tr>
    4682       <td>
    4683          -tag=&lt;tag-list&gt;         : select a new tag-set
     4712      <td><tt>-e=&lt;statement&gt;</tt>
     4713    </td>
     4714    <td>add a one line statement</td>
     4715      <td><i>all</i>
    46844716    </td>
    46854717  </tr>
    46864718    <tr>
    4687       <td>
    4688          -tag_add=&lt;tag-list&gt;     : add specific comma-separated tag(s)
     4719      <td><tt>-tag=&lt;tag-list&gt;</tt>
     4720    </td>
     4721    <td>select a new tag-set</td>
     4722      <td><i>all</i>
    46894723    </td>
    46904724  </tr>
    46914725    <tr>
    4692       <td>
    4693          -tag_remove=&lt;tag-list&gt;  : remove specific comma-separated tag(s)
     4726      <td><tt>-tag_add=&lt;tag-list&gt;</tt>
     4727    </td>
     4728    <td>add specific comma-separated tag(s)</td>
     4729      <td><i>all</i>
    46944730    </td>
    46954731  </tr>
    46964732    <tr>
    4697       <td>
    4698          -warnings               : display various warnings
     4733      <td><tt>-tag_remove=&lt;tag-list&gt;</tt>
     4734    </td>
     4735    <td>remove specific comma-separated tag(s)</td>
     4736      <td><i>all</i>
    46994737    </td>
    47004738  </tr>
    47014739    <tr>
    4702       <td>
    4703          -with_version_directory : reset to default structuring style
     4740      <td><tt>-warnings</tt>
     4741    </td>
     4742    <td>displays various warnings, such as invalid PATH items</td>
     4743            <td><table><tr><td><tt>broadcast</tt>
     4744          </td>
     4745        </tr>
     4746            <tr><td><tt>run</tt>
     4747          </td>
     4748        </tr>
     4749            <tr><td><tt>setup</tt>
     4750          </td>
     4751        </tr>
     4752      </table>
    47044753    </td>
    47054754  </tr>
    47064755    <tr>
    4707       <td>
    4708          -without_version_directory : switch structuring style
     4756      <td><tt>-with_version_directory</tt>
     4757    </td>
     4758    <td>reset to default structuring style</td>
     4759            <td><table><tr><td><tt>create</tt>
     4760          </td>
     4761        </tr>
     4762            <tr><td><tt>co</tt>
     4763          </td>
     4764        </tr>
     4765      </table>
    47094766    </td>
    47104767  </tr>
    47114768    <tr>
    4712       <td>
    4713          -cleanup                : activate install area cleanup
     4769      <td><tt>-without_version_directory</tt>
     4770    </td>
     4771    <td>switch structuring style</td>
     4772            <td><table><tr><td><tt>create</tt>
     4773          </td>
     4774        </tr>
     4775            <tr><td><tt>co</tt>
     4776          </td>
     4777        </tr>
     4778      </table>
    47144779    </td>
    47154780  </tr>
    4716     <tr>
    4717       <td>
    4718          -no_cleanup             : inhibit install area cleanup
    4719     </td>
    4720   </tr>
    4721     <p>The <tt>-warnings</tt>
    4722      option displays various
    4723                   warnings, such as invalid PATH items.</p>
    47244781</table>
    47254782</blockquote>
     
    47364793 command, ie all <tt>CMT</tt>
    47374794 packages
    4738             and versions available throught the current <tt>CMTPATH</tt>
     4795        and versions available through the current <tt>CMTPATH</tt>
    47394796 list.
    47404797  <p>Typical uses of this <i>broadcast</i>
     
    47894846   list</li>
    47904847</ol>
     4848  <p>The environment variables as specified in the
     4849              requirements files of the use graph are internally pre-set
     4850              before running the specified shell command. Thus it's not
     4851              required to <i>source</i>
     4852   the setup scripts before using
     4853              the <tt>broadcast</tt>
     4854   command
     4855</p>
    47914856<hr><h5><a name="Specifying the shell command"></a><a href="#index"><tt>13.&nbsp;3.&nbsp;2.&nbsp;1</tt></a> - Specifying the shell command</h5>
    47924857<blockquote>
     
    49094974                        expected to be named <tt>NMake</tt>
    49104975       and the standard header
    4911                  is named <tt>NMakefile.header</tt>
     4976                        is named <tt>NMakefile.header</tt>
    49124977    </p>
    49134978  </li>
     
    49515016       the output produced
    49525017                      by the selected tool so as to let CMT parse it and
    4953       properly deduce the dependencies. Formatting the
     5018                      properly deduce the dependencies. Formatting the
    49545019                      output of external tools may require to interface the
    49555020                    tool itself e.g. using a shell script.</p>
     
    55165581    <li><tt>fragment &lt;name&gt;</tt>
    55175582      <p>This command displays the actual location where the
    5518                  specified make fragment is currently found by <tt>CMT</tt>
     5583                        specified make fragment is currently found by <tt>CMT</tt>
    55195584      ,
    55205585                      taking into account possible overridden definitions.</p>
     
    55625627      <tt>action_value &lt;name&gt;</tt>
    55635628        <p>This set of commands displays the raw value
    5564                         assigned to the symbol (macro, set or action)
     5629                    assigned to the symbol (macro, set or action)
    55655630                        specified as the additional argument. It only presents
    5566                  the final result of the assignment operations
     5631                        the final result of the assignment operations
    55675632                      performed by used packages. </p>
    55685633        <p>By adding a <tt>-tag=&lt;tag></tt>
     
    62406305  </li>
    62416306    <li>
    6242            adapt the version tag convention consistently to the
     6307                adapt the version tag convention consistently to the
    62436308                project, hiding the version tag specificities of
    62446309                eg. commercial packages.
     
    64516516  <p>CMT manipulate some standard macros or environment variables
    64526517    according to the effective strategy:</p>
    6453   <table border="1">
     6518  <table cellspacing="0" border="1">
    64546519    <tr>
    64556520        <td><center><i>name</i>
     
    67156780sh&gt; gmake help </pre>
    67166781  <p>
    6717     <table BORDER="1" COLS="2">
     6782    <table cellspacing="0" BORDER="1" COLS="2">
    67186783      <tr>
    67196784        <td width="200">
     
    67966861    modified by the user.
    67976862  <p>
    6798     <table BORDER="1" COLS="3">
     6863    <table cellspacing="0" BORDER="1" COLS="3">
    67996864      <tr>
    68006865        <td width="150">
     
    68376902    any package for its own needs.
    68386903  <p>
    6839     <table BORDER="1" COLS="3">
     6904    <table cellspacing="0" BORDER="1" COLS="3">
    68406905      <tr>
    68416906        <td width="150">
     
    69487013 statements.</p>
    69497014  <p>
    6950     <table BORDER="1" COLS="3">
     7015    <table cellspacing="0" BORDER="1" COLS="3">
    69517016      <tr>
    69527017        <td width="150">
     
    70087073</p>
    70097074  <p>
    7010     <table BORDER="1" COLS="3">
     7075    <table cellspacing="0" BORDER="1" COLS="3">
    70117076      <tr>
    70127077        <td width="150"><tt>cpp</tt>
     
    70617126</p>
    70627127  <p>
    7063     <table BORDER="1" COLS="3">
     7128    <table cellspacing="0" BORDER="1" COLS="3">
    70647129      <tr>
    70657130        <td width="150"><tt>for</tt>
     
    71147179</p>
    71157180  <p>
    7116     <table BORDER="1" COLS="3">
     7181    <table cellspacing="0" BORDER="1" COLS="3">
    71177182      <tr>
    71187183        <td width="150"><tt>javacomp</tt>
     
    71327197</p>
    71337198  <p>
    7134     <table BORDER="1" COLS="3">
     7199    <table cellspacing="0" BORDER="1" COLS="3">
    71357200      <tr>
    71367201        <td width="150"><tt>lex</tt>
     
    71947259    corresponding use statement.</p>
    71957260  <p>
    7196     <table BORDER="1" COLS="2">
     7261    <table cellspacing="0" BORDER="1" COLS="2">
    71977262      <tr>
    71987263        <td width="250">
     
    72987363    modifier).</p>
    72997364  <p>
    7300     <table BORDER="1" COLS="2">
     7365    <table cellspacing="0" BORDER="1" COLS="2">
    73017366      <tr>
    73027367        <td width="250">
     
    73577422    customization of the build command parameters.</p>
    73587423  <p>
    7359     <table BORDER="1" COLS="2">
     7424    <table cellspacing="0" BORDER="1" COLS="2">
    73607425      <tr>
    73617426          <td><tt>&lt;<i>type</i>
     
    74777542    customization of the build command parameters.</p>
    74787543  <p>
    7479     <table BORDER="1" COLS="2">
     7544    <table cellspacing="0" BORDER="1" COLS="2">
    74807545      <tr>
    74817546          <td WIDTH="300"><tt>&lt;<i>constituent</i>
     
    75157580 and the user.</p>
    75167581  <p>
    7517     <table BORDER="1" COLS="2">
     7582    <table cellspacing="0" BORDER="1" COLS="2">
    75187583      <tr>
    75197584          <td width="200"><tt>&lt;<i>PACKAGE</i>
     
    75937658 behaviour.</p>
    75947659  <p>
    7595     <table BORDER="1" COLS="2">
     7660    <table cellspacing="0" BORDER="1" COLS="2">
    75967661      <tr>
    75977662          <td><tt>&lt;<i>package</i>
     
    76207685   statements found in the
    76217686      requirements file (taking into account the complete hierarchy of
    7622      used packages with the exception of those specified with the
     7687      used packages with the exception of those specified with the
    76237688  <br></br>
    76247689  <tt>-no_auto_imports</tt>
    76257690 option in their use statement) :</p>
    76267691  <p>
    7627     <table BORDER="1" COLS="2">
     7692    <table cellspacing="0" BORDER="1" COLS="2">
    76287693      <tr>
    76297694        <td width="150"><tt>use_cflags</tt>
     
    77047769    mechanisms.
    77057770    <p><font size="-10">
    7706       <table BORDER="1" COLS="2">
     7771      <table cellspacing="0" BORDER="1" COLS="2">
    77077772        <tr>
    77087773          <td width="250">
     
    78107875    in CMT.
    78117876  <p>
    7812     <table BORDER="1" COLS="2">
     7877    <table cellspacing="0" BORDER="1" COLS="2">
    78137878      <tr>
    78147879          <td width="150"><center><i>macro</i>
     
    79538018<blockquote>
    79548019  <p>
    7955     <table BORDER="1" COLS="3">
     8020    <table cellspacing="0" BORDER="1" COLS="3">
    79568021      <tr>
    79578022          <td width="150"><center><i>tag name</i>
     
    80608125<blockquote>
    80618126  <p>
    8062     <table BORDER="1" COLS="3">
     8127    <table cellspacing="0" BORDER="1" COLS="3">
    80638128      <tr>
    80648129          <td width="150"><center><i>template name</i>
     
    82338298<hr></blockquote>
    82348299  <p>
    8235     <table border="1" cols="3">
     8300    <table cellspacing="0" border="1" cols="3">
    82368301      <tr>
    82378302          <td width="200"><center><i>Generated makefile</i>
     
    1044810513    <tt>cmt_buildcvsinfos2.sh</tt>
    1044910514    , which simply receives in its
    10450           argument the module name onto which we need information. This
     10515     argument the module name onto which we need information. This
    1045110516          information is obtained by scanning the files into the
    1045210517          repository, and an answer is built with the following syntax:
     
    1045810523      <ol>
    1045910524        <li>In case of error (typically when the requested module is
    10460            not found in the repository) a text explaining the error
     10525                not found in the repository) a text explaining the error
    1046110526              condition is returned</li>
    1046210527      <li>The list of tags found on the requirements file</li>
  • CMT/HEAD/doc/CMTDoc.xml

    r112 r113  
    26382638          <p>
    26392639
    2640             <table BORDER='1' COLS='2'>
     2640            <table BORDER='1' COLS='2' cellspacing='0'>
    26412641                  <tr>
    26422642                    <td><tt>-suffix=&lt;suffix&gt;</tt></td>
     
    26882688      <p>
    26892689        <center>
    2690           <table BORDER='1' COLS='2'>
     2690          <table BORDER='1' COLS='2' cellspacing='0'>
    26912691
    26922692                <tr>
     
    30123012
    30133013            <center>
    3014               <table border='1' cols='3'>
     3014              <table border='1' cellspacing='0' cols='3'>
    30153015
    30163016                <tr>
     
    38133813            <p>
    38143814              <center>
    3815                 <table BORDER='1' COLS='2'>
     3815                <table BORDER='1' cellspacing='0' COLS='2'>
    38163816                  <tr>
    38173817                    <td width="80"><tt>package</tt></td>
     
    40844084                <p>
    40854085                  <center>
    4086                     <table BORDER='1' COLS='2'>
     4086                    <table BORDER='1' cellspacing='0' COLS='2'>
    40874087                      <tr>
    40884088                        <td width="80"><tt>prototypes</tt></td>
     
    41364136                <p>
    41374137                  <center>
    4138                     <table BORDER='1' COLS='2'>
     4138                    <table BORDER='1' cellspacing='0' COLS='2'>
    41394139
    41404140                      <tr>
     
    44014401              properly expanded at actual generation time :</p>
    44024402
    4403             <p><table BORDER='1' COLS='2'>
     4403            <p><table BORDER='1' cellspacing='0' COLS='2'>
    44044404                 <tr>
    44054405                   <td width="150"><tt>CONSTITUENT</tt></td>
     
    46924692   -warnings               : display various warnings
    46934693   -with_version_directory : reset to default structuring style
    4694    -without_version_directory : switch structuring style
     4694   -without_version_directory : switch structuring style</font></i></cmt:code>
     4695
     4696<!--
    46954697   -cleanup                : activate install area cleanup
    4696    -no_cleanup             : inhibit install area cleanup</font></i></cmt:code>
     4698   -no_cleanup             : inhibit install area cleanup
     4699-->
    46974700
    46984701          <p>The following sections present the detail of each available command. </p>
     
    47014704          <cmt:section title="Global options of the cmt command">
    47024705
    4703             <table>
     4706            <p>These options of the general form
     4707            <tt>-&lt;option&gt;</tt> or
     4708            <tt>-&lt;option&gt;=&lt;value&gt;</tt> should be provided
     4709            <i>before</i> the command itself. They give special hints
     4710            to cmt onto how to perform the command.</p>
     4711
     4712            <p>Some options have meaning over all commands (such as
     4713            the <tt>-quiet</tt> option) while some others only have a
     4714            meaning in the context of some specialized commands (such
     4715            as the <tt>-with_version_directory</tt> option which is
     4716            only useful for the <tt>create</tt> or <tt>co</tt>
     4717            commands)</p>
     4718
     4719            <p>The following table describes the various global
     4720            options of the <tt>cmt</tt> tool:</p>
     4721
     4722            <table BORDER='1' cellspacing='0' COLS='3'>
    47044723
    47054724              <tr>
    4706                 <td>
    4707    -quiet                  : don't print errors
    4708                 </td>
     4725                <td><center><i>option</i></center></td>
     4726                <td><center><i>effect</i></center></td>
     4727                <td><center><i>commands</i></center></td>
     4728              </tr>
     4729
     4730              <tr>
     4731                <td><tt>-quiet</tt></td>
     4732                <td>don't print errors</td>
     4733                <td><i>all</i></td>
    47094734              </tr>
    47104735              <tr>
    4711                 <td>
    4712    -use=&amp;lt;p&gt;:&lt;v&gt;:&lt;path&gt;     : set package version path
    4713                 </td>
     4736                <td><tt>-use=&amp;lt;p&gt;:&lt;v&gt;:&lt;path&gt;</tt></td>
     4737                <td>set current package version and path in one option</td>
     4738                <td><i>all</i></td>
    47144739              </tr>
    47154740              <tr>
    4716                 <td>
    4717    -pack=&amp;lt;package&gt;         : set package
    4718                 </td>
     4741                <td><tt>-pack=&amp;lt;package&gt;</tt></td>
     4742                <td rowspan='3'>set current package, version and root path</td>
     4743                <td rowspan='3'><i>all</i></td>
    47194744              </tr>
    47204745              <tr>
    4721                 <td>
    4722    -version=&amp;lt;version&gt;      : set version
    4723                 </td>
     4746                <td><tt>-version=&amp;lt;version&gt;</tt></td>
    47244747              </tr>
    47254748              <tr>
    4726                 <td>
    4727    -path=&amp;lt;path&gt;            : set root path
    4728                 </td>
     4749                <td><tt>-path=&amp;lt;path&gt;</tt></td>
    47294750              </tr>
    47304751              <tr>
    4731                 <td>
    4732    -f=&amp;lt;requirement-file&gt;   : set input file
    4733                 </td>
     4752                <td><tt>-f=&amp;lt;requirement-file&gt;</tt></td>
     4753                <td>override input file</td>
     4754                <td><i>all</i></td>
    47344755              </tr>
    47354756              <tr>
    4736                 <td>
    4737    -e=&amp;lt;statement&gt;          : add a one line statement
    4738                 </td>
     4757                <td><tt>-e=&amp;lt;statement&gt;</tt></td>
     4758                <td>add a one line statement</td>
     4759                <td><i>all</i></td>
    47394760              </tr>
    47404761              <tr>
    4741                 <td>
    4742    -tag=&amp;lt;tag-list&gt;         : select a new tag-set
    4743                 </td>
     4762                <td><tt>-tag=&amp;lt;tag-list&gt;</tt></td>
     4763                <td>select a new tag-set</td>
     4764                <td><i>all</i></td>
    47444765              </tr>
    47454766              <tr>
    4746                 <td>
    4747    -tag_add=&amp;lt;tag-list&gt;     : add specific comma-separated tag(s)
    4748                 </td>
     4767                <td><tt>-tag_add=&amp;lt;tag-list&gt;</tt></td>
     4768                <td>add specific comma-separated tag(s)</td>
     4769                <td><i>all</i></td>
    47494770              </tr>
    47504771              <tr>
    4751                 <td>
    4752    -tag_remove=&amp;lt;tag-list&gt;  : remove specific comma-separated tag(s)
    4753                 </td>
     4772                <td><tt>-tag_remove=&amp;lt;tag-list&gt;</tt></td>
     4773                <td>remove specific comma-separated tag(s)</td>
     4774                <td><i>all</i></td>
    47544775              </tr>
    47554776              <tr>
    4756                 <td>
    4757    -warnings               : display various warnings
    4758                 </td>
     4777                <td><tt>-warnings</tt></td>
     4778                <td>displays various warnings, such as invalid PATH items</td>
     4779                <td><table><tr><td><tt>broadcast</tt></td></tr><tr><td><tt>run</tt></td></tr><tr><td><tt>setup</tt></td></tr></table></td>
    47594780              </tr>
    47604781              <tr>
    4761                 <td>
    4762    -with_version_directory : reset to default structuring style
    4763                 </td>
     4782                <td><tt>-with_version_directory</tt></td>
     4783                <td>reset to default structuring style</td>
     4784                <td><table><tr><td><tt>create</tt></td></tr><tr><td><tt>co</tt></td></tr></table></td>
    47644785              </tr>
    47654786              <tr>
    4766                 <td>
    4767    -without_version_directory : switch structuring style
    4768                 </td>
     4787                <td><tt>-without_version_directory</tt></td>
     4788                <td>switch structuring style</td>
     4789                <td><table><tr><td><tt>create</tt></td></tr><tr><td><tt>co</tt></td></tr></table></td>
     4790              </tr>
     4791              <!--
     4792              <tr>
     4793                <td><tt>-cleanup</tt></td>
     4794                <td>activate install area cleanup</td>
     4795                <td><tt>setup</tt></td>
    47694796              </tr>
    47704797              <tr>
    4771                 <td>
    4772    -cleanup                : activate install area cleanup
    4773                 </td>
     4798                <td><tt>-no_cleanup</tt></td>
     4799                <td>inhibit install area cleanup</td>
     4800                <td><tt>setup</tt></td>
    47744801              </tr>
    4775               <tr>
    4776                 <td>
    4777    -no_cleanup             : inhibit install area cleanup
    4778                 </td>
    4779               </tr>
    4780 
    4781                 <p>The <tt>-warnings</tt> option displays various
    4782                 warnings, such as invalid PATH items.</p>
    4783 
     4802              -->
    47844803            </table>
    47854804
     
    47954814            packages reached by the broadcast is rather the same as the one shown
    47964815            by the <tt>cmt show packages</tt> command, ie all <tt>CMT</tt> packages
    4797             and versions available throught the current <tt>CMTPATH</tt> list.
     4816            and versions available through the current <tt>CMTPATH</tt> list.
    47984817
    47994818            <p>Typical uses of this <i>broadcast</i> operation could be:</p>
     
    48514870              through the <tt>CMTPATH</tt> list</li>
    48524871            </ol>
     4872
     4873            <p>The environment variables as specified in the
     4874            requirements files of the use graph are internally pre-set
     4875            before running the specified shell command. Thus it's not
     4876            required to <i>source</i> the setup scripts before using
     4877            the <tt>broadcast</tt> command
     4878            </p>
    48534879
    48544880            <cmt:section title="Specifying the shell command">
     
    66096635    according to the effective strategy:</p>
    66106636
    6611     <table border="1">
     6637    <table border="1" cellspacing='0'>
    66126638      <tr>
    66136639        <td><center><i>name</i></center></td>
     
    68826908
    68836909  <p>
    6884     <table BORDER='1' COLS='2'>
     6910    <table BORDER='1' cellspacing='0' COLS='2'>
    68856911      <tr>
    68866912        <td width="200">
     
    69546980
    69556981    <p>
    6956       <table BORDER='1' COLS='3'>
     6982      <table BORDER='1' cellspacing='0' COLS='3'>
    69576983        <tr>
    69586984          <td width="150">
     
    69897015
    69907016    <p>
    6991       <table BORDER='1' COLS='3'>
     7017      <table BORDER='1' cellspacing='0' COLS='3'>
    69927018        <tr>
    69937019          <td width="150">
     
    70747100
    70757101    <p>
    7076       <table BORDER='1' COLS='3'>
     7102      <table BORDER='1' cellspacing='0' COLS='3'>
    70777103        <tr>
    70787104          <td width="150">
     
    71197145    </p>
    71207146    <p>
    7121       <table BORDER='1' COLS='3'>
     7147      <table BORDER='1' cellspacing='0' COLS='3'>
    71227148        <tr>
    71237149          <td width="150"><tt>cpp</tt></td>
     
    71587184    </p>
    71597185    <p>
    7160       <table BORDER='1' COLS='3'>
     7186      <table BORDER='1' cellspacing='0' COLS='3'>
    71617187        <tr>
    71627188          <td width="150"><tt>for</tt></td>
     
    71977223    </p>
    71987224    <p>
    7199       <table BORDER='1' COLS='3'>
     7225      <table BORDER='1' cellspacing='0' COLS='3'>
    72007226        <tr>
    72017227          <td width="150"><tt>javacomp</tt></td>
     
    72117237    </p>
    72127238    <p>
    7213       <table BORDER='1' COLS='3'>
     7239      <table BORDER='1' cellspacing='0' COLS='3'>
    72147240        <tr>
    72157241          <td width="150"><tt>lex</tt></td>
     
    72617287
    72627288    <p>
    7263       <table BORDER='1' COLS='2'>
     7289      <table BORDER='1' cellspacing='0' COLS='2'>
    72647290        <tr>
    72657291          <td width="250">
     
    73487374
    73497375    <p>
    7350       <table BORDER='1' COLS='2'>
     7376      <table BORDER='1' cellspacing='0' COLS='2'>
    73517377        <tr>
    73527378          <td width="250">
     
    74067432
    74077433    <p>
    7408       <table BORDER='1' COLS='2'>
     7434      <table BORDER='1' cellspacing='0' COLS='2'>
    74097435        <tr>
    74107436          <td><tt>&lt;<i>type</i>&gt;_&lt;<i>constituent</i>&gt;_cflags</tt></td>
     
    74987524
    74997525    <p>
    7500       <table BORDER='1' COLS='2'>
     7526      <table BORDER='1' cellspacing='0' COLS='2'>
    75017527        <tr>
    75027528          <td WIDTH="300"><tt>&lt;<i>constituent</i>&gt;_&lt;<i>suffix</i>&gt;_cflags</tt></td>
     
    75277553
    75287554    <p>
    7529       <table BORDER='1' COLS='2'>
     7555      <table BORDER='1' cellspacing='0' COLS='2'>
    75307556        <tr>
    75317557          <td width="200"><tt>&lt;<i>PACKAGE</i>&gt;ROOT</tt></td>
     
    75857611      the user so as to customize the <tt>CMT</tt> behaviour.</p>
    75867612    <p>
    7587       <table BORDER='1' COLS='2'>
     7613      <table BORDER='1' cellspacing='0' COLS='2'>
    75887614        <tr>
    75897615          <td><tt>&lt;<i>package</i>&gt;_tag</tt></td>
     
    76107636
    76117637    <p>
    7612       <table BORDER='1' COLS='2'>
     7638      <table BORDER='1' cellspacing='0' COLS='2'>
    76137639        <tr>
    76147640          <td width="150"><tt>use_cflags</tt></td>
     
    76787704
    76797705    <p><font size="-10">
    7680       <table BORDER='1' COLS='2'>
     7706      <table BORDER='1' cellspacing='0' COLS='2'>
    76817707        <tr>
    76827708          <td width="250">
     
    77717797
    77727798    <p>
    7773       <table BORDER='1' COLS='2'>
     7799      <table BORDER='1' cellspacing='0' COLS='2'>
    77747800        <tr>
    77757801          <td width="150"><center><i>macro</i></center></td>
     
    78877913
    78887914  <p>
    7889     <table BORDER='1' COLS='3'>
     7915    <table BORDER='1' cellspacing='0' COLS='3'>
    78907916      <tr>
    78917917        <td width="150"><center><i>tag name</i></center></td>
     
    79778003
    79788004  <p>
    7979     <table BORDER='1' COLS='3'>
     8005    <table BORDER='1' cellspacing='0' COLS='3'>
    79808006      <tr>
    79818007        <td width="150"><center><i>template name</i></center></td>
     
    81108136
    81118137  <p>
    8112     <table border='1' cols='3'>
     8138    <table border='1' cellspacing='0' cols='3'>
    81138139
    81148140      <tr>
  • CMT/HEAD/mgr/cmt.nmake

    r103 r113  
    33#  Application cmt
    44#
    5 #   Generated Tue Oct 18 09:41:36 2005  by ARNAULT
     5#   Generated Sun Oct 30 10:05:41 2005  by ARNAULT
    66#
    77#====================================
  • CMT/HEAD/source/cmt_symbol.cxx

    r109 r113  
    13991399      if (value != "")
    14001400        {
     1401          Symbol::expand (value);
    14011402          filter_path_value (symbol.name, value);
    14021403
Note: See TracChangeset for help on using the changeset viewer.