From ad54813a6c4f44a4e936c94dcea64597df55fdd0 Mon Sep 17 00:00:00 2001 From: Sara Golemon Date: Fri, 4 Apr 2014 14:10:20 -0700 Subject: [PATCH] Don't build test binary by default. Enable it with `cmake -DTEST_BIN=On .` --- hphp/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hphp/CMakeLists.txt b/hphp/CMakeLists.txt index 95dd83821bc..52f05b6de6a 100644 --- a/hphp/CMakeLists.txt +++ b/hphp/CMakeLists.txt @@ -52,7 +52,8 @@ add_subdirectory(zend) add_subdirectory(hhvm) -if (NOT "$ENV{HPHP_NOTEST}" STREQUAL "1") +option(TEST_BIN "Create the HHVM test binary" OFF) +if (TEST_BIN) add_subdirectory(test) endif () -- 2.11.4.GIT