Skip to content

Commit

Permalink
Merge pull request #564 from ewasm/debugging
Browse files Browse the repository at this point in the history
Turn debugging off by default
  • Loading branch information
axic authored Nov 26, 2020
2 parents 65efd8c + f54ef44 commit 17d9b28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Please also check the build options listed in the following section.

## Build options

- `-DHERA_DEBUGGING=ON` will turn on debugging features and messages
- `-DHERA_DEBUGGING=ON` will turn on debugging features and messages. This is off by default.
- `-DBUILD_SHARED_LIBS=ON` is a standard CMake option to build libraries as shared. This will build Hera shared library that can be then dynamically loaded by EVMC compatible Clients (e.g. `aleth` from [aleth]). **This is the preferred way of compilation.**

### wabt support
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if(HERA_WAVM)
target_sources(hera PRIVATE wavm.cpp wavm.h)
endif()

option(HERA_DEBUGGING "Display debugging messages during execution." ON)
option(HERA_DEBUGGING "Display debugging messages during execution." OFF)
if(HERA_DEBUGGING)
target_compile_definitions(hera PRIVATE HERA_DEBUGGING=1)
endif()
Expand Down

0 comments on commit 17d9b28

Please sign in to comment.