Lines Matching refs:list
91 list(APPEND CMAKE_FIND_ROOT_PATH "${OHOS_SDK_NATIVE}")
126 list(APPEND OHOS_C_COMPILER_FLAGS
135 list(APPEND OHOS_C_COMPILER_FLAGS -Wno-error=format-security)
137 list(APPEND OHOS_C_COMPILER_FLAGS -Wformat -Werror=format-security)
140 list(APPEND OHOS_C_COMPILER_FLAGS -march=armv7a)
143 list(APPEND OHOS_C_COMPILER_FLAGS -g)
146 list(APPEND OHOS_C_COMPILER_FLAGS
152 list(APPEND OHOS_C_COMPILER_FLAGS -fsanitize-blacklist="${OHOS_ASAN_BLACKLIST}")
157 list(APPEND OHOS_C_COMPILER_FLAGS
163 list(APPEND OHOS_C_COMPILER_FLAGS -fsanitize-blacklist="${OHOS_ASAN_BLACKLIST}")
177 list(APPEND OHOS_DEBUG_COMPILER_FLAGS -O0 -g -fno-limit-debug-info)
182 list(APPEND OHOS_RELEASE_COMPILER_FLAGS -O2)
183 list(APPEND OHOS_RELEASE_COMPILER_FLAGS -DNDEBUG)
188 list(APPEND OHOS_COMMON_LINKER_FLAGS --rtlib=compiler-rt)
189 list(APPEND OHOS_COMMON_LINKER_FLAGS -fuse-ld=lld)
192 list(APPEND OHOS_COMMON_LINKER_FLAGS "-static-libstdc++")
194 list(APPEND OHOS_CXX_COMPILER_FLAGS "-nostdinc++")
195 list(APPEND OHOS_COMMON_LINKER_FLAGS "-nostdlib++")
201 list(APPEND OHOS_COMMON_LINKER_FLAGS
207 list(APPEND OHOS_COMMON_LINKER_FLAGS -Wl,--no-undefined)
209 list(APPEND OHOS_COMMON_LINKER_FLAGS -Qunused-arguments -Wl,-z,noexecstack)
214 list(APPEND OHOS_EXE_LINKER_FLAGS -Wl,--gc-sections)
274 list(APPEND CMAKE_SYSTEM_LIBRARY_PATH "/usr/lib/${OHOS_TOOLCHAIN_NAME}")