carbidecpp22devenv/configuration/org.eclipse.osgi/bundles/309/1/.cp/reference/cdt_u_pref_multi_cfg.htm
changeset 5 684bf18fdedf
equal deleted inserted replaced
4:4764c8c88759 5:684bf18fdedf
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
       
     2 <html lang="en">
       
     3 
       
     4 <head>
       
     5 	<meta http-equiv="Content-Language" content="en-us">
       
     6 	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
       
     7 	<title>Multi-Configuration Edit preferences</title>
       
     8 	<link rel="stylesheet" type="text/css" href="../help.css">
       
     9 </head>
       
    10 <body>
       
    11 
       
    12 <h1>Multi-Configuration Edit preferences</h1>
       
    13 
       
    14 <p>Since CDT 5.0, user is able to edit properties for 
       
    15 multiple project configurations simultaneously.</p>
       
    16 <p>Either all configuations or some of them can be selected.</p>
       
    17 <p>But, then we deal with string list property values, 
       
    18 it is not obvious how to concatenate them, if they differ.</p>
       
    19 
       
    20 
       
    21 <p><img src="../images/cdt_pref-multi-cfg.png" alt="Multi-Configuration Edit preferences tab"></p>
       
    22 <dl>
       
    23   <dt>String list Display Mode</dt>
       
    24   <dd>Specifies how values will be shown.<br>
       
    25   There are 2 options: conjunction or disjunction.
       
    26   <ul>
       
    27   <li><b>Conjunction</b> shows common elements only, so if 1st configuration has 
       
    28   value &lt;A, B, C&gt; and 2nd configuration has &lt;B, C, D&gt;, &lt;B, C&gt; will be shown. 
       
    29   <li><b>Disjunction</b> shows all existing elements except doubles, so if 1st configuration has 
       
    30   value &lt;A, B, C&gt; and 2nd configuration has &lt;B, C, D&gt;, &lt;A, B, C, D&gt; will be shown. 
       
    31   </ul>
       
    32   Note that Display mode can be changed directly on each tab which deals with string lists.
       
    33   Result is immediate: data on the tab refereshed according to selected mode.<br>
       
    34   </dd>
       
    35   <dt>String list Write Mode</dt>
       
    36   <dd>Specifies how values will be saved.<br>
       
    37   There are 2 options: modify or replace.
       
    38   <ul>
       
    39   <li><b>Modify mode</b> adds, changes or removes elements affected by user's actions.
       
    40   Elements which were not touched by user are left unchanged.<br>   
       
    41   Example: cfg1 has &lt;A, B, C&gt;; cfg2 has &lt;B, C, D&gt;.<br>
       
    42   User removed B and added F.<br>
       
    43   Result: cfg1 has &lt;A, C, F&gt;; cfg2 has &lt;C, D, F&gt;.
       
    44   <li><b>Replace mode</b> puts currently visible elements to all configurations.
       
    45   Old contents will be lost.<br>
       
    46   Example: cfg1 has &lt;A, B, C&gt;; cfg2 has &lt;B, C, D&gt;.<br>
       
    47   Visible list depends of Display mode: &lt;B, C&gt; or &lt;A, B, C, D&gt;.<br>
       
    48   User removed B and added F.<br>
       
    49   Result: both cfgs will contain either &lt;C, F&gt; or &lt;A, C, D, F&gt; depending of Display mode.
       
    50   </ul>
       
    51   Note that Write mode can be changed directly on each tab which deals with string lists.<br>
       
    52   </dd>
       
    53   <dt>Restore Defaults</dt>
       
    54   <dd>Sets all parameters to default values</dd>
       
    55   <dt>Apply</dt>
       
    56   <dd>Saves current settings.</dd>
       
    57 </dl>
       
    58 
       
    59 </body>
       
    60 
       
    61 </html>