Skip to content
Permalink
Browse files

Updated notes for cmake step in osx build notes.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7251 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Oct 5, 2007
1 parent 7a52ae2 commit 964610918341eff932d12362f893ee85c9ce846c
Showing with 14 additions and 6 deletions.
  1. +7 −3 INSTALL
  2. +7 −3 INSTALL.t2t
10 INSTALL
@@ -683,21 +683,25 @@ I suggest you press 'p' to accept the key permanently.
========================

CMake supports out of source build so we will create a 'build' dir for the
build process
build process . By convention I build my software into a dir called 'apps'
in my home directory. If you have the correct permissions you may want to
build straight into your /Applications folder (although personally I dont
really recommend this). The instructions below assume you are building into
a pre-existing ${HOME}/apps directory ...


cd qgis
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=$HOME/apps/ -D CMAKE_BUILD_TYPE=Release..
cmake -D CMAKE_INSTALL_PREFIX=$HOME/apps/ -D CMAKE_BUILD_TYPE=Release ..


To use a specific GRASS version, You can optionally use the following
cmake invocation (with modifications to suite your system (thanks William
Kyngesburye for this hint):


cmake -D CMAKE_INSTALL_PREFIX=$HOME/apps/ \
cmake -D CMAKE_INSTALL_PREFIX=${HOME}/apps/ \
-D GRASS_INCLUDE_DIR=/Applications/GRASS-6.3.app/Contents/Resources/include \
-D GRASS_PREFIX=/Applications/GRASS-6.3.app/Contents/Resources \
-D CMAKE_BUILD_TYPE=Release \
@@ -578,21 +578,25 @@ I suggest you press 'p' to accept the key permanently.
== Configure the build ==

CMake supports out of source build so we will create a 'build' dir for the
build process
build process . By convention I build my software into a dir called 'apps'
in my home directory. If you have the correct permissions you may want to
build straight into your /Applications folder (although personally I dont
really recommend this). The instructions below assume you are building into
a pre-existing ${HOME}/apps directory ...

```
cd qgis
mkdir build
cd build
cmake -D CMAKE_INSTALL_PREFIX=$HOME/apps/ -D CMAKE_BUILD_TYPE=Release..
cmake -D CMAKE_INSTALL_PREFIX=$HOME/apps/ -D CMAKE_BUILD_TYPE=Release ..
```

To use a specific GRASS version, You can optionally use the following
cmake invocation (with modifications to suite your system (thanks William
Kyngesburye for this hint):

```
cmake -D CMAKE_INSTALL_PREFIX=$HOME/apps/ \
cmake -D CMAKE_INSTALL_PREFIX=${HOME}/apps/ \
-D GRASS_INCLUDE_DIR=/Applications/GRASS-6.3.app/Contents/Resources/include \
-D GRASS_PREFIX=/Applications/GRASS-6.3.app/Contents/Resources \
-D CMAKE_BUILD_TYPE=Release \

0 comments on commit 9646109

Please sign in to comment.
You can’t perform that action at this time.