llvm-6502/cmake/modules
NAKAMURA Takumi 3303370cd0 [CMake] Enhance llvm_update_compile_flags(name sources) to handle LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI.
LLVM_REQUIRES_EH implies LLVM_REQUIRES_RTTI. It is as same behavior as Makefile.rule's.
llvm/examples/ExceptionDemo is affected. (It was built with -fno-rtti.)

For MSVC, Remove flags like "/EHsc /GR" in HandleLLVMOptions, or CL.EXE complains with flags like "/GR /GR-".

llvm_update_compile_flags() updates source file property if the target contains *.c.
COMPILE_FLAGS in target properties affects both C++ and C!

LLVM_NO_RTTI is deprecated. It was introduced by me and was my mistake.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200301 91177308-0d34-0410-b5e6-96231b3b80d8
2014-01-28 09:44:06 +00:00
..
AddLLVM.cmake [CMake] Enhance llvm_update_compile_flags(name sources) to handle LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI. 2014-01-28 09:44:06 +00:00
AddLLVMDefinitions.cmake
CheckAtomic.cmake
ChooseMSVCCRT.cmake Suppress an annoying CMake warning in ChooseMSVCCRT.cmake 2013-08-19 20:25:26 +00:00
CMakeLists.txt CMake: Add LLVM_INSTALL_TOOLCHAIN_ONLY option. 2013-08-24 00:20:36 +00:00
GetHostTriple.cmake Undo an over zealous rename. This bit of the CMake build really is 2012-01-24 18:00:44 +00:00
GetSVN.cmake Reverts commit r190808 and r190556. 2013-10-01 17:40:47 +00:00
HandleLLVMOptions.cmake [CMake] Enhance llvm_update_compile_flags(name sources) to handle LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI. 2014-01-28 09:44:06 +00:00
LLVM-Config.cmake Revert "Revert "Windows: Add support for unicode command lines"" 2013-10-07 01:00:07 +00:00
LLVMConfig.cmake.in [CMake] Prune LLVM_TOOLS_BINARY_DIR in LLVMConfig.cmake, since it always points build directory. 2013-12-18 15:57:58 +00:00
LLVMConfigVersion.cmake.in
LLVMParseArguments.cmake
LLVMProcessSources.cmake [CMake] Let llvm_process_sources check not only *.cpp but also *.c. 2014-01-28 09:43:49 +00:00
TableGen.cmake [CMake] tablegen(): Use -I <dir> according to the list by include_directories(). 2014-01-26 12:41:38 +00:00
VersionFromVCS.cmake CMake: Don't run 'git svn' if there is no .git/svn directory. 2012-12-10 19:03:37 +00:00