- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Search for |

# saga-defaults.hpp

Go to the documentation of this file.

    00001 //  Copyright (c) 2005-2007 Andre Merzky (andre@merzky.net)
    00002 //
    00003 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
    00004 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
    00005 //
    00006 // Note that this file relies on a number of defines to be set, usually by
    00007 // configure or the build environment used.  These defines are:
    00008 //
    00009 // SAGA_PREFIX: the target dir for this SAGA installation.
    00010
    00011 #ifndef SAGA_DEFAULTS_HPP
    00012 #define SAGA_DEFAULTS_HPP
    00013
    00014 #if !defined(SAGA_PREFIX)
    00015 #error "Do not include this file without defining SAGA_PREFIX (see saga-config.hpp)."
    00016 #endif
    00017
    00018 // the saga engine needs to know where to look for the saga ini
    00019 // files if no ini path is specified by the user.  That by default
    00020 // in $SAGA_LOCATION/share/saga/.  Also, the default adaptor path
    00021 // is set within the same prefix
    00022 #if !defined(SAGA_DEFAULT_INI_PATH)
    00023 #define SAGA_DEFAULT_INI_PATH      SAGA_PREFIX "/share/saga"
    00024 #endif
    00025 #if !defined(SAGA_DEFAULT_INI_FILE)
    00026 #define SAGA_DEFAULT_INI_FILE      SAGA_PREFIX "/share/saga/saga.ini"
    00027 #endif
    00028 #if !defined(SAGA_DEFAULT_ADAPTOR_PATH)
    00029 #define SAGA_DEFAULT_ADAPTOR_PATH  SAGA_PREFIX "/lib"
    00030 #endif
    00031
    00032 #endif // SAGA_DEFAULTS_HPP
    00033