ENH: do not undef cmakedefine stuff, just comment out the line

This commit is contained in:
Bill Hoffman 2002-01-16 12:45:33 -05:00
parent 67a5a82586
commit eede7afb7e
1 changed files with 2 additions and 1 deletions

View File

@ -152,14 +152,15 @@ void cmConfigureFileCommand::ConfigureFile()
{
cmSystemTools::ReplaceString(inLine,
"#cmakedefine", "#define");
fout << inLine << "\n";
}
else
{
cmSystemTools::ReplaceString(inLine,
"#cmakedefine", "#undef");
fout << "/* " << inLine << " */\n";
}
}
fout << inLine << "\n";
}
}
// close the files before attempting to copy