Author: hpoussin
Date: Fri Apr 20 16:18:10 2007
New Revision: 26435
URL:
http://svn.reactos.org/svn/reactos?rev=26435&view=rev
Log:
Process .idl files before source files
Modified:
trunk/reactos/tools/rbuild/module.cpp
Modified: trunk/reactos/tools/rbuild/module.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/module.cpp?re…
==============================================================================
--- trunk/reactos/tools/rbuild/module.cpp (original)
+++ trunk/reactos/tools/rbuild/module.cpp Fri Apr 20 16:18:10 2007
@@ -583,7 +583,13 @@
if ( parseContext.ifData )
parseContext.ifData->data.compilationUnits.push_back ( pCompilationUnit );
else
- non_if_data.compilationUnits.push_back ( pCompilationUnit );
+ {
+ string ext = GetExtension ( e.value );
+ if ( !stricmp ( ext.c_str(), ".idl" ) )
+ non_if_data.compilationUnits.insert ( non_if_data.compilationUnits.begin(),
pCompilationUnit );
+ else
+ non_if_data.compilationUnits.push_back ( pCompilationUnit );
+ }
}
if ( parseContext.ifData )
parseContext.ifData->data.files.push_back ( pFile );