mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
to globally be controlled. Individual targets (e.g. ExceptionDemo) can still override this by using LLVM_REQUIRE_RTTI and LLVM_REQUIRE_EH if they need to be compiled with RTTI or exception handling respectively. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213663 91177308-0d34-0410-b5e6-96231b3b80d8
18 lines
296 B
CMake
18 lines
296 B
CMake
set(LLVM_LINK_COMPONENTS
|
|
Core
|
|
ExecutionEngine
|
|
MCJIT
|
|
Support
|
|
nativecodegen
|
|
)
|
|
|
|
# Enable EH and RTTI for this demo
|
|
set(LLVM_REQUIRES_EH 1)
|
|
set(LLVM_REQUIRES_RTTI 1)
|
|
|
|
add_llvm_example(ExceptionDemo
|
|
ExceptionDemo.cpp
|
|
)
|
|
|
|
set_target_properties(ExceptionDemo PROPERTIES ENABLE_EXPORTS 1)
|