Skip to content

Commit 177f52e

Browse files
committed
Add CMake support for EMSCRIPTEN and WAMRC, update module paths
1 parent 62c8d08 commit 177f52e

File tree

7 files changed

+3
-50
lines changed

7 files changed

+3
-50
lines changed

samples/debug-tools/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ include(CheckPIESupported)
77

88
project(debug_tools_sample)
99

10-
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
10+
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../cmake)
1111
find_package(WASISDK REQUIRED)
1212

1313
option(SOURCE_MAP_DEMO "Enable source map demo" OFF)

samples/debug-tools/cmake/FindWASISDK.cmake

Lines changed: 0 additions & 24 deletions
This file was deleted.

samples/debug-tools/wasm-apps/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ project (debut_tools_wasm)
77

88
set (CMAKE_BUILD_TYPE Debug) # Otherwise no debug symbols (addr2line)
99

10-
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/../cmake)
10+
list (APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/../../cmake)
1111
find_package (WAMRC REQUIRED)
1212

1313
option(SOURCE_MAP_DEMO "Enable source map demo" OFF)

samples/linux-perf/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ endif()
1515

1616
set(CMAKE_CXX_STANDARD 17)
1717

18-
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
18+
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/../cmake)
1919
find_package(WASISDK REQUIRED)
2020

2121
################ runtime settings ################

samples/linux-perf/cmake/FindWASISDK.cmake

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)