- Uncondtionally build with optimizations (can still be disabled by commenting out...
[reactos.git] / reactos / ReactOS.xml
index 48d5d8c..6eea0f1 100644 (file)
@@ -10,6 +10,9 @@
        <xi:include href="baseaddress.xml" />
 
        <define name="_M_IX86" />
+       <define name="_X86_" />
+       <define name="__i386__" />
+       <define name="_REACTOS_" />
        <if property="MP" value="1">
                <define name="CONFIG_SMP" value="1" />
        </if>
                <define name="DBG" value="1" />
                <property name="DBG_OR_KDBG" value="true" />
        </if>
-       <if property="DBG" value="0">
-               <compilerflag>-Os</compilerflag>
-               <compilerflag>-Wno-strict-aliasing</compilerflag>
-               <compilerflag>-ftracer</compilerflag>
-               <compilerflag>-momit-leaf-frame-pointer</compilerflag>
-               <compilerflag>-mpreferred-stack-boundary=2</compilerflag>
-       </if>
        <if property="KDBG" value="1">
                <define name="KDBG" value="1" />
                <property name="DBG_OR_KDBG" value="true" />
        </if>
+    <compilerflag>-Os</compilerflag>
+    <compilerflag>-Wno-strict-aliasing</compilerflag>
+    <compilerflag>-ftracer</compilerflag>
+    <compilerflag>-momit-leaf-frame-pointer</compilerflag>
+    <compilerflag>-mpreferred-stack-boundary=2</compilerflag>
        <compilerflag>-Wpointer-arith</compilerflag>
 
+       <include>.</include>
        <include>include</include>
        <include>include/reactos</include>
        <include>include/libs</include>
        <include>include/drivers</include>
        <include>include/subsys</include>
+       <include>include/ndk</include>
        <include>w32api/include</include>
+       <include>w32api/include/crt</include>
        <include>w32api/include/ddk</include>
 
        <directory name="apps">