Line 17... |
Line 17... |
17 |
[-value_project <NAME+=VAL | NAME=VAL | NAME-=VAL>]
|
17 |
[-value_project <NAME+=VAL | NAME=VAL | NAME-=VAL>]
|
18 |
[-make_coexistence] [-feature_file <file name>]
|
18 |
[-make_coexistence] [-feature_file <file name>]
|
19 |
[-expand_vars] [-features <feature definitions>]
|
19 |
[-expand_vars] [-features <feature definitions>]
|
20 |
[-exclude <directories>] [-name_modifier <pattern>]
|
20 |
[-exclude <directories>] [-name_modifier <pattern>]
|
21 |
[-apply_project] [-version] [-into <directory>]
|
21 |
[-apply_project] [-version] [-into <directory>]
|
- |
|
22 |
[-gfeature_file <file name>]
|
22 |
[-language <cplusplus | csharp | java | vb>]
|
23 |
[-language <cplusplus | csharp | java | vb>]
|
23 |
[-type <automake | bmake | cbx | em3 | ghs | html |
|
24 |
[-type <automake | bds | bmake | em3 | ghs | html |
|
24 |
make | nmake | sle | vc6 | vc7 | vc71 |
|
25 |
make | nmake | sle | vc6 | vc7 | vc71 |
|
25 |
vc8>]
|
26 |
vc8>]
|
26 |
[files]
|
27 |
[files]
|
27 |
|
28 |
|
28 |
-base Add <project> as a base project to each generated
|
29 |
-base Add <project> as a base project to each generated
|
Line 36... |
Line 37... |
36 |
-feature_file Specifies the feature file to read before processing.
|
37 |
-feature_file Specifies the feature file to read before processing.
|
37 |
The default feature file is default.features under the
|
38 |
The default feature file is default.features under the
|
38 |
config directory.
|
39 |
config directory.
|
39 |
-features Specifies the feature list to set before processing.
|
40 |
-features Specifies the feature list to set before processing.
|
40 |
-genins Generate .ins files for use with prj_install.pl.
|
41 |
-genins Generate .ins files for use with prj_install.pl.
|
- |
|
42 |
-gfeature_file Specifies the global feature file. The
|
- |
|
43 |
default value is global.features under the
|
- |
|
44 |
config directory.
|
41 |
-global Specifies the global input file. Values stored
|
45 |
-global Specifies the global input file. Values stored
|
42 |
within this file are applied to all projects.
|
46 |
within this file are applied to all projects.
|
43 |
-hierarchy Generate a workspace in a hierarchical fashion.
|
47 |
-hierarchy Generate a workspace in a hierarchical fashion.
|
44 |
-include Specifies a directory to search when looking for base
|
48 |
-include Specifies a directory to search when looking for base
|
45 |
projects, template input files and templates. This
|
49 |
projects, template input files and templates. This
|
46 |
option can be used multiple times to add directories.
|
50 |
option can be used multiple times to add directories.
|
47 |
-into Place all output files in a mirrored directory
|
51 |
-into Place all output files in a mirrored directory
|
48 |
structure starting at <directory>.
|
52 |
structure starting at <directory>.
|
49 |
-language Specify the language preference. The default is
|
53 |
-language Specify the language preference; possible values are
|
- |
|
54 |
[cplusplus csharp java vb]. The default is
|
50 |
cplusplus.
|
55 |
cplusplus.
|
51 |
-make_coexistence If multiple 'make' based project types are
|
56 |
-make_coexistence If multiple 'make' based project types are
|
52 |
generated, they will be named such that they can coexist.
|
57 |
generated, they will be named such that they can coexist.
|
53 |
-name_modifier Modify output names. The pattern passed to this
|
58 |
-name_modifier Modify output names. The pattern passed to this
|
54 |
parameter will have the '*' portion replaced with the
|
59 |
parameter will have the '*' portion replaced with the
|
Line 176... |
Line 181... |
176 |
The -features specifies additional list of features values. Values
|
181 |
The -features specifies additional list of features values. Values
|
177 |
specified by this option overwrite values from features files.
|
182 |
specified by this option overwrite values from features files.
|
178 |
Example:
|
183 |
Example:
|
179 |
mwc.pl -features "qos=1,ssl=0" ace.mwc
|
184 |
mwc.pl -features "qos=1,ssl=0" ace.mwc
|
180 |
|
185 |
|
- |
|
186 |
The -value_template option can be used to set various template variables.
|
- |
|
187 |
If a template variable value will contain spaces, it is best to enclose the
|
- |
|
188 |
whole setting in double quotes and use single quotes within the value to
|
- |
|
189 |
retain spaces (if it is necessary). Below is an example where the value
|
- |
|
190 |
will have spaces and some spaces need to be retained.
|
- |
|
191 |
|
- |
|
192 |
mwc.pl -value_template "configurations=Debug Release 'Memcheck Debug' 'Memcheck Release'"
|
- |
|
193 |
|
181 |
|
194 |
|
182 |
Running only the Project Generator
|
195 |
Running only the Project Generator
|
183 |
----------------------------------
|
196 |
----------------------------------
|
184 |
|
197 |
|
185 |
Most of what is stated about the Workspace Generator applies to the Project
|
198 |
Most of what is stated about the Workspace Generator applies to the Project
|