mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 13:51:33 -06:00
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:
@@ -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*) {}
|
||||
|
||||
Reference in New Issue
Block a user