STYLE: fix link length issues

This commit is contained in:
Bill Hoffman 2008-12-07 19:36:03 -05:00
parent 715788108c
commit 97392a754c
1 changed files with 30 additions and 10 deletions

View File

@ -1517,17 +1517,37 @@ void cmLocalVisualStudio6Generator
std::string minsizeDefines = " "; std::string minsizeDefines = " ";
std::string debugrelDefines = " "; std::string debugrelDefines = " ";
this->AppendDefines(defines,this->Makefile->GetProperty("COMPILE_DEFINITIONS"), 0); this->AppendDefines(
this->AppendDefines(debugDefines,this->Makefile->GetProperty("COMPILE_DEFINITIONS_DEBUG"), 0); defines,
this->AppendDefines(releaseDefines,this->Makefile->GetProperty("COMPILE_DEFINITIONS_RELEASE"), 0); this->Makefile->GetProperty("COMPILE_DEFINITIONS"), 0);
this->AppendDefines(minsizeDefines,this->Makefile->GetProperty("COMPILE_DEFINITIONS_MINSIZEREL"), 0); this->AppendDefines(
this->AppendDefines(debugrelDefines,this->Makefile->GetProperty("COMPILE_DEFINITIONS_RELWITHDEBINFO"), 0); debugDefines,
this->Makefile->GetProperty("COMPILE_DEFINITIONS_DEBUG"),0);
this->AppendDefines(
releaseDefines,
this->Makefile->GetProperty("COMPILE_DEFINITIONS_RELEASE"), 0);
this->AppendDefines(
minsizeDefines,
this->Makefile->GetProperty("COMPILE_DEFINITIONS_MINSIZEREL"), 0);
this->AppendDefines(
debugrelDefines,
this->Makefile->GetProperty("COMPILE_DEFINITIONS_RELWITHDEBINFO"), 0);
this->AppendDefines(defines,target.GetProperty("COMPILE_DEFINITIONS"), 0); this->AppendDefines(
this->AppendDefines(debugDefines,target.GetProperty("COMPILE_DEFINITIONS_DEBUG"), 0); defines,
this->AppendDefines(releaseDefines,target.GetProperty("COMPILE_DEFINITIONS_RELEASE"), 0); target.GetProperty("COMPILE_DEFINITIONS"), 0);
this->AppendDefines(minsizeDefines,target.GetProperty("COMPILE_DEFINITIONS_MINSIZEREL"), 0); this->AppendDefines(
this->AppendDefines(debugrelDefines,target.GetProperty("COMPILE_DEFINITIONS_RELWITHDEBINFO"), 0); debugDefines,
target.GetProperty("COMPILE_DEFINITIONS_DEBUG"), 0);
this->AppendDefines(
releaseDefines,
target.GetProperty("COMPILE_DEFINITIONS_RELEASE"), 0);
this->AppendDefines(
minsizeDefines,
target.GetProperty("COMPILE_DEFINITIONS_MINSIZEREL"), 0);
this->AppendDefines(
debugrelDefines,
target.GetProperty("COMPILE_DEFINITIONS_RELWITHDEBINFO"), 0);
flags += defines; flags += defines;
flagsDebug += debugDefines; flagsDebug += debugDefines;
flagsRelease += releaseDefines; flagsRelease += releaseDefines;