[CMAKE]
[reactos.git] / config.cmake
1
2 set(SARCH "pc" CACHE STRING
3 "Sub-architecture to build for. Specify one of: xbox"
4 )
5
6 set(OARCH "pentium" CACHE STRING
7 "Generate instructions for this CPU type. Specify one of:
8 native, i386, i486, pentium, pentium-mmx, pentiumpro, i686,
9 pentium2, pentium3, pentium-m, pentium4, prescott, nocona,
10 core2, k6, k6-2, athlon, athlon-xp, opteron, opteron-sse3,
11 barcelona, winchip-c6, winchip2, c3, c3-2, geode"
12 )
13
14 set(TUNE "i686" CACHE STRING
15 "Which CPU ReactOS should be optimized for."
16 )
17
18 set (OPTIMIZE "1" CACHE STRING
19 "What level of optimisation to use.
20 0 = off
21 1 = Default option, optimize for size (-Os) with some additional options
22 2 = -Os
23 3 = -O1
24 4 = -O2
25 5 = -O3"
26 )
27
28 set(DBG 1 CACHE BOOL
29 "Whether to compile for debugging."
30 )
31
32 set(KDBG 1 CACHE BOOL
33 "Whether to compile in the integrated kernel debugger."
34 )
35
36 set(GDB 0 CACHE BOOL
37 "Whether to compile for debugging with GDB.
38 If you don't use GDB, don't enable this."
39 )
40
41 set(_WINKD_ 0 CACHE BOOL
42 "Whether to compile with the KD protocol."
43 )
44
45 set(_ELF_ 0 CACHE BOOL
46 "Whether to compile support for ELF files.
47 Do not enable unless you know what you're doing."
48 )
49
50 set(NSWPAT 0 CACHE BOOL
51 "Whether to compile apps/libs with features covered software patents or not.
52 If you live in a country where software patents are valid/apply, don't
53 enable this (except they/you purchased a license from the patent owner).
54 This settings is disabled (0) by default."
55 )
56
57 set(BUILD_MP 1 CACHE BOOL
58 "Whether to compile the multi processor versions for ntoskrnl and hal."
59 )
60