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