Skip to content

Commit 1f23e7e

Browse files
author
gsherman
committedJul 18, 2007
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/qgis@7075 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
 

‎configure

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/bin/sh
2+
CMAKE=`which cmake`
3+
if [ "$CMAKE" = "" ]
4+
then
5+
echo "QGIS now requires CMake to configure and build.
6+
7+
You either don't have CMake installed or it is not in your path.
8+
First install CMake (you can download it from http://www.cmake.org) and
9+
then run this script again or see:
10+
http://wiki.qgis.org/qgiswiki/Building_with_CMake for more information."
11+
else
12+
echo "Congratulations -- You have CMake installed in $CMAKE
13+
"
14+
echo "To build QGIS:
15+
mkdir build
16+
cd build
17+
cmake ..
18+
make
19+
make install
20+
"
21+
22+
echo "If you want to install QGIS in a place other than /usr/local use:
23+
cmake -D CMAKE_INSTALL_PREFIX=/you/install/dir ..
24+
"
25+
26+
echo "For full control over all the build options, from your build directory use:
27+
ccmake .."
28+
29+
echo "
30+
See http://wiki.qgis.org/qgiswiki/Building_with_CMake for more information."
31+
fi

0 commit comments

Comments
 (0)
Please sign in to comment.