• Home
  • Raw
  • Download

Lines Matching +full:compiler +full:- +full:cache

20 # Strings used to cache flags.
32 if(${flag_pos} EQUAL -1)
42 if(${found} EQUAL -1)
43 set(${flags} "${${flags}} ${flag}" CACHE STRING "" FORCE)
47 # Checks C compiler for support of $c_flag. Adds $c_flag to all
64 # cache variable, so we unset both to avoid the failure / success state
66 # https://gitlab.kitware.com/cmake/cmake/-/issues/21207.
68 unset(C_FLAG_SUPPORTED CACHE)
69 message("Checking C compiler flag support for: " ${c_flag})
83 # Checks C++ compiler for support of $cxx_flag. Adds $cxx_flag to all
100 # internal cache variable, so we unset both to avoid the failure / success
102 # https://gitlab.kitware.com/cmake/cmake/-/issues/21207.
104 unset(CXX_FLAG_SUPPORTED CACHE)
105 message("Checking C++ compiler flag support for: " ${cxx_flag})
119 # Convenience method for adding a flag to both the C and C++ compiler command
126 # Checks C compiler for support of $c_flag and terminates generation when
142 unset(HAVE_C_FLAG CACHE)
143 message("Checking C compiler flag support for: " ${c_flag})
157 set(${config} "${${config}} ${c_flag}" CACHE STRING "" FORCE)
162 # Checks CXX compiler for support of $cxx_flag and terminates generation when
178 unset(HAVE_CXX_FLAG CACHE)
179 message("Checking C++ compiler flag support for: " ${cxx_flag})
193 set(${config} "${${config}} ${cxx_flag}" CACHE STRING "" FORCE)
205 # Checks only non-MSVC targets for support of $c_flag and terminates generation
213 # Checks only non-MSVC targets for support of $cxx_flag and terminates
221 # Checks only non-MSVC targets for support of $flag by both the C and CXX
229 # Adds $preproc_def to C compiler command line (as -D$preproc_def) if not
232 set(preproc_def "-D${preproc_def}")
239 set(${config} "${${config}} ${preproc_def}" CACHE STRING "" FORCE)
243 # Adds $preproc_def to CXX compiler command line (as -D$preproc_def) if not
246 set(preproc_def "-D${preproc_def}")
253 set(${config} "${${config}} ${preproc_def}" CACHE STRING "" FORCE)
257 # Adds $preproc_def to C and CXX compiler command line (as -D$preproc_def) if
273 # Adds $flag to the C compiler command line.
285 # Adds $flag to the CXX compiler command line.
297 # Adds $flag to the C and CXX compiler command lines.