diff options
author | ocielliottc <elliottc@objectcomputing.com> | 2023-01-03 07:37:33 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-03 07:37:33 -0600 |
commit | 60b0c90efa801c758911bdc4c7949db6809eb3f4 (patch) | |
tree | 5f67f61f50f045f374f8e0ab4067888da95b92af /docs | |
parent | 5aad93c4292b7aa33395dd2bb96c5599c73bdf5a (diff) | |
parent | 26e3b92f9ed15c69f17baca125444b886b874055 (diff) | |
download | MPC-60b0c90efa801c758911bdc4c7949db6809eb3f4.tar.gz |
Merge pull request #164 from DOCGroup/elliottc/cmake-support
Elliottc/cmake support
Diffstat (limited to 'docs')
-rw-r--r-- | docs/USAGE | 8 | ||||
-rw-r--r-- | docs/html/MakeProjectCreator.html | 45 | ||||
-rw-r--r-- | docs/templates/cmake.txt | 17 |
3 files changed, 63 insertions, 7 deletions
@@ -24,10 +24,10 @@ Usage: mwc.pl [-global <file>] [-include <directory>] [-recurse] [-workers <#>] [-workers_dir <dir> | -workers_port <#>] [-language <cplusplus | csharp | java | vb>] [-type <automake | bcb2007 | bcb2009 | bds4 | bmake | cc | cdt6 | - cdt7 | em3 | ghs | html | iar | make | nmake | rpmspec | - sle | uvis | vc6 | vc7 | vc71 | vc8 | vc9 | vc10 | vc11 | - vc12 | vc14 | vs2017 | vs2019 | vs2022 | wb26 | wb30 | - wix>] + cdt7 | cmake | em3 | ghs | html | iar | make | nmake | + rpmspec | sle | uvis | vc6 | vc7 | vc8 | vc9 | vc10 | + vc11 | vc12 | vc14 | vc71 | vs2017 | vs2019 | vs2022 | + wb26 | wb30 | wix>] [files] -base Add <project> as a base project to each generated diff --git a/docs/html/MakeProjectCreator.html b/docs/html/MakeProjectCreator.html index 6e59a72b..bede62d4 100644 --- a/docs/html/MakeProjectCreator.html +++ b/docs/html/MakeProjectCreator.html @@ -286,6 +286,18 @@ <tr> <td rowspan="1" colspan="1"> <p class="Tbl-Body"> + <em class="TableCode">cmake</em> + </p> + </td> + + <td rowspan="1" colspan="1"> + <p class="Tbl-Body">Support for CMake requires user provided modules for custom commands.</p> + </td> + </tr> + + <tr> + <td rowspan="1" colspan="1"> + <p class="Tbl-Body"> <em class="TableCode">em3</em> </p> </td> @@ -6782,7 +6794,7 @@ class="Code">specific</em> clause. </blockquote> <p class="Body"> - The following mpc file (<em class= + The following .mpc file (<em class= "Code">RTEC_Perf.mpc</em> ) shows the simple and small number of lines required to generate usable build tool project files. </p> @@ -6899,7 +6911,9 @@ class="Code">specific</em> clause. Line five adds <em class= "Code">TAO_RTEC_PERF_BUILD_DLL</em> to the <em class= "Code">dllflags</em>, which defines a macro that is used by the - <em class="Code">rtec_perf_export.h</em> header file. + <em class="Code">rtec_perf_export.h</em> header file when + building shared libraries on platforms that support symbol + visibility. </p> <blockquote> @@ -8174,7 +8188,7 @@ class="Code">specific</em> clause. <blockquote> - <p class="Code">document_template.pl v1.3</p> + <p class="Code">document_template.pl v1.4</p> <p class="Code"> Usage: document_template.pl <template> @@ -8184,6 +8198,16 @@ class="Code">specific</em> clause. <p class="Code"> </p> <p class="Code"> + template - .mpd file to document. Certain MPC types don't + use a template, + </p> + + <p class="Code"> + + in that case this aregument can be the Perl module. + </p> + + <p class="Code"> html output - This defaults to the name of the template file with the .mpd </p> @@ -8558,6 +8582,21 @@ class="Code">specific</em> clause. </td> </tr> + <tr> + <td rowspan="1" colspan="1"> + <p class="Tbl-Body"> + <em class= + "TableCode">command->type</em> + </p> + </td> + + <td rowspan="1" colspan="1"> + <p class="Tbl-Body"> + The original type of file for this command. + </p> + </td> + </tr> + </table> </p> diff --git a/docs/templates/cmake.txt b/docs/templates/cmake.txt new file mode 100644 index 00000000..c20cb054 --- /dev/null +++ b/docs/templates/cmake.txt @@ -0,0 +1,17 @@ +// Current as of 10/26/2022 +// This defines the role of all the template variables specific to the +// 'cmake' project type. +// +// The value $ is used below to represent the dollar sign. The dollar +// sign is interpreted by the parser in document_template.pl. +// +// Please try to keep this alphabetically sorted. +// +cmake_minimum_required = Sets the minimum required version for CMake. +env_dllout = The value of 'dllout' with $() values converted to $ENV{}. +env_exeout = The value of 'exeout' with $() values converted to $ENV{}. +env_includes = The value of 'includes' with $() values converted to $ENV{}. +env_libout = The value of 'libout' with $() values converted to $ENV{}. +env_libpaths = The value of 'libpaths' with $() values converted to $ENV{}. +packages = A list of packages to be used with the find_package() command. +pre_find_package = A specific command or set of commands to be issued before any find_package() commands are called. |