diff options
author | Brad King <brad.king@kitware.com> | 2005-07-27 17:36:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2005-07-27 17:36:36 (GMT) |
commit | f9aef0e422b7e308d48bb409c435cc78739c4804 (patch) | |
tree | ee26bbf79a839a833431648791b6ec2ce19c932a /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 4a98fcd0595b4ea270143bb5aeac7f2c6a4d46f6 (diff) | |
download | CMake-f9aef0e422b7e308d48bb409c435cc78739c4804.zip CMake-f9aef0e422b7e308d48bb409c435cc78739c4804.tar.gz CMake-f9aef0e422b7e308d48bb409c435cc78739c4804.tar.bz2 |
ENH: Generator now creates a separate intermediate files directory for each target. This is needed for MSVC 8 to support parallel builds.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 34ae9a2..c44a782 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -31,7 +31,7 @@ cmGlobalVisualStudio7Generator::cmGlobalVisualStudio7Generator() void cmGlobalVisualStudio7Generator::EnableLanguage(std::vector<std::string>const & lang, cmMakefile *mf) { - mf->AddDefinition("CMAKE_CFG_INTDIR","$(IntDir)"); + mf->AddDefinition("CMAKE_CFG_INTDIR","$(OutDir)"); mf->AddDefinition("CMAKE_GENERATOR_CC", "cl"); mf->AddDefinition("CMAKE_GENERATOR_CXX", "cl"); mf->AddDefinition("CMAKE_GENERATOR_RC", "rc"); @@ -200,7 +200,7 @@ void cmGlobalVisualStudio7Generator::Generate() gen[0]->GetMakefile()-> AddUtilityCommand("INSTALL", false, no_output, no_depends, cmake_command.c_str(), - "-DBUILD_TYPE=$(IntDir)", "-P", "cmake_install.cmake"); + "-DBUILD_TYPE=$(OutDir)", "-P", "cmake_install.cmake"); // Make the INSTALL target depend on ALL_BUILD unless the // project says to not do so. |