include_external_msproject.rst 1.0 KB

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