cmLocalVisualStudio7Generator: Rename local 'lang' var
In the WriteGroup method, rename the 'lang' var to 'ppLang' since it is specifically for the preprocessor definitions language selection.
This commit is contained in:
parent
5fcb42ab69
commit
802dbe5239
|
@ -1695,7 +1695,7 @@ bool cmLocalVisualStudio7Generator
|
||||||
else if(!fcinfo.FileConfigMap.empty())
|
else if(!fcinfo.FileConfigMap.empty())
|
||||||
{
|
{
|
||||||
const char* aCompilerTool = "VCCLCompilerTool";
|
const char* aCompilerTool = "VCCLCompilerTool";
|
||||||
const char* lang = "CXX";
|
const char* ppLang = "CXX";
|
||||||
if(this->FortranProject)
|
if(this->FortranProject)
|
||||||
{
|
{
|
||||||
aCompilerTool = "VFFortranCompilerTool";
|
aCompilerTool = "VFFortranCompilerTool";
|
||||||
|
@ -1713,7 +1713,7 @@ bool cmLocalVisualStudio7Generator
|
||||||
if(ext == "rc")
|
if(ext == "rc")
|
||||||
{
|
{
|
||||||
aCompilerTool = "VCResourceCompilerTool";
|
aCompilerTool = "VCResourceCompilerTool";
|
||||||
lang = "RC";
|
ppLang = "RC";
|
||||||
if(this->FortranProject)
|
if(this->FortranProject)
|
||||||
{
|
{
|
||||||
aCompilerTool = "VFResourceCompilerTool";
|
aCompilerTool = "VFResourceCompilerTool";
|
||||||
|
@ -1763,7 +1763,7 @@ bool cmLocalVisualStudio7Generator
|
||||||
fileOptions.OutputFlagMap(fout, "\t\t\t\t\t");
|
fileOptions.OutputFlagMap(fout, "\t\t\t\t\t");
|
||||||
fileOptions.OutputPreprocessorDefinitions(fout,
|
fileOptions.OutputPreprocessorDefinitions(fout,
|
||||||
"\t\t\t\t\t", "\n",
|
"\t\t\t\t\t", "\n",
|
||||||
lang);
|
ppLang);
|
||||||
}
|
}
|
||||||
if(!fc.AdditionalDeps.empty())
|
if(!fc.AdditionalDeps.empty())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue