mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 15:45:20 +00:00
add support for cpl applets
add hardcoded "." include path like already in msvcmaker.cpp svn path=/trunk/; revision=18595
This commit is contained in:
parent
03bd1b5838
commit
612361f0d7
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue