Synchronize up to trunk's revision r57784.
[reactos.git] / cmake / config-amd64.cmake
1
2 set(SARCH "" CACHE STRING
3 "Sub-architecture to build for.")
4
5 set(OARCH "athlon64" CACHE STRING
6 "Generate instructions for this CPU type. Specify one of:
7 k8 opteron athlon64 athlon-fx")
8
9 set (OPTIMIZE "1" CACHE STRING
10 "What level of optimisation to use.
11 0 = off
12 1 = Default option, optimize for size (-Os) with some additional options
13 2 = -Os
14 3 = -O1
15 4 = -O2
16 5 = -O3")
17
18 set(LTCG FALSE CACHE BOOL
19 "Whether to build with link-time code generation")
20
21 set(DBG TRUE CACHE BOOL
22 "Whether to compile for debugging.")
23
24 set(KDBG FALSE CACHE BOOL
25 "Whether to compile in the integrated kernel debugger.")
26
27 set(GDB FALSE CACHE BOOL
28 "Whether to compile for debugging with GDB.
29 If you don't use GDB, don't enable this.")
30
31 set(_WINKD_ TRUE CACHE BOOL
32 "Whether to compile with the KD protocol.")
33
34 set(_ELF_ FALSE CACHE BOOL
35 "Whether to compile support for ELF files.
36 Do not enable unless you know what you're doing.")
37
38 set(NSWPAT FALSE CACHE BOOL
39 "Whether to compile apps/libs with features covered software patents or not.
40 If you live in a country where software patents are valid/apply, don't
41 enable this (except they/you purchased a license from the patent owner).
42 This settings is disabled (0) by default.")
43
44 set(USERMODE TRUE CACHE BOOL
45 "Whether to compile any usermode parts. This is while kernel mode is under
46 heavy development and usermode part not relevant for bootcd.")
47
48 if(MSVC)
49 set(_PREFAST_ FALSE CACHE BOOL
50 "Whether to enable PREFAST while compiling.")
51 endif()