summaryrefslogtreecommitdiffstats
path: root/Source/cmMSDotNETGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-08-28 18:33:12 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-08-28 18:33:12 (GMT)
commit6046060714cf1c9098a843e65151f3ff27a40a7d (patch)
tree6f49e545b8b915be935bb519a74535da47d8ab03 /Source/cmMSDotNETGenerator.cxx
parent6f310818e1bbcfd7a8f0b8951052a45671d3b18c (diff)
downloadCMake-6046060714cf1c9098a843e65151f3ff27a40a7d.zip
CMake-6046060714cf1c9098a843e65151f3ff27a40a7d.tar.gz
CMake-6046060714cf1c9098a843e65151f3ff27a40a7d.tar.bz2
ENH: add include paths to rc program for resource generation
Diffstat (limited to 'Source/cmMSDotNETGenerator.cxx')
-rw-r--r--Source/cmMSDotNETGenerator.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmMSDotNETGenerator.cxx b/Source/cmMSDotNETGenerator.cxx
index c4b3862..804eaa1 100644
--- a/Source/cmMSDotNETGenerator.cxx
+++ b/Source/cmMSDotNETGenerator.cxx
@@ -811,6 +811,14 @@ void cmMSDotNETGenerator::WriteConfiguration(std::ostream& fout,
fout << "/>\n"; // end of <Tool Name=VCCLCompilerTool
fout << "\t\t\t<Tool\n\t\t\t\tName=\"VCCustomBuildTool\"/>\n";
+ fout << "\t\t\t<Tool\n\t\t\t\tName=\"VCResourceCompilerTool\"\n"
+ << "AdditionalIncludeDirectories=\"";
+ for(i = includes.begin();i != includes.end(); ++i)
+ {
+ std::string ipath = this->ConvertToXMLOutputPath(i->c_str());
+ fout << ipath << ";";
+ }
+ fout << "\"\n/>\n";
fout << "\t\t\t<Tool\n\t\t\t\tName=\"VCMIDLTool\"/>\n";
fout << "\t\t\t<Tool\n\t\t\t\tName=\"VCPostBuildEventTool\"";
this->OutputTargetRules(fout, target, libName);