|
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
|
2 <html lang="en"> |
|
3 <head> |
|
4 <meta http-equiv="Content-Language" content="en-us"> |
|
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
|
6 <title>C/C++ Project Properties, Environment</title> |
|
7 <link rel="stylesheet" type="text/css" href="../help.css"> |
|
8 </head> |
|
9 |
|
10 <body> |
|
11 <h1>C/C++ Project Properties, Environment</h1> |
|
12 Customizes the build environment for all projects in the workspace; it lets you control the environment variables used by the build. |
|
13 <p><img img="" src="../images/prop_environment.png" |
|
14 alt="C/C++ Project Properties, Environment"></p> |
|
15 <p></p> |
|
16 |
|
17 <table cellpadding="5" cellspacing="0" border="1" > |
|
18 <br> |
|
19 <caption><b>Environment preference options</b></caption> |
|
20 <br> |
|
21 <colgroup> |
|
22 <col width="30%" valign="top" > |
|
23 <col width="70%" valign="top" > |
|
24 </colgroup> |
|
25 <tbody> |
|
26 <tr> |
|
27 <td><b>Configuration</b></td> |
|
28 <td><a href="cdt_u_prop_all.htm">Click here for a description.</a></td> |
|
29 </tr> |
|
30 <tr> |
|
31 <td><b>Manage configurations</b></td> |
|
32 <td><a href="cdt_u_prop_all.htm">Click here for a description.</a></td> |
|
33 </tr> |
|
34 <tr> |
|
35 <td><b>Environment variables to set</b></td> |
|
36 <td>Shows the current list of environment variables and their corresponding value. These are the environment variable values used when building.</td> |
|
37 </tr> |
|
38 <tr> |
|
39 <td><b>Variable</b></td> |
|
40 <td>Specifies the name of the environment variable.</td> |
|
41 </tr> |
|
42 <tr> |
|
43 <td><b>Value</b></td> |
|
44 <td>Specifies the value of the environment variable.</td> |
|
45 </tr> |
|
46 <tr> |
|
47 <td><b>Append variables to native environment</b></td> |
|
48 <td>Appends the variables to the native environment during its execution.</td> |
|
49 </tr> |
|
50 <tr> |
|
51 <td><b>Replace native environment with specified one </b></td> |
|
52 <td>Replaces the native environment with the specified variables, and then restores the native environment upon its completion.</td> |
|
53 </tr> |
|
54 <tr> |
|
55 <td><b>New</b></td> |
|
56 <td>Opens a dialog to create a new environment variable and value. Custom environment variables that you create appear in bold within the list. |
|
57 <p><img img="" src="../images/cdt_buildenv_newenvvar.png" alt="C/C++ Project Properties, Environment, New environment variable"></p> <br> |
|
58 <p>Click <b>Variables</b> to Select variables by name to include in the value. Select <b>Add to all configurations</b> to make this new environment variable available to all configurations for the selected project; otherwise, the variable is only available for the currently selected configuration.</p> |
|
59 </td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><b>Select</b></td> |
|
63 <td>Opens the Select variables dialog where you can choose from a list of system variables. |
|
64 <p><img img="" src="../images/cdt_buildenv_selectvar.png" alt="C/C++ Project Properties, Environment, New environment variable"></p></td> |
|
65 </td> |
|
66 </tr> |
|
67 <tr> |
|
68 <td><b>Edit</b></td> |
|
69 <td>Modifies the name and value of the selected environment variable.</td> |
|
70 </tr> |
|
71 <tr> |
|
72 <td><b>Remove</b></td> |
|
73 <td>Removes the selected environment variables from the list.</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><b>Undefine</b></td> |
|
77 <td>Undefines the currently selected variable; however, some variables, such as the PATH variable, cannot be undefined. |
|
78 </td> |
|
79 </tr> |
|
80 </tbody> |
|
81 </table> |
|
82 |
|
83 <p style="margin-top: 0pt; margin-bottom: 0pt;"><img border="0" |
|
84 src="../images/ngref.gif" alt="Related reference" width="143" |
|
85 height="21"><br> |
|
86 |
|
87 |
|
88 <ul> |
|
89 <li><a href="cdt_u_prop_resource.htm">Project Properties, Resource page</a> |
|
90 <li><a href="cdt_u_prop_builders.htm">Project Properties, Builders page</a> |
|
91 <li><a href="cdt_u_prop_all.htm">Project Properties, common C/C++ Configurations handling</a> |
|
92 <ul type="disc"> |
|
93 <li><a href="cdt_u_prop_manage_dialog.htm">Manage Configurations dialog</a> |
|
94 <li><a href="cdt_u_prop_manage_newdialog.htm">Create Configuration dialog</a> |
|
95 <li><a href="cdt_u_prop_manage_rendialog.htm">Rename Configuration dialog</a> |
|
96 </ul> |
|
97 <li><a href="cdt_u_prop_build.htm">Project Properties, C/C++ Build category</a> |
|
98 <ul type="disc"> |
|
99 <li><a href="cdt_u_prop_build_discovery.htm">Discovery options page</a> |
|
100 <li><a href="cdt_u_prop_build_environment.htm">Environment page</a> |
|
101 <li>Settings page |
|
102 <ul> |
|
103 <li><a href="cdt_u_prop_build_settings_tool.htm"> Tool Settings tab</a> |
|
104 <li><a href="cdt_u_prop_build_settings_steps.htm"> Build Steps tab</a> |
|
105 <li><a href="cdt_u_prop_build_settings_artifact.htm"> Build Artifact tab</a> |
|
106 <li><a href="cdt_u_prop_build_settings_binparser.htm">Binary Parsers tab</a> |
|
107 <li><a href="cdt_u_prop_build_settings_errparser.htm">Error Parsers tab</a> |
|
108 </ul> |
|
109 <li><a href="cdt_u_prop_build_toolchain.htm">Tool chain editor page</a> |
|
110 <li><a href="cdt_u_prop_build_variables.htm">Variables page</a> |
|
111 </ul> |
|
112 <li>Project Properties, <a href="cdt_u_prop_general.htm">C/C++ General category</a> |
|
113 <ul type="disc"> |
|
114 <li><a href="cdt_u_prop_general_doc.htm">Documentation page</a> |
|
115 <li><a href="cdt_u_prop_general_exp.htm">Export Settings page</a> |
|
116 <!--ul> |
|
117 <li><a href="cdt_u_prop_general_exp_inc.htm">Includes tab</a> |
|
118 <li><a href="cdt_u_prop_general_exp_sym.htm">Symbols tab</a> |
|
119 <li><a href="cdt_u_prop_general_exp_lib.htm">Libraries tab</a> |
|
120 <li><a href="cdt_u_prop_general_exp_libpath.htm">Libraries path tab</a> |
|
121 </ul--> |
|
122 <li><a href="cdt_u_prop_general_typ.htm">File Types page</a> |
|
123 <li><a href="cdt_u_prop_general_idx.htm">Indexer page</a> |
|
124 <li><a href="cdt_u_prop_general_lng.htm">Language Mapping page</a> |
|
125 <li>Paths and Symbols page |
|
126 <ul> |
|
127 <li><a href="cdt_u_prop_general_pns_inc.htm">Includes tab</a> |
|
128 <li><a href="cdt_u_prop_general_pns_sym.htm">Symbols tab</a> |
|
129 <li><a href="cdt_u_prop_general_pns_lib.htm">Libraries tab</a> |
|
130 <li><a href="cdt_u_prop_general_pns_libpath.htm">Libraries path tab</a> |
|
131 <li><a href="cdt_u_prop_general_pns_src.htm">Source Location tab</a> |
|
132 <li><a href="cdt_u_prop_general_pns_out.htm">Output Location tab</a> |
|
133 <li><a href="cdt_u_prop_general_pns_ref.htm">References tab</a> |
|
134 <li><a href="cdt_u_prop_general_pns_hier.htm">Data Hierarchy tab</a> |
|
135 </ul> |
|
136 </ul> |
|
137 <li><a href="cdt_u_prop_ref.htm">C/C++ Project Properties, Project References page</a> |
|
138 <li><a href="cdt_u_prop_rundebug.htm">C/C++ Project Properties, Run/Debug Settings page</a> |
|
139 </ul> |
|
140 </p> |
|
141 <p><img src="../images/intl_07.gif" ALT="Intel Copyright Statement" ></p> |
|
142 |
|
143 |
|
144 </body> |
|
145 </html> |