1
0

cmIncludeExternalMSProjectCommand.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #ifndef cmIncludeExternalMSProjectCommand_h
  2. #define cmIncludeExternalMSProjectCommand_h
  3. #include "cmStandardIncludes.h"
  4. #include "cmCommand.h"
  5. /** \class cmIncludeExternalMSProjectCommand
  6. * \brief Specify an external MS project file for inclusion in the workspace.
  7. *
  8. * cmIncludeExternalMSProjectCommand is used to specify an externally generated
  9. * Microsoft project file for inclusion in the default workspace generated by
  10. * CMake.
  11. */
  12. class cmIncludeExternalMSProjectCommand : public cmCommand
  13. {
  14. public:
  15. /**
  16. * This is a virtual constructor for the command.
  17. */
  18. virtual cmCommand* Clone()
  19. {
  20. return new cmIncludeExternalMSProjectCommand;
  21. }
  22. /**
  23. * This is called when the command is first encountered in
  24. * the CMakeLists.txt file.
  25. */
  26. virtual bool InitialPass(std::vector<std::string> const& args);
  27. /**
  28. * The name of the command as specified in CMakeList.txt.
  29. */
  30. virtual const char* GetName() {return "INCLUDE_EXTERNAL_MSPROJECT";}
  31. /**
  32. * Succinct documentation.
  33. */
  34. virtual const char* GetTerseDocumentation()
  35. {
  36. return "Include an external Microsoft project file in a workspace.";
  37. }
  38. /**
  39. * More documentation.
  40. */
  41. virtual const char* GetFullDocumentation()
  42. {
  43. return
  44. "INCLUDE_EXTERNAL_MSPROJECT(projectname location dep1 dep2 ...) Includes an external Microsoft project in the workspace file. Does nothing on UNIX currently\n";
  45. }
  46. cmTypeMacro(cmIncludeExternalMSProjectCommand, cmCommand);
  47. };
  48. #endif