[ros-diffs] [hpoussin] 26435: Process .idl files before source files

hpoussin at svn.reactos.org hpoussin at svn.reactos.org
Fri Apr 20 14:18:10 CEST 2007


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?rev=26435&r1=26434&r2=26435&view=diff
==============================================================================
--- 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 );




More information about the Ros-diffs mailing list