Resync
[CMakeLuaTailorHgBridge.git] / CMakeLua / Source / cmIncludeExternalMSProjectCommand.h
blobe19769ecd30a530a56cdb67416d7b3178ff0754c
1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmIncludeExternalMSProjectCommand.h,v $
5 Language: C++
6 <<<<<<< cmIncludeExternalMSProjectCommand.h
7 Date: $Date: 2008/01/23 15:27:59 $
8 Version: $Revision: 1.8 $
9 =======
10 Date: $Date: 2008-11-21 19:57:07 $
11 Version: $Revision: 1.9 $
12 >>>>>>> 1.9
14 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
15 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
17 This software is distributed WITHOUT ANY WARRANTY; without even
18 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
19 PURPOSE. See the above copyright notices for more information.
21 =========================================================================*/
22 #ifndef cmIncludeExternalMSProjectCommand_h
23 #define cmIncludeExternalMSProjectCommand_h
25 #include "cmCommand.h"
27 /** \class cmIncludeExternalMSProjectCommand
28 * \brief Specify an external MS project file for inclusion in the workspace.
30 * cmIncludeExternalMSProjectCommand is used to specify an externally
31 * generated Microsoft project file for inclusion in the default workspace
32 * generated by CMake.
34 class cmIncludeExternalMSProjectCommand : public cmCommand
36 public:
37 /**
38 * This is a virtual constructor for the command.
40 virtual cmCommand* Clone()
42 return new cmIncludeExternalMSProjectCommand;
45 /**
46 * This is called when the command is first encountered in
47 * the CMakeLists.txt file.
49 virtual bool InitialPass(std::vector<std::string> const& args,
50 cmExecutionStatus &status);
52 /**
53 * The name of the command as specified in CMakeList.txt.
55 virtual const char* GetName() {return "include_external_msproject";}
57 /**
58 * Succinct documentation.
60 virtual const char* GetTerseDocumentation()
62 return "Include an external Microsoft project file in a workspace.";
65 /**
66 * More documentation.
68 virtual const char* GetFullDocumentation()
70 return
71 " include_external_msproject(projectname location\n"
72 " dep1 dep2 ...)\n"
73 "Includes an external Microsoft project in the generated workspace "
74 "file. Currently does nothing on UNIX. This will create a "
75 "target named INCLUDE_EXTERNAL_MSPROJECT_[projectname]. This can "
76 "be used in the add_dependencies command to make things depend "
77 "on the external project.";
80 cmTypeMacro(cmIncludeExternalMSProjectCommand, cmCommand);
85 #endif