llvm-capstone/llvm/cmake/modules
George Lyon d5e91ca563
[CMake] Limit -gsplit-dwarf option to C and C++ compilers
Currently, If the C or C++ compiler supports the `-gsplit-dwarf` option it is added to _all_ compilers.
If a project decides to use another  language, such as Swift, this option will be sent to that compiler as well, regardless whether that compiler supports it or not (Swift doesnot).
This patch uses [generator expressions](https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html) to limit the `-gsplit-dwarf` option to only those compilers that support it (C and C++).
2023-10-15 19:59:00 +03:00
..
AddLLVM.cmake Set -rpath-link only if the path is nonempty. 2023-09-21 10:13:51 -07:00
AddOCaml.cmake
AddSphinxTarget.cmake [CMake] Replace list(FIND) by if(IN_LIST) where index isn't used 2023-01-23 23:59:31 +01:00
CheckAtomic.cmake Set LLVM_ATOMIC_LIB variable for convenient linking against libatomic 2022-11-03 21:07:43 +01:00
CheckCompilerVersion.cmake [docs] Bump minimum GCC version to 7.4 2023-07-31 13:10:08 -07:00
CheckProblematicConfigurations.cmake
CMakeLists.txt [cmake] Fix path to LLVMConfig.cmake for multi-config builds 2023-01-13 20:32:59 +01:00
CoverageReport.cmake [NFC] Fixing spelling in code comment 2022-11-14 10:28:36 -06:00
CrossCompile.cmake [CMake] Use LLVM own tools in extract_symbols.py 2023-05-15 16:20:19 -07:00
DetermineGCCCompatible.cmake
FindFFI.cmake [CMake] Fix -Wstrict-prototypes 2022-11-08 01:37:04 +00:00
FindLibEdit.cmake [CMake] Install FindLibEdit find module 2023-05-04 13:33:52 +00:00
FindLibpfm.cmake
FindOCaml.cmake
FindSphinx.cmake
FindTerminfo.cmake [CMake] Fix -Wstrict-prototypes 2022-11-08 01:37:04 +00:00
FindZ3.cmake [CMake][Z3]Don't attempt to compile / run if cross-compiling (#66355) 2023-09-15 12:57:33 +02:00
Findzstd.cmake [cmake] Fix Findzstd.cmake to handle OpenBSD shared libraries 2022-11-23 06:50:53 +01:00
GenerateVersionFromVCS.cmake [cmake] Add LLVM_FORCE_VC_REVISION option (#67125) 2023-09-25 14:32:52 +01:00
GetErrcMessages.cmake
GetHostTriple.cmake
GetLibraryName.cmake
HandleLLVMOptions.cmake [CMake] Limit -gsplit-dwarf option to C and C++ compilers 2023-10-15 19:59:00 +03:00
HandleLLVMStdlib.cmake
LLVM-Build.cmake
LLVM-Config.cmake [CMake] Quote variables where "TARGET" may be a value 2023-06-06 02:08:45 +01:00
llvm-driver-template.cpp.in [llvm-driver] Reinvoke clang as described by llvm driver extra args 2023-02-10 19:42:32 +00:00
LLVMCheckLinkerFlag.cmake Revert "[CMake] Unify llvm_check_linker_flag and llvm_check_compiler_linker_flag" 2023-02-22 17:32:07 +00:00
LLVMConfig.cmake.in [llvm][objdump] Remove support for printing the embedded Bitcode section in MachO files. (#68457) 2023-10-09 15:03:29 -07:00
LLVMConfigVersion.cmake.in
LLVMDistributionSupport.cmake
LLVMExternalProjectUtils.cmake [CMake] Ensure CLANG_RESOURCE_DIR is respected. 2023-06-03 04:21:35 -07:00
LLVMInstallSymlink.cmake Use LLVM_USE_SYMLINKS option in install_symlink 2023-03-08 07:26:27 +00:00
LLVMProcessSources.cmake LLVMProcessSources.cmake: Improve PARTIAL_SOURCES_INTENDED. 2023-02-12 20:12:37 +09:00
TableGen.cmake add_tablegen: Quick fix to reflect LLVM_TABLEGEN to llvm-min-tblgen 2023-05-02 17:05:42 +09:00
TensorFlowCompile.cmake [cmake] Stop using add_definitions 2023-01-24 08:27:04 +00:00
UseLibtool.cmake
VersionFromVCS.cmake