ENH: Renamed cmGlobalVisualStudioGenerator::CallVisualStudioReloadMacro method to CallVisualStudioMacro and added arguments to select which macro to call and optionally pass the solution file name. Added option to call to new StopBuild macro. Updated logic for replacing the macro file in user directories when the distributed version is newer.

This commit is contained in:
Brad King
2007-11-19 13:44:51 -05:00
parent 13e96b1403
commit 9f864879b4
4 changed files with 56 additions and 25 deletions

View File

@@ -49,11 +49,14 @@ public:
*/
virtual std::string GetUserMacrosDirectory();
enum MacroName {MacroReload, MacroStop};
/**
* Call the ReloadProjects macro if necessary based on
* GetFilesReplacedDuringGenerate results.
*/
virtual void CallVisualStudioReloadMacro();
virtual void CallVisualStudioMacro(MacroName m,
const char* vsSolutionFile = 0);
protected:
virtual void CreateGUID(const char*) {}