No need to define __USE_W32API
[reactos.git] / reactos / 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 Which CPU ReactOS should be optimized for. Specify one of:
25 i486, i586, pentium, pentium2, pentium3, pentium4, athlon-xp, athlon-mp,
26 k6-2
27
28 See GCC manual for more CPU names and which CPUs GCC can optimize for.
29 -->
30 <property name="OARCH" value="pentium" />
31
32
33 <!--
34 OPTIMIZE what level do you want ReactOS to be optimized at
35 this setting does not work if GDB is set
36 0 = off
37 1 = Normal compiling recommended, is default setting in official build and debug build
38
39 warning : 2,3,4,5 is not tested on ReactOS. Change at own risk.
40
41 2 = gcc -Oz with -mpreferred-stack-boundary=2
42 3 = gcc -O1 with -mpreferred-stack-boundary=2
43 4 = gcc -O2 with -mpreferred-stack-boundary=2
44 5 = gcc -O3 with -mpreferred-stack-boundary=2
45 -->
46 <property name="OPTIMIZE" value="1" />
47
48
49 <!--
50 Whether to compile for an uniprocessor or multiprocessor machine.
51 -->
52 <property name="MP" value="0" />
53
54
55 <!--
56 Whether to compile in the integrated kernel debugger.
57 -->
58 <property name="KDBG" value="0" />
59
60
61 <!--
62 Whether to compile for debugging. No compiler optimizations will be
63 performed.
64 -->
65 <property name="DBG" value="1" />
66
67
68 <!--
69 Whether to compile for debugging with GDB. If you don't use GDB, don't
70 enable this.
71 -->
72 <property name="GDB" value="0" />
73
74
75 <!--
76 Whether to compile apps/libs with features covered software patents or not.
77 If you live in a country where software patents are valid/apply, don't
78 enable this (except they/you purchased a license from the patent owner).
79 This settings is disabled (0) by default.
80 -->
81 <property name="NSWPAT" value="0" />
82
83 <!--
84 Whether to compile with the KD protocol. This will disable support for KDBG
85 as well as rossym and symbol lookups, and allow WinDBG to connect to ReactOS.
86 This is currently not fully working, and requires kdcom from Windows 2003 or
87 TinyKRNL. Booting into debug mode with this flag enabled will result in a
88 failure to enter GUI mode. Do not enable unless you know what you're doing.
89 -->
90 <property name="_WINKD_" value="0" />
91
92 </group>