[Kst] branches/work/kst/portto4/kst
Peter Kümmel
syntheticpp at gmx.net
Sun Mar 18 14:22:18 UTC 2012
SVN commit 1286194 by kuemmel:
update 3rdparty download link
build/release script fixes
M +6 -6 cmake/CMakeLists.txt
U cmake/modules/FindNetcdf.cmake
M +8 -2 misc/mingw-release-download-deps.bat
--- branches/work/kst/portto4/kst/cmake/CMakeLists.txt #1286193:1286194
@@ -62,18 +62,18 @@
add_subdirectory(3rdparty)
elseif(kst_3rdparty_download)
message(STATUS "Checking downloaded 3rd party binaries.")
- set(_deps kst-3rdparty-win32-deps)
- set(_file ${_deps}.tar.bz2)
+ set(_deps kst-3rdparty-win32-gcc4.4)
+ set(_file ${_deps}.zip)
set(_downloaded _downloaded-NOTFOUND CACHE PATH "3rd party binaries already downloaded" FORCE)
find_file(_downloaded ${_file} ${CMAKE_BINARY_DIR})
if (NOT _downloaded)
- # TODO move to sf.net, but sf.net is broken atm (Jan 30 2011)
- file(DOWNLOAD http://kst-plot.kde.org/download/${_file} ${CMAKE_BINARY_DIR}/${_file}
- EXPECTED_MD5 d2ffdb6dad509fe40f1cc9f60c88ddd5
+ file(DOWNLOAD http://sourceforge.net/projects/kst/files/3rdparty/${_file}
+ ${CMAKE_BINARY_DIR}/${_file}
+ EXPECTED_MD5 999248fb40a44543af4dd4cd1be0ceeb
SHOW_PROGRESS)
execute_process(COMMAND ${CMAKE_COMMAND} -E tar -xfj ${CMAKE_BINARY_DIR}/${_file})
endif()
- set(kst_3rdparty_dir ${CMAKE_BINARY_DIR}/${_deps}-1.0)
+ set(kst_3rdparty_dir ${CMAKE_BINARY_DIR}/${_deps})
endif()
--- branches/work/kst/portto4/kst/misc/mingw-release-download-deps.bat #1286193:1286194
@@ -1,8 +1,14 @@
-cmake ..\kst\cmake -G"MinGW Makefiles" -Dkst_release=1 -Dkst_merge_files=1 -Dkst_3rdparty_download=1 -Dkst_install_prefix=Kst-%1 -Dkst_version_string=%1
+rmdir /q/s build-mingw-release
+mkdir build-mingw-release
+cd build-mingw-release
-mingw32-make
+cmake ..\kst\cmake -G"MinGW Makefiles" -Dkst_release=1 -Dkst_merge_files=0 -Dkst_3rdparty_download=1 -Dkst_install_prefix=Kst-%1 -Dkst_version_string=%1
+
+mingw32-make -j
mingw32-make install
mingw32-make package
mingw32-make package_source
+cd ..
+
More information about the Kst
mailing list