summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudioGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-11-19 18:44:51 (GMT)
committerBrad King <brad.king@kitware.com>2007-11-19 18:44:51 (GMT)
commit9f864879b4869cefea70099414634c0aed2eb547 (patch)
tree2bbf3d3f5ece0f775b8dc81783338b4aab714d42 /Source/cmGlobalVisualStudioGenerator.h
parent13e96b14031e72a13e1e9da674bb50a05ded1200 (diff)
downloadCMake-9f864879b4869cefea70099414634c0aed2eb547.zip
CMake-9f864879b4869cefea70099414634c0aed2eb547.tar.gz
CMake-9f864879b4869cefea70099414634c0aed2eb547.tar.bz2
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.
Diffstat (limited to 'Source/cmGlobalVisualStudioGenerator.h')
-rw-r--r--Source/cmGlobalVisualStudioGenerator.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudioGenerator.h b/Source/cmGlobalVisualStudioGenerator.h
index 575910d..4237b97 100644
--- a/Source/cmGlobalVisualStudioGenerator.h
+++ b/Source/cmGlobalVisualStudioGenerator.h
@@ -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*) {}