make.bat: add option for enabling the OpenGL based tests.
authorRay Molenkamp <github@lazydodo.com>
Mon, 13 May 2019 20:08:27 +0000 (14:08 -0600)
committerRay Molenkamp <github@lazydodo.com>
Mon, 13 May 2019 20:08:27 +0000 (14:08 -0600)
build_files/windows/parse_arguments.cmd
build_files/windows/show_help.cmd

index ed54ee9..98c5708 100644 (file)
@@ -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% ^
index 984c1cc..6eaa4e6 100644 (file)
@@ -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^)