From 0fb02974a84bfc3a7062fe6e8471432662ee9d59 Mon Sep 17 00:00:00 2001 From: Thomas Lively <7121787+tlively@users.noreply.github.com> Date: Mon, 21 Mar 2022 12:33:07 -0700 Subject: Add BUILD_TESTS CMake option (#4536) Turning it off removes the build dependency on the third-party googletest library. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index a0fdeabfc..4390283c7 100644 --- a/README.md +++ b/README.md @@ -318,7 +318,9 @@ After that you can build with CMake: cmake . && make ``` -A C++14 compiler is required. Note that you can also use `ninja` as your generator: `cmake -G Ninja . && ninja`. +A C++17 compiler is required. Note that you can also use `ninja` as your generator: `cmake -G Ninja . && ninja`. + +To avoid the gtest dependency, you can pass `-DBUILD_TESTS=OFF` to cmake. Binaryen.js can be built using Emscripten, which can be installed via [the SDK](http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html)). -- cgit v1.2.3