Skip to content

Commit

Permalink
WASM: Add necessary CMake variables in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaikh-Ubaid committed Aug 25, 2022
1 parent 491dd75 commit 538b355
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ set(WITH_RUNTIME_LIBRARY YES
set(WITH_INTRINSIC_MODULES no
CACHE BOOL "Compile intrinsic modules to .pyc (ASR) at build time")

set(WITH_WHEREAMI yes
CACHE BOOL "Include whereami.cpp")

set(WITH_ZLIB yes
CACHE BOOL "Compile with ZLIB Library")

# Build to wasm
set(LPYTHON_BUILD_TO_WASM no
CACHE BOOL "Compile LPython To WASM")
Expand Down Expand Up @@ -281,6 +287,8 @@ message("WITH_LSP: ${WITH_LSP}")
message("WITH_FMT: ${WITH_FMT}")
message("WITH_LFORTRAN_BINARY_MODFILES: ${WITH_LFORTRAN_BINARY_MODFILES}")
message("WITH_RUNTIME_LIBRARY: ${WITH_RUNTIME_LIBRARY}")
message("WITH_WHEREAMI: ${WITH_WHEREAMI}")
message("WITH_ZLIB: ${WITH_ZLIB}")
message("WITH_TARGET_AARCH64: ${WITH_TARGET_AARCH64}")
message("WITH_TARGET_X86: ${WITH_TARGET_X86}")

Expand Down

0 comments on commit 538b355

Please sign in to comment.