File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ set BISON=%PROGRAMFILES%\GnuWin32\bin\bison.exe
17
17
18
18
set VERSION = %1
19
19
set PACKAGE = %2
20
+ if %VERSION% == " " goto error
21
+ if %PACKAGE% == " " goto error
20
22
21
23
PROMPT qgis%VERSION% $g
22
24
@@ -76,7 +78,8 @@ cmake -G "Visual Studio 9 2008" ^
76
78
-D BISON_EXECUTABLE=%BISON% ^
77
79
-D GDAL_INCLUDE_DIR=%OSGEO4W_ROOT% \apps\gdal-16\include -D GDAL_LIBRARY=%OSGEO4W_ROOT% \apps\gdal-16\lib\gdal_i.lib ^
78
80
-D PYTHON_EXECUTABLE=%OSGEO4W_ROOT% \bin\python.exe ^
79
- -D PYTHON_INCLUDE_DIR=%OSGEO4W_ROOT% \apps\Python25\include -D PYTHON_LIBRARY=%OSGEO4W_ROOT% \apps\Python25\libs\python25.lib ^
81
+ -D PYTHON_INCLUDE_PATH=%OSGEO4W_ROOT% \apps\Python25\include ^
82
+ -D PYTHON_LIBRARY=%OSGEO4W_ROOT% \apps\Python25\libs\python25.lib ^
80
83
-D SIP_BINARY_PATH=%OSGEO4W_ROOT% \apps\Python25\sip.exe ^
81
84
-D GRASS_PREFIX=%OSGEO4W_ROOT% \apps\grass\grass-%GRASS_VERSION% ^
82
85
-D QT_BINARY_DIR=%OSGEO4W_ROOT% \bin -D QT_LIBRARY_DIR=%OSGEO4W_ROOT% \lib ^
@@ -87,6 +90,9 @@ cmake -G "Visual Studio 9 2008" ^
87
90
../../..>> %LOG% 2 >& 1
88
91
if errorlevel 1 goto error
89
92
93
+ egrep -vq " ^(Python not being built|Could not find GRASS)" %LOG%
94
+ if errorlevel 1 goto error
95
+
90
96
:skipcmake
91
97
92
98
echo ZERO_CHECK: %DATE% %TIME% >> %LOG% 2 >& 1
You can’t perform that action at this time.
0 commit comments