Sync with trunk (48237)
[reactos.git] / config.template.rbuild
1 <?xml version="1.0"?>
2 <!DOCTYPE group SYSTEM "tools/rbuild/project.dtd">
3 <group>
4
5 <!--
6 This file is a template used as a starting point for compile-time
7 configuration of ReactOS. Make a copy of this file and name it config.rbuild.
8 Then change the options in config.rbuild. If you don't have a config.rbuild file,
9 then the defaults in this file, config.template.rbuild, will be used instead.
10
11 Boolean options can obtain the values 0 (disabled) or 1 (enabled). String
12 options can obtain any value specified in the comment before it.
13 -->
14
15
16 <!--
17 Sub-architecture to build for. Specify one of:
18 xbox
19 -->
20 <property name="SARCH" value="" />
21
22
23 <!--
24 Generate instructions for this CPU type. Specify one of:
25 native, i386, i486, pentium, pentium-mmx, pentiumpro, i686,
26 pentium2, pentium3, pentium-m, pentium4, prescott, nocona,
27 core2, k6, k6-2, athlon, athlon-xp, opteron, opteron-sse3,
28 barcelona, winchip-c6, winchip2, c3, c3-2, geode
29
30 See GCC manual for more CPU names.
31 -->
32 <property name="OARCH" value="pentium" />
33
34
35 <!--
36 Which CPU ReactOS should be optimized for. Specify one of the above
37 CPUs or generic. When this option is not used, GCC will optimize for
38 the processor specified by OARCH.
39 -->
40 <property name="TUNE" value="i686" />
41
42
43 <!--
44 What level of optimisation to use.
45 0 = off
46 1 = Default option, optimize for size (-Os) with some additional options
47 2 = -Os
48 3 = -O1
49 4 = -O2
50 5 = -O3
51 -->
52 <property name="OPTIMIZE" value="1" />
53
54
55 <!--
56 Whether to compile in the integrated kernel debugger.
57 -->
58 <property name="KDBG" value="1" />
59
60
61 <!--
62 Whether to compile for debugging.
63 -->
64 <property name="DBG" value="1" />
65
66
67 <!--
68 Whether to compile for debugging with GDB. If you don't use GDB, don't
69 enable this.
70 -->
71 <property name="GDB" value="0" />
72
73
74 <!--
75 Whether to compile apps/libs with features covered software patents or not.
76 If you live in a country where software patents are valid/apply, don't
77 enable this (except they/you purchased a license from the patent owner).
78 This settings is disabled (0) by default.
79 -->
80 <property name="NSWPAT" value="0" />
81
82 <!--
83 Whether to compile with the KD protocol. This will disable support for KDBG
84 as well as rossym and symbol lookups, and allow WinDBG to connect to ReactOS.
85 This is currently not fully working, and requires kdcom from Windows 2003 or
86 TinyKRNL. Booting into debug mode with this flag enabled will result in a
87 failure to enter GUI mode. Do not enable unless you know what you're doing.
88 -->
89 <property name="_WINKD_" value="0" />
90
91 <!--
92 Whether to compile support for ELF files. Do not enable unless you know what
93 you're doing.
94 -->
95 <property name="_ELF_" value="0" />
96
97 <!--
98 Whether to compile the multi processor versions for ntoskrnl and hal.
99 -->
100 <property name="BUILD_MP" value="1" />
101
102 </group>