mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-31 13:17:31 +00:00 
			
		
		
		
	 9ef37dd781
			
		
	
	
		9ef37dd781
		
			
		
	
	
	
	
		
			
			Implement source debugging feature for classic interpreter and AOT: - use `cmake -DWAMR_BUILD_DEBUG_INTERP=1` to enable interpreter debugging - use `cmake -DWAMR_BUILD_DEBUG_AOT=1` to enable AOT debugging See doc/source_debugging.md for more details.
		
			
				
	
	
		
			19 lines
		
	
	
		
			516 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			516 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set (IWASM_COMPL_DIR ${CMAKE_CURRENT_LIST_DIR})
 | |
| 
 | |
| include_directories(${IWASM_COMPL_DIR})
 | |
| 
 | |
| if (WAMR_BUILD_DEBUG_AOT EQUAL 1)
 | |
|     file (GLOB_RECURSE source_all
 | |
|                     ${IWASM_COMPL_DIR}/*.c
 | |
|                     ${IWASM_COMPL_DIR}/*.cpp)
 | |
| else()
 | |
|     file (GLOB source_all
 | |
|                     ${IWASM_COMPL_DIR}/simd/*.c
 | |
|                     ${IWASM_COMPL_DIR}/simd/*.cpp
 | |
|                     ${IWASM_COMPL_DIR}/*.c
 | |
|                     ${IWASM_COMPL_DIR}/*.cpp)
 | |
| endif()
 | |
| 
 | |
| set (IWASM_COMPL_SOURCE ${source_all})
 | |
| 
 |