Skip to content

Commit

Permalink
Updated notes for cmake step in osx build notes.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@7251 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Oct 5, 2007
1 parent b701aee commit 0a8daae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
10 changes: 7 additions & 3 deletions INSTALL
Expand Up @@ -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 \
Expand Down
10 changes: 7 additions & 3 deletions INSTALL.t2t
Expand Up @@ -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 \
Expand Down

0 comments on commit 0a8daae

Please sign in to comment.