Lines Matching +full:cxx +full:- +full:compiler
7 # http://www.apache.org/licenses/LICENSE-2.0
23 # Adds compiler flags specified by FLAGS to the sources specified by SOURCES:
32 cmake_parse_arguments(compiler "${optional_args}" "${single_value_args}"
53 # Tests compiler flags stored in list(s) specified by FLAG_LIST_VAR_NAMES, adds
83 message("CXX test: all flags: ${cxx_flags}")
96 message("--- Running combined CXX flags test, flags: ${all_cxx_flags}")
114 message("--- Passed combined CXX flags test")
116 message("--- Failed combined CXX flags test, testing flags individually.")
119 message("--- Testing flags from $cxx_flags: " "${cxx_flags}")
125 # https://gitlab.kitware.com/cmake/cmake/-/issues/21207.
128 message("--- Testing flag: ${cxx_flag}")
132 message("--- Passed test for ${cxx_flag}")
135 message("--- Failed test for ${cxx_flag}, flag removed.")
152 # valid CXX flags.
194 message("--- Running EXE LINKER test for flags: ${linker_flags}")
204 message("--- Passed EXE LINKER flag test.")
214 # Runs the libgav1 compiler tests. This macro builds up the list of list var(s)
225 # Append clang flags after the base set to allow -Wno* overrides to take
227 # -Wall.
239 message("libgav1_set_cxx_flags: internal CXX flags: ${cxx_flags}")
246 message("libgav1_set_cxx_flags: user CXX flags: ${LIBGAV1_CXX_FLAGS}")
261 list(FILTER LIBGAV1_TEST_CXX_FLAGS EXCLUDE REGEX "-Wframe-larger-than")
266 "C/CXX compiler mismatch (${CMAKE_C_COMPILER_ID} vs"
267 " ${CMAKE_CXX_COMPILER_ID})! Compiler flags are only tested using"
269 " C compiler from the same package as CMAKE_CXX_COMPILER to ensure"
274 "-fvisibility-inlines-hidden")