1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
set(LLVM_LINK_COMPONENTS Core ExecutionEngine MCJIT Support nativecodegen ) set(LLVM_REQUIRES_EH 1) add_llvm_example(ExceptionDemo ExceptionDemo.cpp ) set_target_properties(ExceptionDemo PROPERTIES ENABLE_EXPORTS 1)