Lines Matching +full:include +full:- +full:dirs

3 # SPDX-License-Identifier: Apache-2.0
10 set_compiler_property(PROPERTY no_optimization -On)
12 set_compiler_property(PROPERTY optimization_debug -Ol)
14 set_compiler_property(PROPERTY optimization_speed -Ohs)
16 set_compiler_property(PROPERTY optimization_size -Ohz)
18 set_compiler_property(PROPERTY optimization_size_aggressive -Ohz)
20 set_compiler_property(PROPERTY optimization_fast --no_size_constraints)
29 --diag_error=Pe223 # function "xxx" declared implicitly
30 --diag_warning=Pe054 # too few arguments in invocation of macro
31--diag_warning=Pe144 # a value of type "void *" cannot be used to initialize an entity of type […
32--diag_warning=Pe167 # argument of type "void *" is incompatible with [...] "void (*)(void *, vo…
33 --diag_suppress=Pe1675 # unrecognized GCC pragma
34 --diag_suppress=Pe111 # statement is unreachable
35 --diag_suppress=Pe1143 # arithmetic on pointer to void or function type
36 --diag_suppress=Pe068) # integer conversion resulted in a change of sign)
40 --diag_suppress=Pe188 # enumerated type mixed with another type
41 --diag_suppress=Pe128 # loop is not reachable
42 --diag_suppress=Pe550 # variable "res" was set but never used
43 --diag_suppress=Pe546 # transfer of control bypasses initialization
44 --diag_suppress=Pe186) # pointless comparison of unsigned integer with zero
47 --diag_suppress=Pe1097 # unknown attribute
48 --diag_suppress=Pe381 # extra ";" ignored
49 --diag_suppress=Pa082 # undefined behavior: the order of volatile accesses is undefined
50 --diag_suppress=Pa084 # pointless integer comparison, the result is always false
51 --diag_suppress=Pe185 # dynamic initialization in unreachable code )
52 --diag_suppress=Pe167 # argument of type "onoff_notify_fn" is incompatible with...
53 --diag_suppress=Pe144 # a value of type "void *" cannot be used to initialize...
54 --diag_suppress=Pe177 # function "xxx" was declared but never referenced
55--diag_suppress=Pe513) # a value of type "void *" cannot be assigned to an entity of type "int (*)…
80 set_property(TARGET compiler PROPERTY warnings_as_errors --warnings_are_errors)
87 # For example, gcc specifies this as: set_compiler_property(PROPERTY cstd -std=)
88 # TC-WG: the `cstd99` is used regardless of this flag being useful for iccarm
92 set_compiler_property(PROPERTY cstd -D__IAR_CSTD_)
94 # Compiler flags for disabling C standard include and instead specify include
95 # dirs in nostdinc_include to use.
99 # Compiler flags for disabling C++ standard include.
100 set_compiler_property(TARGET compiler-cpp PROPERTY nostdincxx)
103 set_property(TARGET compiler-cpp PROPERTY required --c++)
106 set_property(TARGET compiler-cpp PROPERTY dialect_cpp98)
107 set_property(TARGET compiler-cpp PROPERTY dialect_cpp11)
108 set_property(TARGET compiler-cpp PROPERTY dialect_cpp14)
109 set_property(TARGET compiler-cpp PROPERTY dialect_cpp17 --libc++)
110 set_property(TARGET compiler-cpp PROPERTY dialect_cpp2a --libc++)
111 set_property(TARGET compiler-cpp PROPERTY dialect_cpp20 --libc++)
112 set_property(TARGET compiler-cpp PROPERTY dialect_cpp2b --libc++)
118 set_property(TARGET compiler-cpp PROPERTY no_exceptions --no_exceptions)
121 set_property(TARGET compiler-cpp PROPERTY no_rtti --no_rtti)
131 set_compiler_property(PROPERTY security_canaries --stack_protection)
132 set_compiler_property(PROPERTY security_canaries_strong --stack_protection)
133 set_compiler_property(PROPERTY security_canaries_all --security_canaries_all_is_not_supported)
134 set_compiler_property(PROPERTY security_canaries_explicit --security_canaries_explicit_is_not_suppo…
137 check_set_compiler_property(APPEND PROPERTY security_canaries --stack_protector_guard=tls)
138 check_set_compiler_property(APPEND PROPERTY security_canaries_strong --stack_protector_guard=tls)
139 check_set_compiler_property(APPEND PROPERTY security_canaries_all --stack_protector_guard=tls)
140 …check_set_compiler_property(APPEND PROPERTY security_canaries_explicit --stack_protector_guard=tls)
145 # Flag for a hosted (no-freestanding) application
151 # Flag to include debugging symbol in compilation
152 set_property(TARGET compiler PROPERTY debug --debug)
153 set_property(TARGET compiler-cpp PROPERTY debug --debug)
154 set_property(TARGET asm PROPERTY debug -gdwarf-4)
159 set_property(TARGET compiler PROPERTY imacros --preinclude)
160 set_property(TARGET compiler-cpp PROPERTY imacros --preinclude)
161 set_property(TARGET asm PROPERTY imacros -imacros)
163 # Compiler flag for turning off thread-safe initialization of local statics
164 set_property(TARGET compiler-cpp PROPERTY no_threadsafe_statics)
180 set_compiler_property(PROPERTY include_file --preinclude)
182 set_compiler_property(PROPERTY cmse --cmse)
184 set_property(TARGET asm PROPERTY cmse -mcmse)