CMake/Modules/Compiler
Brad King ba247ccaba IPO: Consider support for each language separately
We only define `INTERPROCEDURAL_OPTIMIZATION` behavior for C, CXX, and
Fortran languages.  Do not try to enable support for other languages.
Furthermore, each language builds with a different compiler, so check
for support by CMake and the compiler for each language independently.

Fixes: #16944
2017-06-14 10:36:57 -04:00
..
Absoft-Fortran.cmake
ADSP-DetermineCompiler.cmake
AppleClang-ASM.cmake
AppleClang-C-FeatureTests.cmake
AppleClang-C.cmake Compilers: Port to use default cmake_record_lang_compile_features macros 2017-05-30 09:34:36 -04:00
AppleClang-CXX-FeatureTests.cmake
AppleClang-CXX.cmake Compilers: Port to use default cmake_record_lang_compile_features macros 2017-05-30 09:34:36 -04:00
AppleClang-DetermineCompiler.cmake
ARMCC-ASM.cmake
ARMCC-C.cmake
ARMCC-CXX.cmake
ARMCC-DetermineCompiler.cmake
ARMCC.cmake ARMCC: Fix flag used for response files 2016-11-15 09:31:33 -05:00
Borland-DetermineCompiler.cmake
Bruce-C-DetermineCompiler.cmake
Bruce-C.cmake
CCur-Fortran.cmake
Clang-ASM.cmake
Clang-C-FeatureTests.cmake
Clang-C.cmake Compilers: Port to use default cmake_record_lang_compile_features macros 2017-05-30 09:34:36 -04:00
Clang-CXX-FeatureTests.cmake Features: activate C++11 support for Clang 3.1+ 2017-01-12 17:16:34 +01:00
Clang-CXX-TestableFeatures.cmake
Clang-CXX.cmake Clang: Fix language defaults for 2.1 2017-05-30 09:35:06 -04:00
Clang-DetermineCompiler.cmake
Clang-DetermineCompilerInternal.cmake
Clang-FindBinUtils.cmake Clang IPO (LTO) support 2017-04-28 17:13:56 +03:00
Clang.cmake IPO: Consider support for each language separately 2017-06-14 10:36:57 -04:00
CMakeCommonCompilerMacros.cmake Compilers: Add default cmake_record_{c,cxx}_compile_features macros 2017-05-29 12:33:42 -04:00
Comeau-CXX-DetermineCompiler.cmake
Compaq-C-DetermineCompiler.cmake
Compaq-CXX-DetermineCompiler.cmake
Cray-C.cmake Cray: Add language standards for the Cray compiler 2017-05-01 15:15:30 -04:00
Cray-CXX.cmake Cray: Add language standards for the Cray compiler 2017-05-01 15:15:30 -04:00
Cray-DetermineCompiler.cmake
Cray-Fortran.cmake
Cray.cmake Cray: Add language standards for the Cray compiler 2017-05-01 15:15:30 -04:00
CrayPrgEnv-C.cmake
CrayPrgEnv-Cray-C.cmake
CrayPrgEnv-Cray-CXX.cmake
CrayPrgEnv-Cray-Fortran.cmake
CrayPrgEnv-CXX.cmake
CrayPrgEnv-Fortran.cmake
CrayPrgEnv-GNU-C.cmake
CrayPrgEnv-GNU-CXX.cmake
CrayPrgEnv-GNU-Fortran.cmake
CrayPrgEnv-Intel-C.cmake
CrayPrgEnv-Intel-CXX.cmake
CrayPrgEnv-Intel-Fortran.cmake
CrayPrgEnv-PGI-C.cmake
CrayPrgEnv-PGI-CXX.cmake
CrayPrgEnv-PGI-Fortran.cmake
CrayPrgEnv.cmake
Embarcadero-DetermineCompiler.cmake
Fujitsu-DetermineCompiler.cmake
G95-Fortran.cmake
GHS-C.cmake
GHS-CXX.cmake
GHS-DetermineCompiler.cmake
GHS.cmake
GNU-ASM.cmake
GNU-C-DetermineCompiler.cmake GNUC: also check __GNUG__ define when checking for g++ 2017-01-25 21:53:40 +01:00
GNU-C-FeatureTests.cmake GNU C: record that C99 is available since at least 3.4 2017-02-02 18:28:56 +01:00
GNU-C.cmake Compilers: Port to use default cmake_record_lang_compile_features macros 2017-05-30 09:34:36 -04:00
GNU-CXX-DetermineCompiler.cmake GNUC: also check __GNUG__ define when checking for g++ 2017-01-25 21:53:40 +01:00
GNU-CXX-FeatureTests.cmake
GNU-CXX.cmake GNU: Fix language defaults for 3.4 2017-05-30 09:35:06 -04:00
GNU-FindBinUtils.cmake GCC: more patterns for ar/ranlib 2017-05-14 12:31:26 +03:00
GNU-Fortran.cmake
GNU.cmake IPO: Consider support for each language separately 2017-06-14 10:36:57 -04:00
HP-ASM.cmake
HP-C-DetermineCompiler.cmake
HP-C.cmake
HP-CXX-DetermineCompiler.cmake
HP-CXX.cmake
HP-Fortran.cmake
IAR-ASM.cmake
IAR-C.cmake Added space after IAR response file flag 2017-05-23 07:25:27 +02:00
IAR-CXX.cmake Added space after IAR response file flag 2017-05-23 07:25:27 +02:00
IAR-DetermineCompiler.cmake
IAR.cmake
IBMCPP-C-DetermineVersionInternal.cmake
IBMCPP-CXX-DetermineVersionInternal.cmake
Intel-ASM.cmake
Intel-C-FeatureTests.cmake Features: Record features for Intel Compiler on Windows 2016-10-27 13:33:10 -04:00
Intel-C.cmake Intel: Fix missing C std default for 12.0 <= ver < 12.1 2017-05-31 13:09:49 -04:00
Intel-CXX-FeatureTests.cmake Features: Update features for Intel C++ 17.0.2 on UNIX 2017-03-31 14:29:18 -04:00
Intel-CXX.cmake Compilers: Port to use default cmake_record_lang_compile_features macros 2017-05-30 09:34:36 -04:00
Intel-DetermineCompiler.cmake
Intel-Fortran.cmake
Intel.cmake Intel: Use common compiler macros for language standard default 2017-05-02 09:49:23 -04:00
MIPSpro-C.cmake
MIPSpro-CXX.cmake
MIPSpro-DetermineCompiler.cmake
MIPSpro-Fortran.cmake
MSVC-CXX-FeatureTests.cmake
MSVC-CXX.cmake Compilers: Port to use default cmake_record_lang_compile_features macros 2017-05-30 09:34:36 -04:00
MSVC-DetermineCompiler.cmake
NAG-Fortran.cmake
NVIDIA-CUDA.cmake CUDA: Add support for the C++14 standard flag. 2017-05-11 13:42:42 -04:00
NVIDIA-DetermineCompiler.cmake CUDA: Detect use of MSVC host compiler 2017-01-12 10:39:02 -05:00
OpenWatcom-DetermineCompiler.cmake
PathScale-C.cmake
PathScale-CXX.cmake
PathScale-DetermineCompiler.cmake
PathScale-Fortran.cmake
PathScale.cmake Simplify CMake per-source license notices 2016-09-27 15:14:44 -04:00
PGI-C.cmake PGI: Fix typo in logic for C standard flags 2017-05-02 10:08:56 -04:00
PGI-CXX.cmake PGI: Fix typo in compiler version test for language standards 2017-05-10 12:25:44 -05:00
PGI-DetermineCompiler.cmake
PGI-Fortran.cmake PGI: Add support for Fortran with the Ninja generator 2016-12-16 08:33:21 -05:00
PGI.cmake Windows-PGI: Adapt default compiler flags 2017-05-20 20:02:51 +02:00
QCC-C.cmake
QCC-CXX.cmake
QCC.cmake IPO: Consider support for each language separately 2017-06-14 10:36:57 -04:00
SCO-C.cmake
SCO-CXX.cmake
SCO-DetermineCompiler.cmake
SCO.cmake Simplify CMake per-source license notices 2016-09-27 15:14:44 -04:00
SDCC-C-DetermineCompiler.cmake SDCC: Fix identification of current sdcc compiler 2017-03-29 13:21:49 -04:00
SunPro-ASM.cmake
SunPro-C-DetermineCompiler.cmake
SunPro-C-FeatureTests.cmake Features: Record features for SunPro C 5.13 and 5.14 2017-05-11 15:59:48 -04:00
SunPro-C.cmake Compilers: Port to use default cmake_record_lang_compile_features macros 2017-05-30 09:34:36 -04:00
SunPro-CXX-DetermineCompiler.cmake
SunPro-CXX-FeatureTests.cmake Features: Record standards and features for SunPro 5.14 2017-05-03 13:13:43 -04:00
SunPro-CXX.cmake SunPro: Make sure all known versions get CXX98 defaults 2017-05-31 13:09:42 -04:00
SunPro-Fortran.cmake SunPro: Use -fpp to process all files 2017-05-10 19:33:48 +02:00
SunPro.cmake SunPro: Use common compiler macros for language standard default 2017-05-02 09:49:23 -04:00
TI-ASM.cmake
TI-C.cmake
TI-CXX.cmake
TI-DetermineCompiler.cmake
TinyCC-C-DetermineCompiler.cmake
TinyCC-C.cmake
VisualAge-C-DetermineCompiler.cmake
VisualAge-C.cmake
VisualAge-CXX-DetermineCompiler.cmake
VisualAge-CXX.cmake
VisualAge-Fortran.cmake
Watcom-DetermineCompiler.cmake
XL-ASM.cmake
XL-C-DetermineCompiler.cmake
XL-C.cmake XL: Use common compiler macros for language standard default 2017-05-02 09:49:23 -04:00
XL-CXX-DetermineCompiler.cmake
XL-CXX.cmake XL: Use common compiler macros for language standard default 2017-05-02 09:49:23 -04:00
XL-Fortran.cmake
XL.cmake XL: Use common compiler macros for language standard default 2017-05-02 09:49:23 -04:00
zOS-C-DetermineCompiler.cmake
zOS-CXX-DetermineCompiler.cmake