Merge topic 'MakeUseMangledMesaScriptable'

968d5a0 Make use_mangled_mesa() available in cmake script mode (#11926)
1a91ac4 Remove trailing whitespace
This commit is contained in:
Brad King 2011-03-15 14:47:22 -04:00 committed by CMake Topic Stage
commit d69220fb48
1 changed files with 9 additions and 5 deletions

View File

@ -30,7 +30,7 @@ public:
/**
* This is a virtual constructor for the command.
*/
virtual cmCommand* Clone()
virtual cmCommand* Clone()
{
return new cmUseMangledMesaCommand;
}
@ -41,7 +41,7 @@ public:
*/
virtual bool InitialPass(std::vector<std::string> const& args,
cmExecutionStatus &status);
/**
* The name of the command as specified in CMakeList.txt.
*/
@ -50,11 +50,11 @@ public:
/**
* Succinct documentation.
*/
virtual const char* GetTerseDocumentation()
virtual const char* GetTerseDocumentation()
{
return "Copy mesa headers for use in combination with system GL.";
}
/**
* More documentation.
*/
@ -68,6 +68,11 @@ public:
"being added to the include directory path earlier.";
}
/**
* This determines if the command is invoked when in script mode.
*/
virtual bool IsScriptable() { return true; }
/** This command is kept for compatibility with older CMake versions. */
virtual bool IsDiscouraged()
{
@ -80,5 +85,4 @@ protected:
};
#endif