mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	It didn't work with "install". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233708 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			22 lines
		
	
	
		
			321 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			321 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(LLVM_LINK_COMPONENTS
 | |
|   Core
 | |
|   ExecutionEngine
 | |
|   MC
 | |
|   MCJIT
 | |
|   RuntimeDyld
 | |
|   Support
 | |
|   nativecodegen
 | |
|   )
 | |
| 
 | |
| # Enable EH and RTTI for this demo
 | |
| set(LLVM_REQUIRES_EH 1)
 | |
| set(LLVM_REQUIRES_RTTI 1)
 | |
| 
 | |
| set(LLVM_BUILD_EXAMPLES OFF)
 | |
| 
 | |
| add_llvm_example(ExceptionDemo
 | |
|   ExceptionDemo.cpp
 | |
|   )
 | |
| 
 | |
| export_executable_symbols(ExceptionDemo)
 |