mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
Allow files other than C to be included in the projects
Patch by Brezenbak (IRC) svn path=/trunk/; revision=20529
This commit is contained in:
parent
cebd9c6b25
commit
8113f8f796
1 changed files with 2 additions and 2 deletions
|
@ -116,10 +116,10 @@ MSVCBackend::_generate_vcproj ( const Module& module )
|
||||||
// TODO FIXME - do we want the full path of the file here?
|
// TODO FIXME - do we want the full path of the file here?
|
||||||
string file = string(".") + &files[i]->name[vcproj_path.size()];
|
string file = string(".") + &files[i]->name[vcproj_path.size()];
|
||||||
|
|
||||||
if ( !stricmp ( Right(file,2).c_str(), ".c" ) )
|
|
||||||
source_files.push_back ( file );
|
|
||||||
if ( !stricmp ( Right(file,3).c_str(), ".rc" ) )
|
if ( !stricmp ( Right(file,3).c_str(), ".rc" ) )
|
||||||
resource_files.push_back ( file );
|
resource_files.push_back ( file );
|
||||||
|
else
|
||||||
|
source_files.push_back ( file );
|
||||||
}
|
}
|
||||||
const vector<Include*>& incs = data.includes;
|
const vector<Include*>& incs = data.includes;
|
||||||
for ( i = 0; i < incs.size(); i++ )
|
for ( i = 0; i < incs.size(); i++ )
|
||||||
|
|
Loading…
Reference in a new issue