diff options
Diffstat (limited to 'src/pal/tools')
-rwxr-xr-x | src/pal/tools/gen-buildsys-clang.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pal/tools/gen-buildsys-clang.sh b/src/pal/tools/gen-buildsys-clang.sh index b63a3fb657..790014e9f1 100755 --- a/src/pal/tools/gen-buildsys-clang.sh +++ b/src/pal/tools/gen-buildsys-clang.sh @@ -36,6 +36,7 @@ fi build_arch="$4" buildtype=DEBUG code_coverage=OFF +build_tests=OFF for i in "${@:5}"; do upperI="$(echo $i | awk '{print toupper($0)}')" @@ -48,6 +49,10 @@ for i in "${@:5}"; do echo "Code coverage is turned on for this build." code_coverage=ON ;; + INCLUDE_TESTS) + echo "Including tests directory in build." + build_tests=ON + ;; *) echo "Ignoring unknown arg '$i'" esac @@ -129,5 +134,6 @@ cmake \ "-DCMAKE_OBJDUMP=$llvm_objdump" \ "-DCMAKE_BUILD_TYPE=$buildtype" \ "-DCMAKE_ENABLE_CODE_COVERAGE=$code_coverage" \ + "-DCLR_CMAKE_BUILD_TESTS=$build_tests" \ $cmake_extra_defines \ "$1" |