ec0ef2f04d32244b5c3ef4a53d6ef0947860e906
[reactos.git] / reactos / ReactOS-generic.rbuild
1 <?xml version="1.0"?>
2 <!DOCTYPE group SYSTEM "tools/rbuild/project.dtd">
3 <group xmlns:xi="http://www.w3.org/2001/XInclude">
4 <xi:include href="baseaddress.rbuild" />
5
6 <define name="__REACTOS__" />
7 <define name="__REACTOS__" host="true" />
8
9 <if property="DBG" value="1">
10 <define name="DBG">1</define>
11 <define name="_SEH_ENABLE_TRACE" />
12 <property name="DBG_OR_KDBG" value="true" />
13 </if>
14 <if property="KDBG" value="1">
15 <define name="KDBG">1</define>
16 <property name="DBG_OR_KDBG" value="true" />
17 </if>
18
19 <!-- The version target valid values are: Nt4 , NT5 , NT51 -->
20 <property name="VERSION_TARGET" value="NT52" />
21
22 <if property="VERSION_TARGET" value="NT4">
23 <define name="WINVER" overridable="true">0x400</define>
24 <define name="_WIN32_IE">0x600</define>
25 <define name="_WIN32_WINNT" overridable="true">0x400</define>
26 <define name="_WIN32_WINDOWS">0x400</define>
27 <define name="_SETUPAPI_VER">0x400</define>
28 </if>
29
30 <if property="VERSION_TARGET" value="NT5">
31 <define name="WINVER" overridable="true">0x500</define>
32 <define name="_WIN32_IE">0x600</define>
33 <define name="_WIN32_WINNT" overridable="true">0x500</define>
34 <define name="_WIN32_WINDOWS">0x500</define>
35 <define name="_SETUPAPI_VER">0x500</define>
36 </if>
37
38 <if property="VERSION_TARGET" value="NT51">
39 <define name="WINVER" overridable="true">0x501</define>
40 <define name="_WIN32_IE">0x600</define>
41 <define name="_WIN32_WINNT" overridable="true">0x501</define>
42 <define name="_WIN32_WINDOWS">0x501</define>
43 <define name="_SETUPAPI_VER">0x501</define>
44 </if>
45
46 <if property="VERSION_TARGET" value="NT52">
47 <define name="WINVER" overridable="true">0x502</define>
48 <define name="_WIN32_IE">0x600</define>
49 <define name="_WIN32_WINNT" overridable="true">0x502</define>
50 <define name="_WIN32_WINDOWS">0x502</define>
51 <define name="_SETUPAPI_VER">0x502</define>
52 </if>
53
54 <if property="VERSION_TARGET" value="NT6">
55 <define name="WINVER" overridable="true">0x600</define>
56 <define name="_WIN32_IE">0x600</define>
57 <define name="_WIN32_WINNT" overridable="true">0x600</define>
58 <define name="_WIN32_WINDOWS">0x600</define>
59 <define name="_SETUPAPI_VER">0x600</define>
60 </if>
61
62 <include>.</include>
63 <include>include</include>
64 <include root="intermediate">include</include>
65 <include>include/psdk</include>
66 <include root="intermediate">include/psdk</include>
67 <include>include/dxsdk</include>
68 <include root="intermediate">include/dxsdk</include>
69 <include>include/crt</include>
70 <include>include/crt/mingw32</include>
71 <include>include/ddk</include>
72 <include>include/GL</include>
73 <include>include/ndk</include>
74 <include>include/reactos</include>
75 <include root="intermediate">include/reactos</include>
76 <include root="intermediate">include/reactos/mc</include>
77 <include>include/reactos/libs</include>
78
79 <include host="true">include</include>
80 <include host="true" root="intermediate">include</include>
81 <include host="true">include/reactos</include>
82 <include host="true">include/reactos/wine</include>
83
84 <directory name="base">
85 <xi:include href="base/base.rbuild" />
86 </directory>
87 <directory name="boot">
88 <xi:include href="boot/boot.rbuild" />
89 </directory>
90 <directory name="dll">
91 <xi:include href="dll/dll.rbuild" />
92 </directory>
93 <directory name="drivers">
94 <xi:include href="drivers/drivers.rbuild" />
95 </directory>
96 <directory name="hal">
97 <xi:include href="hal/hal.rbuild" />
98 </directory>
99 <directory name="include">
100 <xi:include href="include/directory.rbuild" />
101 </directory>
102 <directory name="lib">
103 <xi:include href="lib/lib.rbuild" />
104 </directory>
105 <directory name="media">
106 <xi:include href="media/media.rbuild" />
107 </directory>
108 <directory name="modules">
109 <xi:include href="modules/directory.rbuild" />
110 </directory>
111 <directory name="ntoskrnl">
112 <xi:include href="ntoskrnl/ntoskrnl.rbuild" />
113 <xi:include href="ntoskrnl/ntkrnlmp.rbuild" />
114 </directory>
115 <directory name="subsystems">
116 <xi:include href="subsystems/subsystems.rbuild" />
117 </directory>
118 <directory name="tools">
119 <xi:include href="tools/tools.rbuild" />
120 </directory>
121
122 <compilerflag compiler="cpp">-Wno-non-virtual-dtor</compilerflag>
123 </group>