mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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
This commit is contained in:
parent
bbccced493
commit
1f23e7e5cb
31
configure
vendored
Executable file
31
configure
vendored
Executable 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
|
Loading…
x
Reference in New Issue
Block a user