summaryrefslogtreecommitdiff
path: root/build-cmake.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-cmake.sh')
-rwxr-xr-xbuild-cmake.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/build-cmake.sh b/build-cmake.sh
deleted file mode 100755
index 0d46899..0000000
--- a/build-cmake.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/bash -ex
-# Download & build cmake on the local machine
-# works on Linux, OSX, and Windows (Git Bash)
-# leaves output in /tmp/cmake-build/install/
-# cmake must be installed on Windows
-
-PROJ=cmake
-VER=3.2.3
-MSVS=2013
-
-source $(dirname "$0")/build-common.sh build-common.sh
-
-TGZ=$PROJ-$VER.tar.gz # has \n line feeds
-curl -L http://www.cmake.org/files/v3.2/$TGZ -o $TGZ
-tar xzf $TGZ
-mkdir $RD/build
-cd $RD/build
-
-case "$OS" in
-windows)
- #cmake -G "Visual Studio 12 2013" "$(cygpath -w $RD/$PROJ-$VER)"
- #devenv.com CMake.sln /Build Release /Out log.txt
- cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX:PATH="$(cygpath -w $INSTALL)" "$(cygpath -w $RD/$PROJ-$VER)" -DCMAKE_BUILD_TYPE=Release
- ;;
-*)
- $RD/$PROJ-$VER/configure --prefix=$INSTALL
- ;;
-esac
-make -j$CORES
-make install
-
-commit_and_push