From 77afae681aaf4cfab6bb3e72836c66760ce0dade Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 28 Oct 2003 11:55:40 -0500 Subject: [PATCH] BUG: add preprocessor flags to resource compiler --- Source/cmLocalVisualStudio7Generator.cxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx index 5d55adca9..e3ed47509 100644 --- a/Source/cmLocalVisualStudio7Generator.cxx +++ b/Source/cmLocalVisualStudio7Generator.cxx @@ -434,13 +434,16 @@ void cmLocalVisualStudio7Generator::WriteConfiguration(std::ostream& fout, fout << "\t\t\t\n"; fout << "\t\t\tConvertToXMLOutputPath(i->c_str()); fout << ipath << ";"; } - fout << "\"\n/>\n"; + fout << "\"\n" + << "\t\t\t\tPreprocessorDefinitions=\"" << pre; + this->OutputDefineFlags(fout); + fout << "\" />\n"; fout << "\t\t\t\n"; this->OutputTargetRules(fout, target, libName); this->OutputBuildTool(fout, configName, libName, target);