-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdmod-cfg.cmake
More file actions
86 lines (58 loc) · 3.4 KB
/
dmod-cfg.cmake
File metadata and controls
86 lines (58 loc) · 3.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# Use standard library
set(DMOD_USE_STDLIB ON CACHE BOOL "Enable to use the standard library")
# Use getenv function
set(DMOD_USE_GETENV ON CACHE BOOL "Enable to use the getenv function")
# Use environ global variable for environment iteration
set(DMOD_USE_ENVIRON ON CACHE BOOL "Enable to use the environ global variable")
# Use stdio library
set(DMOD_USE_STDIO ON CACHE BOOL "Enable to use the stdio library")
# Use assert function
set(DMOD_USE_ASSERT ON CACHE BOOL "Enable to use the assert function")
# Use pthread library
set(DMOD_USE_PTHREAD ON CACHE BOOL "Enable to use the pthread library")
# Use memory management functions
set(DMOD_USE_MMAN ON CACHE BOOL "Enable to use memory management functions")
# Use aligned allocation
set(DMOD_USE_ALIGNED_ALLOC ON CACHE BOOL "Enable to use aligned allocation")
# Use aligned malloc mock if aligned allocation is not available
set(DMOD_USE_ALIGNED_MALLOC_MOCK OFF CACHE BOOL "Enable to use aligned malloc mock if aligned allocation is not available")
# Use realloc function
set(DMOD_USE_REALLOC ON CACHE BOOL "Enable to use the realloc function")
# Use termios for terminal I/O control
set(DMOD_USE_TERMIOS ON CACHE BOOL "Enable to use termios for terminal I/O control (echo, canonical mode)")
# Use time.h for system time functions
set(DMOD_USE_TIME ON CACHE BOOL "Enable to use time.h for system time functions (clock_gettime)")
# Use FastLZ compression library
set(DMOD_USE_FASTLZ ON CACHE BOOL "Enable to use the FastLZ compression library")
# Maximum number of modules
set(DMOD_MAX_MODULES 30 CACHE STRING "Maximum number of modules")
# Maximum number of required modules
set(DMOD_MAX_REQUIRED_MODULES 10 CACHE STRING "Maximum number of required modules")
# Mode of the system
set(DMOD_MODE "DMOD_SYSTEM" CACHE STRING "Mode of the system")
# Major version of your system
set(DMOD_SYSTEM_VERSION_MAJOR 0 CACHE STRING "Major version of your system")
# Minor version of your system
set(DMOD_SYSTEM_VERSION_MINOR 1 CACHE STRING "Minor version of your system")
# Build tests
set(DMOD_BUILD_TESTS ON CACHE BOOL "Enable to build tests")
# Build examples
set(DMOD_BUILD_EXAMPLES ON CACHE BOOL "Enable to build examples")
# Build tools
set(DMOD_BUILD_TOOLS ON CACHE BOOL "Enable to build tools")
# Build templates
set(DMOD_BUILD_TEMPLATES ON CACHE BOOL "Enable to build templates")
# Use exceptions
set(DMOD_USE_EXCEPTIONS OFF CACHE BOOL "Enable to use exceptions")
# Directory for DMFC files
set(DMOD_DMFC_DIR "${CMAKE_BINARY_DIR}/dmfc" CACHE STRING "Directory for DMFC files")
# Directory for DMF files
set(DMOD_DMF_DIR "${CMAKE_BINARY_DIR}/dmf" CACHE STRING "Directory for DMF files")
# Path to the default repository inside the system
set(DMOD_REPO_DIR "${DMOD_DMF_DIR}" CACHE STRING "Directory for DMF files inside the system")
# Paths to the repositories inside the system in an array
set(DMOD_REPO_PATHS "${DMOD_DMF_DIR}${DMOD_ARRAY_SEP}${DMOD_DMFC_DIR}" CACHE STRING "Paths to the repositories inside the system in an array")
# Name of the target cpu (if empty, the target is generic)
set(DMOD_CPU_NAME "" CACHE STRING "Name of the target cpu, if empty, the target is generic")
# Name of the tools configuration
set(DMOD_TOOLS_NAME "arch/x86_64" CACHE STRING "Name of the tools configuration")