diff options
author | David Cole <david.cole@kitware.com> | 2008-02-15 16:49:58 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2008-02-15 16:49:58 (GMT) |
commit | ca2a16c0a221bb0c3be4491125c044c9112836e0 (patch) | |
tree | 38e2fab8d33aaf4915039dede364d6d34d815744 /Source/cmGlobalVisualStudio9Generator.cxx | |
parent | ed76198b840b83d49ee4eba9ca0c7753b41d54cf (diff) | |
download | CMake-ca2a16c0a221bb0c3be4491125c044c9112836e0.zip CMake-ca2a16c0a221bb0c3be4491125c044c9112836e0.tar.gz CMake-ca2a16c0a221bb0c3be4491125c044c9112836e0.tar.bz2 |
ENH: Add code to support calling the VS reload macro from Visual Studio 7.1 and 9.0 in addition to 8.0 sp1... Make new macros file with VS 7.1 so that it can be read by 7.1 and later. VS 7.1 does not appear to run the macros while a build is in progress, but does not return any errors either, so for now, the reload macro is not called when using 7.1. If I can figure out how to get 7.1 to execute the macro, I will uncomment the code in cmGlobalVisualStudio71Generator::GetUserMacrosDirectory() to activate executing the macros in VS 7.1, too.
Diffstat (limited to 'Source/cmGlobalVisualStudio9Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio9Generator.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio9Generator.cxx b/Source/cmGlobalVisualStudio9Generator.cxx index 9899f9c..ffc31af 100644 --- a/Source/cmGlobalVisualStudio9Generator.cxx +++ b/Source/cmGlobalVisualStudio9Generator.cxx @@ -33,6 +33,7 @@ void cmGlobalVisualStudio9Generator::AddPlatformDefinitions(cmMakefile* mf) mf->AddDefinition("MSVC90", "1"); } +//---------------------------------------------------------------------------- void cmGlobalVisualStudio9Generator::WriteSLNHeader(std::ostream& fout) { fout << "Microsoft Visual Studio Solution File, Format Version 10.00\n"; @@ -92,3 +93,9 @@ std::string cmGlobalVisualStudio9Generator::GetUserMacrosDirectory() // the Registry value return path; } + +//---------------------------------------------------------------------------- +std::string cmGlobalVisualStudio9Generator::GetUserMacrosRegKeyBase() +{ + return "Software\\Microsoft\\VisualStudio\\9.0\\vsmacros"; +} |