- Create KD branch. All debugging support is removed in this branch (no symbols,...
[reactos.git] / reactos / config.template.rbuild
1 <?xml version="1.0"?>
2 <rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
3
4 <!--
5 This file is a template used as a starting point for compile-time
6 configuration of ReactOS. Make a copy of this file and name it config.rbuild.
7 Then change the options in config.rbuild. If you don't have a config.rbuild file,
8 then the defaults in this file, config.template.rbuild, will be used instead.
9
10 Boolean options can obtain the values 0 (disabled) or 1 (enabled). String
11 options can obtain any value specified in the comment before it.
12 -->
13
14
15 <!--
16 Architecture to build for. Specify one of:
17 i386
18 -->
19 <property name="ARCH" value="i386" />
20
21 <!--
22 Sub-architecture to build for. Specify one of:
23 xbox
24 -->
25 <property name="SARCH" value="" />
26
27
28 <!--
29 Which CPU ReactOS should be optimized for. Specify one of:
30 i486, i586, pentium, pentium2, pentium3, pentium4, athlon-xp, athlon-mp,
31 k6-2
32
33 See GCC manual for more CPU names and which CPUs GCC can optimize for.
34 -->
35 <property name="OARCH" value="i486" />
36
37
38 <!--
39 OPTIMIZE what level do you want ReactOS to be optimized at
40 this setting does not work if GDB is set
41 0 = off
42 1 = Normal compiling recommended, is default setting in official build and debug build
43
44 warning : 2,3,4,5 is not tested on ReactOS. Change at own risk.
45
46 2 = gcc -Oz with -mpreferred-stack-boundary=2
47 3 = gcc -O1 with -mpreferred-stack-boundary=2
48 4 = gcc -O2 with -mpreferred-stack-boundary=2
49 5 = gcc -O3 with -mpreferred-stack-boundary=2
50 -->
51 <property name="OPTIMIZE" value="1" />
52
53
54 <!--
55 Whether to compile for an uniprocessor or multiprocessor machine.
56 -->
57 <property name="MP" value="0" />
58
59
60 <!--
61 Whether to compile in the integrated kernel debugger.
62 -->
63 <property name="KDBG" value="0" />
64
65
66 <!--
67 Whether to compile for debugging. No compiler optimizations will be
68 performed.
69 -->
70 <property name="DBG" value="1" />
71
72
73 <!--
74 Whether to compile for debugging with GDB. If you don't use GDB, don't
75 enable this.
76 -->
77 <property name="GDB" value="0" />
78
79
80 <!--
81 Whether to compile apps/libs with features covered software patents or not.
82 If you live in a country where software patents are valid/apply, don't
83 enable this (except they/you purchased a license from the patent owner).
84 This settings is disabled (0) by default.
85 -->
86 <property name="NSWPAT" value="0" />
87
88 <!--
89 Whether to compile with NT-compatible LPC Semantics. At the moment, this will
90 cause all LPC-related functionality to fail and should only be used if you're
91 working on the \ntlpc directory. Leave this disabled unless you really know
92 what you're doing.
93 -->
94 <property name="NTLPC" value="1" />
95
96 </rbuild>