Browse Source

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

pull/1/head
Bill Hoffman 24 years ago
parent
commit
eede7afb7e
  1. 3
      Source/cmConfigureFileCommand.cxx

3
Source/cmConfigureFileCommand.cxx

@ -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

Loading…
Cancel
Save