No need to define __USE_W32API
[reactos.git] / reactos / config.template.rbuild
index 92c8107..0e67afb 100644 (file)
@@ -1,80 +1,92 @@
 <?xml version="1.0"?>
-<rbuild xmlns:xi="http://www.w3.org/2001/XInclude">
+<!DOCTYPE group SYSTEM "tools/rbuild/project.dtd">
+<group>
 
 <!--
-  This file is a template used as a starting point for compile-time
-  configuration of ReactOS. Make a copy of this file and name it config.rbuild.
-  Then change the options in config.rbuild. If you don't have a config.rbuild file,
-  then the defaults in this file, config.template.rbuild, will be used instead.
+       This file is a template used as a starting point for compile-time
+       configuration of ReactOS. Make a copy of this file and name it config.rbuild.
+       Then change the options in config.rbuild. If you don't have a config.rbuild file,
+       then the defaults in this file, config.template.rbuild, will be used instead.
 
-  Boolean options can obtain the values 0 (disabled) or 1 (enabled). String
-  options can obtain any value specified in the comment before it.
+       Boolean options can obtain the values 0 (disabled) or 1 (enabled). String
+       options can obtain any value specified in the comment before it.
 -->
 
 
 <!--
-  Architecture to build for. Specify one of:
-    i386
+       Sub-architecture to build for. Specify one of:
+               xbox
 -->
-<property name="ARCH" value="i386" />
+<property name="SARCH" value="" />
+
 
 <!--
-  Sub-architecture to build for. Specify one of:
-    xbox
+       Which CPU ReactOS should be optimized for. Specify one of:
+               i486, i586, pentium, pentium2, pentium3, pentium4, athlon-xp, athlon-mp,
+               k6-2
+
+       See GCC manual for more CPU names and which CPUs GCC can optimize for.
 -->
-<property name="SARCH" value="" />
+<property name="OARCH" value="pentium" />
 
 
 <!--
-  Which CPU ReactOS should be optimized for. Specify one of:
-    i486, i586, pentium, pentium2, pentium3, pentium4, athlon-xp, athlon-mp,
-    k6-2
+       OPTIMIZE what level do you want ReactOS to be optimized at
+       this setting does not work if GDB is set
+               0 = off
+               1 = Normal compiling recommended, is default setting in official build and debug build
+
+               warning : 2,3,4,5  is not tested on ReactOS. Change at own risk.
 
-  See GCC manual for more CPU names and which CPUs GCC can optimize for.
+               2 = gcc -Oz with -mpreferred-stack-boundary=2
+               3 = gcc -O1 with -mpreferred-stack-boundary=2
+               4 = gcc -O2 with -mpreferred-stack-boundary=2
+               5 = gcc -O3 with -mpreferred-stack-boundary=2
 -->
-<property name="OARCH" value="i486" />
+<property name="OPTIMIZE" value="1" />
 
 
 <!--
-  Whether to compile for an uniprocessor or multiprocessor machine.
+       Whether to compile for an uniprocessor or multiprocessor machine.
 -->
 <property name="MP" value="0" />
 
 
 <!--
-  Whether to compile in the integrated kernel debugger.
+       Whether to compile in the integrated kernel debugger.
 -->
 <property name="KDBG" value="0" />
 
 
 <!--
-  Whether to compile for debugging. No compiler optimizations will be
-  performed.
+       Whether to compile for debugging. No compiler optimizations will be
+       performed.
 -->
 <property name="DBG" value="1" />
 
 
 <!--
-  Whether to compile for debugging with GDB. If you don't use GDB, don't
-  enable this.
+       Whether to compile for debugging with GDB. If you don't use GDB, don't
+       enable this.
 -->
 <property name="GDB" value="0" />
 
 
 <!--
-  Whether to compile apps/libs with features covered software patents or not.
-  If you live in a country where software patents are valid/apply, don't
-  enable this (except they/you purchased a license from the patent owner).
-  This settings is disabled (0) by default.
+       Whether to compile apps/libs with features covered software patents or not.
+       If you live in a country where software patents are valid/apply, don't
+       enable this (except they/you purchased a license from the patent owner).
+       This settings is disabled (0) by default.
 -->
 <property name="NSWPAT" value="0" />
 
 <!--
-  Whether to compile with NT-compatible LPC Semantics. At the moment, this will
-  cause all LPC-related functionality to fail and should only be used if you're
-  working on the \ntlpc directory. Leave this disabled unless you really know
-  what you're doing.
+       Whether to compile with the KD protocol. This will disable support for KDBG
+       as well as rossym and symbol lookups, and allow WinDBG to connect to ReactOS.
+       This is currently not fully working, and requires kdcom from Windows 2003 or
+       TinyKRNL. Booting into debug mode with this flag enabled will result in a
+       failure to enter GUI mode. Do not enable unless you know what you're doing.
 -->
-<property name="NTLPC" value="0" />
+<property name="_WINKD_" value="0" />
 
-</rbuild>
+</group>