|
|
|
Generic make. The makefiles generated by this project type can be used with any version of make. However, due to configuration issues, it should not be use with ACE or TAO. |
|
|
This option allows the user to force any project to inherit from a specified base project. This option can be used multiple times to force multiple inheritance upon a project. |
|
|
If this option is used with mwc.pl , the directories or mwc files provided in a comma separated list will be excluded when searching for mpc files. Each element provided for exclusion should be relative to the starting directory. This option has no effect when used with mpc.pl . |
|
|
This option instructs MPC to perform direct replacement of $() variables with the values from the environment (if the -use_env option is used) or the values specified by the -relative option. |
|
|
This option allows the user to override the default feature file ( MPC/config/ default.features or ACE_wrappers/bin/MakeProjectCreator/config/default.features ) which may or may not exist. This file can be used to override feature values specified in the global.features file located in the config directory. Feature files are described in section See The Feature File. |
|
|
Specifies the feature list to set before processing. This is a comma separated list and should contain no spaces. |
|
|
This option instructs MPC to generate an "install" file after processing each project. These "install" files can be used with the prj_install.pl script which will copy portions of the project related files into a user specified location. |
|
|
This option specifies the global input file. Values stored within this base project are applied to all generated projects. The default value is ACE_wrappers/bin/MakeProjectCreator/global.mpb or MPC/config/global.mpb . |
|
|
If this option is used with mwc.pl , it will generate a workspace at each directory between the directory in which it is run and the location of a processed mpc file. This option has no effect when used with mpc.pl and is the default for "make" based workspace types. |
|
|
Include search directories are added with this option. These search directories are used when locating base projects, template input files and templates. It can be used multiple times on the same command line. |
|
|
This option is used to specify which language to assume when generating projects. The default language is cplusplus , but csharp , java and vb are also supported. |
|
|
Make based project types that normally name the workspace Makefile ( bmake or nmake ) will name the generated output files such that they can coexist within the same directory. In essence, the bmake and nmake workspace names will not be Makefile , but the name of the workspace followed by the project type ( .bmake or .nmake ). |
|
|
This option allows the user to modify the output names of projects and workspaces. These are usually determined by either the mpc or mwc file, but can be modified using a pattern replacement. The parameter passed to this option will be used as the pattern and any asterisks (*) found in the pattern will be replaced with the project or workspace name depending on which type of file is being created. |
|
|
This option is only useful with the -name_modifier option. When used in conjunction with -name_modifier , the pattern will be applied to the project name in addition to the project or workspace name. |
|
|
This option specifies that the default relative definitions should not be generated. See the -relative option below. |
|
|
This option tells mwc.pl to generate all workspace related project files, but do not generate the associated workspace. This option tells mpc.pl to process all mpc files passed in, but it will not generate any project files. |
|
|
Search from the current directory for any input files and process them from the directory in which they are located. |
|
|
Relative paths are used to replace variables enclosed with $() . By default, any environment variable that ends in _ROOT will be automatically used as a relative path replacement. For more information see See The -relative Option.. |
|
|
This option allows a user to specify an alternate template. Each project type has its own template and this option allows a user to override the default template. |
|
|
Each project type has a set of template input files. With this option the default template input file can be overridden for a particular project type. For more information see See The -ti Option.. |
|
|
This option specifies the type of project or workspace to be generated. It can be specified multiple times to generate different project types for a single set of input files. |
|
|
This option instructs MPC to replace all $() instances with the corresponding environment variable value instead of using values provided by the -relative option. |
|
|
Specifies that static project files will be generated from the MPC projects. The default is to generate dynamic project files. |
|
|
Use this option to override an mpc project assignment from the command line. This can be used to introduce new name value pairs to a project. However, it must be a valid project assignment. For more information see See The -value_project Option.. |
|
|
This option can be used to override existing template input variable values from the command line. It can not be used to introduce new template input name value pairs. For more information see See The -value_template Option.. |
|
|
The previously undocumented complete option can be used to generate a tcsh complete command that allows a user of the tcsh shell to complete on options as well as file names. |
mwc.pl -relative PROJ_TOP=/usr/projects/top
mpc.pl -type vc71 -ti lib:vc7dsplib -ti dll:vc7dspdll
mwc.pl -value_project includes+=/include/path
mwc.pl -type vc71 -value_template configurations=Release
workspace(optional name): optional_base_workspace {
exclude(vc6, vc7, vc71, vc8, nmake) {
project(optional name): base_project, another_base_project {
includes += directory_name other_directory
|
Specifies that this project must be built after 1 or more project names listed. |
|
|
Specifies which features should be disabled in order to generate the project file. Under the GNUACE type, it also specifies which make macros should not be set to build the target. |
|
|
This setting instructs MPC to create projects that only contain custom generation targets. Any files included in the projects will be provided by custom component lists defined through the use of Define_Custom . |
|
|
Specifies preprocessor flags passed to the compiler when building a dynamic library. |
|
|
If defined, specifies where the dynamic libraries will be placed. This overrides libout in the dynamic case. |
|
|
Determines that the project will be an executable and the name of the executable target. |
|
|
Specifies one or more directories to supply to the compiler for use as include search paths. |
|
|
Specifies where the dynamic and static libraries will be placed. |
|
|
Specifies one or more directories to supply to the compiler for use as library search paths. |
|
|
Specifies one or more libraries to link into the target. Library modifiers may be added when being processed in the template file. For example, library modifiers are added when using the vc6 project type. |
|
|
This is the same as libs except that a library modifier will not be added. |
|
|
Values supplied here will be passed directly to the compiler as command line defined macros. |
|
|
The name of the precompiled header file. See the discussion below this table for more information. |
|
|
The name of the precompiled source file. See the discussion below this table for more information. |
|
|
This is similar to lit_libs except that no prefix or extension is added to the names specified. |
|
|
If this is defined in the project, the value will be interpreted as commands to run after the project has been successfully built. The <% %> construct (See Template Files (mpd)) can be used within this value to access template variables and functions of the template parser. |
|
|
If set to 1, MPC will recurse into directories listed under component listings (such as Source_Files, Header_Files, etc.) and add any component corresponding files to the list. This keyword can be used as a global project setting or a component scoped setting. |
|
|
Specifies which features should be enabled in order to generate the project file. Under the GNUACE type, it also specifies which make macros should be set to build the target. |
|
|
Determines that the project will be a library and the name of the dynamic library target. See the discussion below this table for more information. |
|
|
Specifies preprocessor flags passed to the compiler when building a static library. |
|
|
Determines that the project will be a library and the name of the static library target. |
|
|
For GNUACE Make only, specifies one or more names to search for in the macros specified by tagname. |
|
|
Specifies the GNUACE Make macro to check before building the target. |
|
verbatim(<project type>, <location>) {
specific(bmake, nmake, vc6, vc7, vc71, vc8) {
conditional(<project type> [, <project type> ...]) {
keyword mocflags = commandflags
commandflags = --debuglevel=1 --language=c++ \
keyword quogenflags = commandflags
foo.prp >> hello.h hello.cpp << foo.in
flag_keyword(option) += value [, value]
source_outputext = .cpp, .cxx, .cc, .C
header_outputext = .h, .hpp, .hxx, .hh
keyword idlflags = commandflags
optional(source_pre_extension) {
optional(template_outputext) {
commandflags(!-Sc) += S_T.cpp, S_T.cxx, S_T.cc, S_T.C
optional(header_pre_extension) {
optional(inline_pre_extension) {
moc_generated/QtReactor_moc.cpp
Auto_Disconnect.cpp Loopback_Supplier.h RTEC_Initializer.cpp
Auto_Disconnect.h Low_Priority_Setup.cpp RTEC_Initializer.h
Auto_Disconnect.inl Low_Priority_Setup.h rtec_perf_export.h
Auto_Functor.cpp Low_Priority_Setup.inl RTEC_Perf.mpc
Auto_Functor.h Makefile RTPOA_Setup.cpp
Auto_Functor.inl ORB_Holder.cpp RTPOA_Setup.h
Client_Group.cpp ORB_Holder.h RTPOA_Setup.inl
Client_Group.h ORB_Holder.inl RTServer_Setup.cpp
Client_Group.inl ORB_Shutdown.cpp RTServer_Setup.h
Client_Options.cpp ORB_Shutdown.h RTServer_Setup.inl
Client_Options.h ORB_Shutdown.inl Send_Task.cpp
Client_Pair.cpp ORB_Task_Activator.cpp Send_Task.h
Client_Pair.h ORB_Task_Activator.h Send_Task_Stopper.cpp
Client_Pair.inl ORB_Task_Activator.inl Send_Task_Stopper.h
Consumer.cpp ORB_Task.cpp Send_Task_Stopper.inl
Consumer.h ORB_Task.h Servant_var.cpp
Control.cpp ORB_Task.inl Servant_var.h
Control.h Peer_Base.cpp Servant_var.inl
EC_Destroyer.cpp Peer_Base.h Shutdown.cpp
EC_Destroyer.h PriorityBand_Setup.cpp Shutdown.h
EC_Destroyer.inl PriorityBand_Setup.h Shutdown.inl
Federated_Test.idl PriorityBand_Setup.inl Supplier.cpp
Implicit_Deactivator.cpp RIR_Narrow.cpp Supplier.h
Implicit_Deactivator.h RIR_Narrow.h SyncScope_Setup.cpp
Implicit_Deactivator.inl RT_Class.cpp SyncScope_Setup.h
Loopback_Consumer.cpp RT_Class.h SyncScope_Setup.inl
Loopback_Consumer.h RT_Class.inl TAO_RTEC_Perf.dsp
Loopback.cpp RTClient_Setup.cpp TAO_RTEC_Perf.dsw
Loopback.h RTClient_Setup.h Task_Activator.cpp
Loopback_Pair.cpp RTClient_Setup.inl Task_Activator.h
Loopback_Pair.h RTCORBA_Setup.cpp Task_Activator.inl
Loopback_Pair.inl RTCORBA_Setup.h
Loopback_Supplier.cpp RTCORBA_Setup.inl
project(RTEC_Perf): strategies, rtcorbaevent, minimum_corba {
idlflags += -Wb,export_macro=TAO_RTEC_Perf_Export \
-Wb,export_include=rtec_perf_export.h
dllflags += TAO_RTEC_PERF_BUILD_DLL
project(RTEC_Perf): strategies, rtcorbaevent, minimum_corba {
idlflags += -Wb,export_macro=TAO_RTEC_Perf_Export \
-Wb,export_include=rtec_perf_export.h
dllflags += TAO_RTEC_PERF_BUILD_DLL
<%if(exename)%>BIN = <%exename%><%else%>LIB = <%sharedname%><%endif%>