introduce WAMR memory profiling tool (experimental) (#390)
This commit is contained in:
@ -39,7 +39,7 @@ if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -m32")
|
||||
endif ()
|
||||
|
||||
add_definitions(-Wall -Wno-pointer-sign -DMALLOC_MEMORY_FROM_SYSTEM)
|
||||
add_definitions(-Wall -Wno-pointer-sign)
|
||||
|
||||
include_directories(
|
||||
${CMAKE_CURRENT_LIST_DIR}/src
|
||||
@ -48,7 +48,6 @@ include_directories(
|
||||
|
||||
file (GLOB_RECURSE HOST_TOOL_SRC src/*.c)
|
||||
|
||||
|
||||
SET(SOURCES
|
||||
${HOST_TOOL_SRC}
|
||||
${PLATFORM_SHARED_SOURCE}
|
||||
@ -57,6 +56,6 @@ SET(SOURCES
|
||||
${CJSON_SOURCE}
|
||||
${LIB_HOST_AGENT_SOURCE}
|
||||
)
|
||||
|
||||
|
||||
add_executable(host_tool ${SOURCES})
|
||||
target_link_libraries(host_tool pthread)
|
||||
|
||||
Reference in New Issue
Block a user