2 <rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
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.
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.
16 Architecture to build for. Specify one of:
19 <property name="ARCH" value="i386" />
22 Sub-architecture to build for. Specify one of:
25 <property name="SARCH" value="" />
29 Which CPU ReactOS should be optimized for. Specify one of:
30 i486, i586, pentium, pentium2, pentium3, pentium4, athlon-xp, athlon-mp,
33 See GCC manual for more CPU names and which CPUs GCC can optimize for.
35 <property name="OARCH" value="i486" />
39 OPTIMIZE what level do you want ReactOS to be optimized at
40 this setting does not work if GDB is set
42 1 = Normal compiling recommended, is default setting in official build and debug build
44 warning : 2,3,4,5 is not tested on ReactOS. Change at own risk.
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
51 <property name="OPTIMIZE" value="1" />
55 Whether to compile for an uniprocessor or multiprocessor machine.
57 <property name="MP" value="0" />
61 Whether to compile in the integrated kernel debugger.
63 <property name="KDBG" value="0" />
67 Whether to compile for debugging. No compiler optimizations will be
70 <property name="DBG" value="1" />
74 Whether to compile for debugging with GDB. If you don't use GDB, don't
77 <property name="GDB" value="0" />
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.
86 <property name="NSWPAT" value="0" />
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
94 <property name="NTLPC" value="1" />