Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2019-05-13 23:08:27 +0300
committerRay Molenkamp <github@lazydodo.com>2019-05-13 23:08:27 +0300
commit164fafdcb01a505a382cb16a38d07a9d53586764 (patch)
treebe3a6c9128c4f7b8fcb825f5ea94a676b285cc79 /build_files/windows
parent27d097e92d543b14ad5400c61fb3ae674064d0d5 (diff)
make.bat: add option for enabling the OpenGL based tests.
Diffstat (limited to 'build_files/windows')
-rw-r--r--build_files/windows/parse_arguments.cmd4
-rw-r--r--build_files/windows/show_help.cmd1
2 files changed, 4 insertions, 1 deletions
diff --git a/build_files/windows/parse_arguments.cmd b/build_files/windows/parse_arguments.cmd
index ed54ee9d13a..98c5708c216 100644
--- a/build_files/windows/parse_arguments.cmd
+++ b/build_files/windows/parse_arguments.cmd
@@ -16,7 +16,9 @@ if NOT "%1" == "" (
set BUILD_DIR_OVERRRIDE="%BLENDER_DIR%..\%2"
shift /1
) else if "%1" == "with_tests" (
- set TESTS_CMAKE_ARGS=-DWITH_GTESTS=On
+ set TESTS_CMAKE_ARGS=%TESTS_CMAKE_ARGS% -DWITH_GTESTS=On
+ ) else if "%1" == "with_opengl_tests" (
+ set TESTS_CMAKE_ARGS=%TESTS_CMAKE_ARGS% -DWITH_OPENGL_DRAW_TESTS=On -DWITH_OPENGL_RENDER_TESTS=On
) else if "%1" == "full" (
set TARGET=Full
set BUILD_CMAKE_ARGS=%BUILD_CMAKE_ARGS% ^
diff --git a/build_files/windows/show_help.cmd b/build_files/windows/show_help.cmd
index 984c1ccfbeb..6eaa4e6c56d 100644
--- a/build_files/windows/show_help.cmd
+++ b/build_files/windows/show_help.cmd
@@ -28,6 +28,7 @@ echo - 2017b ^(build with visual studio 2017 Build Tools^)
echo.
echo Experimental options
+echo - with_opengl_tests ^(enable both the render and draw opengl test suites^)
echo - 2015 ^(build with visual studio 2015^)
echo - clang ^(enable building with clang^)
echo - asan ^(enable asan when building with clang^)