cmIncludeExternalMSProjectCommand.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. /* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
  2. file Copyright.txt or https://cmake.org/licensing for details. */
  3. #ifndef cmIncludeExternalMSProjectCommand_h
  4. #define cmIncludeExternalMSProjectCommand_h
  5. #include "cmCommand.h"
  6. /** \class cmIncludeExternalMSProjectCommand
  7. * \brief Specify an external MS project file for inclusion in the workspace.
  8. *
  9. * cmIncludeExternalMSProjectCommand is used to specify an externally
  10. * generated Microsoft project file for inclusion in the default workspace
  11. * generated by CMake.
  12. */
  13. class cmIncludeExternalMSProjectCommand : public cmCommand
  14. {
  15. public:
  16. /**
  17. * This is a virtual constructor for the command.
  18. */
  19. cmCommand* Clone() CM_OVERRIDE
  20. {
  21. return new cmIncludeExternalMSProjectCommand;
  22. }
  23. /**
  24. * This is called when the command is first encountered in
  25. * the CMakeLists.txt file.
  26. */
  27. bool InitialPass(std::vector<std::string> const& args,
  28. cmExecutionStatus& status) CM_OVERRIDE;
  29. /**
  30. * The name of the command as specified in CMakeList.txt.
  31. */
  32. std::string GetName() const CM_OVERRIDE
  33. {
  34. return "include_external_msproject";
  35. }
  36. cmTypeMacro(cmIncludeExternalMSProjectCommand, cmCommand);
  37. };
  38. #endif