diff options
author | Oscar Fuentes <ofv@wanadoo.es> | 2010-10-17 02:26:16 +0000 |
---|---|---|
committer | Oscar Fuentes <ofv@wanadoo.es> | 2010-10-17 02:26:16 +0000 |
commit | c1c44cb6fb9dfbf0b747a7b76b9daa46c6e99023 (patch) | |
tree | 6e4ef374b23b14db2199b461e21322b316061515 /examples | |
parent | 39e561285e94219d97ff1ba23ffd10d153d5f7ad (diff) | |
download | external_llvm-c1c44cb6fb9dfbf0b747a7b76b9daa46c6e99023.zip external_llvm-c1c44cb6fb9dfbf0b747a7b76b9daa46c6e99023.tar.gz external_llvm-c1c44cb6fb9dfbf0b747a7b76b9daa46c6e99023.tar.bz2 |
Build with RTTI and exceptions disabled. Only in GCC for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116682 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ExceptionDemo/CMakeLists.txt | 1 | ||||
-rw-r--r-- | examples/Kaleidoscope/Chapter7/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/examples/ExceptionDemo/CMakeLists.txt b/examples/ExceptionDemo/CMakeLists.txt index d661915..88c9ab7 100644 --- a/examples/ExceptionDemo/CMakeLists.txt +++ b/examples/ExceptionDemo/CMakeLists.txt @@ -1,4 +1,5 @@ set(LLVM_LINK_COMPONENTS jit nativecodegen) +set(LLVM_REQUIRES_EH 1) add_llvm_example(ExceptionDemo ExceptionDemo.cpp diff --git a/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/examples/Kaleidoscope/Chapter7/CMakeLists.txt index 9b8227c..da38398 100644 --- a/examples/Kaleidoscope/Chapter7/CMakeLists.txt +++ b/examples/Kaleidoscope/Chapter7/CMakeLists.txt @@ -1,4 +1,5 @@ set(LLVM_LINK_COMPONENTS core jit interpreter native) +set(LLVM_REQUIRES_RTTI 1) add_llvm_example(Kaleidoscope-Ch7 toy.cpp |