Added configure script for people who want to run ./configure. It checks

for the existence of a cmake binary, then gives
summary info on how to build with CMake and points at the wiki.


git-svn-id: http://svn.osgeo.org/qgis/trunk@7075 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
gsherman 2007-07-18 02:48:11 +00:00
parent d6eceba4cc
commit a6c46df64f

31
configure vendored Executable file
View File

@ -0,0 +1,31 @@
#!/bin/sh
CMAKE=`which cmake`
if [ "$CMAKE" = "" ]
then
echo "QGIS now requires CMake to configure and build.
You either don't have CMake installed or it is not in your path.
First install CMake (you can download it from http://www.cmake.org) and
then run this script again or see:
http://wiki.qgis.org/qgiswiki/Building_with_CMake for more information."
else
echo "Congratulations -- You have CMake installed in $CMAKE
"
echo "To build QGIS:
mkdir build
cd build
cmake ..
make
make install
"
echo "If you want to install QGIS in a place other than /usr/local use:
cmake -D CMAKE_INSTALL_PREFIX=/you/install/dir ..
"
echo "For full control over all the build options, from your build directory use:
ccmake .."
echo "
See http://wiki.qgis.org/qgiswiki/Building_with_CMake for more information."
fi