mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
59dfdd0290
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. llvm-svn: 213663
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)
|