[Kst] branches/work/kst/portto4/kst/misc

Peter Kümmel syntheticpp at gmx.net
Thu Jan 27 19:59:24 CET 2011


SVN commit 1217521 by kuemmel:

update mingw build script

 M  +16 -8     mingw-release.bat  


--- branches/work/kst/portto4/kst/misc/mingw-release.bat #1217520:1217521
@@ -6,27 +6,35 @@
 rmdir /s/q %KSTDEPS%
 
 del CMakeCache.txt
-cmake -G"MinGW Makefiles" -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%KSTDEPS% Q:\netcdf\netcdf-4.1.1\netcdf-4.1.1\netcdf-windows
+cmake ..\kst\misc\netcdf-windows -Dnetcdf_sources=Q:/netcdf/netcdf-4.1.1/netcdf-4.1.1 -G"MinGW Makefiles" -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%KSTDEPS%
 mingw32-make install
 
 
 del CMakeCache.txt
-cmake -G"MinGW Makefiles" -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%KSTDEPS% Q:\getdata\getdata\cmake
+cmake Q:\getdata\getdata\cmake -G"MinGW Makefiles" -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%KSTDEPS%
 mingw32-make install
 
 
 del CMakeCache.txt
-cmake -G"MinGW Makefiles" -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%KSTDEPS% Q:\gsl\gsl-1.14\gsl-1.14
+cmake ..\kst\misc\gsl-windows Q:\gsl\gsl-1.14\gsl-1.14 -G"MinGW Makefiles" -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%KSTDEPS%
 mingw32-make install
 
+del CMakeCache.txt
+cmake ..\kst\misc\cfitsio-windows -DCFIT_DIR=Q:/cfits/cfit3250 -G"MinGW Makefiles" -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=%KSTDEPS% 
+mingw32-make install
 
 
-set GETDATADIR=%KSTDEPS%
-set NETCDFDIR=%KSTDEPS%
-set GSLDIR=%KSTDEPS%
+set GETDATA_DIR=%KSTDEPS%
+set NETCDF_DIR=%KSTDEPS%
+set GSL_DIR=%KSTDEPS%
+set CFITSIO_DIR=%KSTDEPS%
 
-rmdir /s/q build
+del CMakeCache.txt
+rmdir /s/q bin
+rmdir /s/q lib
+rmdir /s/q plugin
 
-qmake ..\kst\kst.pro CONFIG+=release -r
+cmake ..\kst\cmake -G"MinGW Makefiles" -Dkst_release=1 -Dkst_merge_files=1 
 
 mingw32-make
+mingw32-make install


More information about the Kst mailing list