Implement source debugging for interpreter and AOT (#769)
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.
This commit is contained in:
@ -2,9 +2,17 @@ set (IWASM_COMPL_DIR ${CMAKE_CURRENT_LIST_DIR})
|
||||
|
||||
include_directories(${IWASM_COMPL_DIR})
|
||||
|
||||
file (GLOB_RECURSE source_all
|
||||
${IWASM_COMPL_DIR}/*.c
|
||||
${IWASM_COMPL_DIR}/*.cpp)
|
||||
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})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user