Author: janderwald
Date: Sun Nov 26 23:05:42 2006
New Revision: 24841
URL:
http://svn.reactos.org/svn/reactos?rev=24841&view=rev
Log:
-only include files where if Property == value || If not Property != value
- example win32k.rbuild:
<ifnot property="ARCH" value="i386">
<file>dib24bppc.c</file>
<file>dib32bppc.c</file>
</ifnot>
Modified:
trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
Modified: trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/msvc/…
==============================================================================
--- trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp (original)
+++ trunk/reactos/tools/rbuild/backend/msvc/vcprojmaker.cpp Sun Nov 26 23:05:42 2006
@@ -70,7 +70,7 @@
{
size_t i;
- string vcproj_file = VcprojFileName(module);
+ string vcproj_file = VcprojFileName(module);
string username = getenv ( "USERNAME" );
string computername = getenv ( "COMPUTERNAME" );
@@ -133,7 +133,8 @@
const Property* property = _lookup_property( module, data.ifs[i]->property );
if ( property != NULL )
{
- if ( data.ifs[i]->value == property->value || data.ifs[i]->negated )
+ if ( data.ifs[i]->value == property->value && data.ifs[i]->negated
== false ||
+ data.ifs[i]->value != property->value && data.ifs[i]->negated)
ifs_list.push_back ( &data.ifs[i]->data );
}
}