From 612361f0d7a664c25b780e16e11b854dcb578b41 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Wed, 19 Oct 2005 16:08:34 +0000 Subject: [PATCH] add support for cpl applets add hardcoded "." include path like already in msvcmaker.cpp svn path=/trunk/; revision=18595 --- reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp b/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp index 674206b09ba..c2dc46972c4 100644 --- a/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp +++ b/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp @@ -50,7 +50,7 @@ MSVCBackend::_generate_vcproj ( const Module& module ) string module_type = GetExtension(module.GetTargetName()); bool lib = (module_type == ".lib") || (module_type == ".a"); - bool dll = (module_type == ".dll"); + bool dll = (module_type == ".dll") || (module_type == ".cpl"); bool exe = (module_type == ".exe"); // TODO FIXME - need more checks here for 'sys' and possibly 'drv'? @@ -109,6 +109,10 @@ MSVCBackend::_generate_vcproj ( const Module& module ) if ( !strncmp(incs[i]->directory.c_str(), "w32api", 6 ) ) continue; + // explicitly omit include/wine directories + if ( !strncmp(incs[i]->directory.c_str(), "include\\wine", 12 ) ) + continue; + string path = Path::RelativeFromDirectory ( incs[i]->directory, module.GetBasePath() ); @@ -201,6 +205,7 @@ MSVCBackend::_generate_vcproj ( const Module& module ) fprintf ( OUT, "\t\t\t\tAdditionalIncludeDirectories=\"" ); bool multiple_includes = false; + fprintf ( OUT, "/.;" ); for ( i = 0; i < includes.size(); i++ ) { const string& include = includes[i];