mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
-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>
svn path=/trunk/; revision=24841
This commit is contained in:
@@ -70,7 +70,7 @@ MSVCBackend::_generate_vcproj ( const Module& module )
|
||||
{
|
||||
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 @@ MSVCBackend::_generate_vcproj ( const Module& module )
|
||||
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 );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user