mirror of
https://github.com/reactos/CMake.git
synced 2024-11-29 06:20:23 +00:00
ENH: Updated for CMake 1.6 release. Version number is now in a single file that is sourced by all others.
This commit is contained in:
parent
09778d1776
commit
77ac6a02c0
@ -1,5 +1,3 @@
|
||||
RELEASE_TAG="Release-1-4"
|
||||
VERSION="1.4.7"
|
||||
PLATFORM="darwin"
|
||||
CC="cc"
|
||||
CXX="c++"
|
||||
|
@ -1,5 +1,3 @@
|
||||
RELEASE_TAG="Release-1-4"
|
||||
VERSION="1.4.7"
|
||||
PLATFORM="hpux-static"
|
||||
CC="cc"
|
||||
CXX="aCC"
|
||||
|
@ -1,5 +1,3 @@
|
||||
RELEASE_TAG="Release-1-4"
|
||||
VERSION="1.4.7"
|
||||
PLATFORM="irix65"
|
||||
CC="cc"
|
||||
CXX="CC"
|
||||
|
@ -1,5 +1,3 @@
|
||||
RELEASE_TAG="Release-1-4"
|
||||
VERSION="1.4.7"
|
||||
PLATFORM="x86-linux-static"
|
||||
CREATE_SOURCE_TARBALL="yes"
|
||||
CURSES_LIBRARY="/usr/lib/libcurses.a"
|
||||
|
@ -1,5 +1,3 @@
|
||||
RELEASE_TAG="Release-1-4"
|
||||
VERSION="1.4.7"
|
||||
PLATFORM="alpha-osf"
|
||||
CC="cc"
|
||||
CXX="cxx"
|
||||
|
@ -1,5 +1,3 @@
|
||||
RELEASE_TAG="Release-1-4"
|
||||
VERSION="1.4.7"
|
||||
PLATFORM="sparc-sunos57-static"
|
||||
CURSES_LIBRARY="/usr/lib/libcurses.a"
|
||||
FORM_LIBRARY="/usr/lib/libform.a"
|
||||
|
@ -4,12 +4,18 @@
|
||||
# directory from a separate CMake checkout.
|
||||
#
|
||||
|
||||
CVS_TAG="-r Release-1-4"
|
||||
# Find our own script's location.
|
||||
SELFPATH=`cd \`echo $0 | sed -n '/\//{s/\/[^\/]*$//;p;}'\`;pwd`
|
||||
|
||||
# Read version numbers.
|
||||
. ${SELFPATH}/cmake_release_version.sh
|
||||
|
||||
CVS_TAG="-r ${CURRENT_TAG}"
|
||||
PKG=cmake
|
||||
VER=1.4.7
|
||||
REL=1
|
||||
PREVER=1.4.6
|
||||
PREREL=1
|
||||
VER="${CURRENT_VERSION}"
|
||||
REL="${CURRENT_RELEASE}"
|
||||
PREVER="${PREVIOUS_VERSION}"
|
||||
PREREL="${PREVIOUS_RELEASE}"
|
||||
|
||||
CVSROOT=":pserver:anonymous@www.cmake.org:/cvsroot/CMake"
|
||||
FULLPKG="${PKG}-${VER}-${REL}"
|
||||
|
@ -13,8 +13,6 @@ if test "x$1" = "x"; then
|
||||
echo " $0 <configuration-file>"
|
||||
echo ""
|
||||
echo "Sample configuration file:"
|
||||
echo " RELEASE_TAG=\"Release-1-4\""
|
||||
echo " VERSION=\"1.4\""
|
||||
echo " PLATFORM=\"x86-linux\""
|
||||
exit 1
|
||||
fi
|
||||
@ -65,6 +63,9 @@ BUILD_TESTING:BOOL=OFF
|
||||
EOF
|
||||
}
|
||||
|
||||
SELFPATH=`cd \`echo $0 | sed -n '/\//{s/\/[^\/]*$//;p;}'\`;pwd`
|
||||
. ${SELFPATH}/cmake_release_version.sh
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Configuration options.
|
||||
echo "Reading configuration from ${CONFIG_FILE}..."
|
||||
@ -77,6 +78,8 @@ fi
|
||||
export CC CXX CFLAGS CXXFLAGS
|
||||
|
||||
# Select directories.
|
||||
RELEASE_TAG="${CURRENT_TAG}"
|
||||
VERSION="${CURRENT_VERSION}"
|
||||
INSTALL_DIR="${RELEASE_ROOT}/Install"
|
||||
TARBALL_DIR="${RELEASE_ROOT}/Tarballs"
|
||||
SOURCE_DIR="${RELEASE_ROOT}/CMake-$VERSION"
|
||||
|
7
Utilities/cmake_release_version.sh
Executable file
7
Utilities/cmake_release_version.sh
Executable file
@ -0,0 +1,7 @@
|
||||
CURRENT_TAG="Release-1-6"
|
||||
CURRENT_VERSION="1.6.0"
|
||||
CURRENT_RELEASE="1"
|
||||
|
||||
# Cygwin packages need previous version/release.
|
||||
PREVIOUS_VERSION="1.4.7"
|
||||
PREVIOUS_RELEASE="1"
|
Loading…
Reference in New Issue
Block a user