Skip to content

Commit

Permalink
Added configure script for people who want to run ./configure. It checks
Browse files Browse the repository at this point in the history
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/qgis@7075 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
gsherman committed Jul 18, 2007
1 parent bbccced commit 1f23e7e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions configure
@@ -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

0 comments on commit 1f23e7e

Please sign in to comment.