• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1include_external_msproject
2--------------------------
3
4Include an external Microsoft project file in a workspace.
5
6.. code-block:: cmake
7
8  include_external_msproject(projectname location
9                             [TYPE projectTypeGUID]
10                             [GUID projectGUID]
11                             [PLATFORM platformName]
12                             dep1 dep2 ...)
13
14Includes an external Microsoft project in the generated workspace
15file.  Currently does nothing on UNIX.  This will create a target
16named ``[projectname]``.  This can be used in the :command:`add_dependencies`
17command to make things depend on the external project.
18
19``TYPE``, ``GUID`` and ``PLATFORM`` are optional parameters that allow one to
20specify the type of project, id (``GUID``) of the project and the name of
21the target platform.  This is useful for projects requiring values
22other than the default (e.g.  WIX projects).
23
24.. versionadded:: 3.9
25  If the imported project has different configuration names than the
26  current project, set the :prop_tgt:`MAP_IMPORTED_CONFIG_<CONFIG>`
27  target property to specify the mapping.
28