diff options
author | Petr Kmoch <petr.kmoch@gmail.com> | 2013-03-21 14:53:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-04-12 15:35:35 (GMT) |
commit | de8be9ef7d019023099d28a1f797698ed7b598bd (patch) | |
tree | 1d52ce4dfbec1746b56b82fb131b5c9d03cdd586 /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 674f918a1afbf1808328bac944aa8944f2475fe9 (diff) | |
download | CMake-de8be9ef7d019023099d28a1f797698ed7b598bd.zip CMake-de8be9ef7d019023099d28a1f797698ed7b598bd.tar.gz CMake-de8be9ef7d019023099d28a1f797698ed7b598bd.tar.bz2 |
Add projectDir parameter to GenerateBuildCommand
Extend the cmGlobalGenerator::GenerateBuildCommand virtual method
signature with a "projectDir" parameter specifying the top of the
project build tree for which the build command will be generated.
Populate it from call sites in cmGlobalGenerator::Build where a
fully-generated build tree should be available.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 63cbdb8..8a186e7 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -56,10 +56,12 @@ void cmGlobalVisualStudio7Generator std::string cmGlobalVisualStudio7Generator ::GenerateBuildCommand(const char* makeProgram, - const char *projectName, + const char *projectName, const char *projectDir, const char* additionalOptions, const char *targetName, const char* config, bool ignoreErrors, bool) { + // Visual studio 7 doesn't need project dir + (void) projectDir; // Ingoring errors is not implemented in visual studio 6 (void) ignoreErrors; |