Sync with trunk r65656.
[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 optimization to use.
11 0 = off
12 1 = Default option, optimize for size (-Os) with some additional options
13 2 = Optimize for size (-Os)
14 3 = Optimize debugging experience (-Og)
15 4 = Optimize (-O1)
16 5 = Optimize even more (-O2)
17 6 = Optimize yet more (-O3)
18 7 = Disregard strict standards compliance (-Ofast)")
19
20 set(LTCG FALSE CACHE BOOL
21 "Whether to build with link-time code generation")
22
23 set(DBG TRUE CACHE BOOL
24 "Whether to compile for debugging.")
25
26 set(KDBG FALSE CACHE BOOL
27 "Whether to compile in the integrated kernel debugger.")
28
29 set(GDB FALSE CACHE BOOL
30 "Whether to compile for debugging with GDB.
31 If you don't use GDB, don't enable this.")
32
33 set(_WINKD_ TRUE CACHE BOOL
34 "Whether to compile with the KD protocol.")
35
36 set(_ELF_ FALSE CACHE BOOL
37 "Whether to compile support for ELF files.
38 Do not enable unless you know what you're doing.")
39
40 set(NSWPAT FALSE CACHE BOOL
41 "Whether to compile apps/libs with features covered software patents or not.
42 If you live in a country where software patents are valid/apply, don't
43 enable this (except they/you purchased a license from the patent owner).
44 This settings is disabled (0) by default.")
45
46 set(USERMODE TRUE CACHE BOOL
47 "Whether to compile any usermode parts. This is while kernel mode is under
48 heavy development and usermode part not relevant for bootcd.")
49
50 if(MSVC)
51 set(_PREFAST_ FALSE CACHE BOOL
52 "Whether to enable PREFAST while compiling.")
53 endif()