diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-24 22:35:35 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-24 22:35:35 (GMT) |
commit | c4156b4531668adc0dc9bf37f42758d6db03ff68 (patch) | |
tree | 37762d0fda6dadd103b9b4dc2f08facd77cffc35 /Source/cmGlobalGenerator.cxx | |
parent | 46757656011165aa8c857523c8770cd0ea80c3da (diff) | |
download | CMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.zip CMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.tar.gz CMake-c4156b4531668adc0dc9bf37f42758d6db03ff68.tar.bz2 |
COMP: Even more global target fixes
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r-- | Source/cmGlobalGenerator.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx index 525033d..d94a02e 100644 --- a/Source/cmGlobalGenerator.cxx +++ b/Source/cmGlobalGenerator.cxx @@ -1309,11 +1309,13 @@ void cmGlobalGenerator::CreateDefaultGlobalTargets(cmTargets* targets) cmd = "$(CMAKE_COMMAND)"; } singleLine.push_back(cmd.c_str()); - const char* cmakeCfgIntDir = mf->GetDefinition("CMAKE_CFG_INTDIR"); + const char* cmakeCfgIntDir = this->GetCMakeCFGInitDirectory(); + std::cout << "CMakeCFG: " << cmakeCfgIntDir << std::endl; if ( cmakeCfgIntDir && *cmakeCfgIntDir && cmakeCfgIntDir[1] != '.' ) { std::string cfgArg = "-DBUILD_TYPE="; cfgArg += mf->GetDefinition("CMAKE_CFG_INTDIR"); + singleLine.push_back(cfgArg); } singleLine.push_back("-P"); singleLine.push_back("cmake_install.cmake"); |