[Bf-blender-cvs] [164fafdcb01] master: make.bat: add option for enabling the OpenGL based tests.
Ray Molenkamp
noreply at git.blender.org
Mon May 13 22:08:35 CEST 2019
Commit: 164fafdcb01a505a382cb16a38d07a9d53586764
Author: Ray Molenkamp
Date: Mon May 13 14:08:27 2019 -0600
Branches: master
https://developer.blender.org/rB164fafdcb01a505a382cb16a38d07a9d53586764
make.bat: add option for enabling the OpenGL based tests.
===================================================================
M build_files/windows/parse_arguments.cmd
M build_files/windows/show_help.cmd
===================================================================
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^)
More information about the Bf-blender-cvs
mailing list