/*
 *    Copyright 2012 Thomas Schöps
 *    Copyright 2012-2017, 2019 Kai Pastor
 *    
 *    This file is part of OpenOrienteering.
 * 
 *    OpenOrienteering is free software: you can redistribute it and/or modify
 *    it under the terms of the GNU General Public License as published by
 *    the Free Software Foundation, either version 3 of the License, or
 *    (at your option) any later version.
 * 
 *    OpenOrienteering is distributed in the hope that it will be useful,
 *    but WITHOUT ANY WARRANTY; without even the implied warranty of
 *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *    GNU General Public License for more details.
 * 
 *    You should have received a copy of the GNU General Public License
 *    along with OpenOrienteering.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef OPENORIENTEERING_MAPPER_CONFIG_H
#define OPENORIENTEERING_MAPPER_CONFIG_H

#include <QCoreApplication>
#include <clipper.hpp>

#define APP_NAME qApp->translate("Global", QT_TRANSLATE_NOOP("Global", "OpenOrienteering Mapper"))
#define APP_VERSION "@Mapper_VERSION_DISPLAY@"
#define APP_VERSION_FILESYSTEM "@Mapper_VERSION_FILESYSTEM@"
#define APP_COPYRIGHT "@Mapper_COPYRIGHT@"
#define MAPPER_HELP_NAMESPACE "@Mapper_HELP_NAMESPACE@"

#cmakedefine Mapper_DEBUG_TRANSLATIONS
#cmakedefine Mapper_PACKAGE_NAME
#define MAPPER_DATA_DESTINATION  "@CMAKE_INSTALL_PREFIX@/@MAPPER_DATA_DESTINATION@"
#define MAPPER_ABOUT_DESTINATION "@CMAKE_INSTALL_PREFIX@/@MAPPER_ABOUT_DESTINATION@"

#ifdef Mapper_PACKAGE_NAME
#define MAPPER_PACKAGE_NAME "@Mapper_PACKAGE_NAME@"
#endif

#ifdef MAPPER_DEVELOPMENT_BUILD
#define MAPPER_DEVELOPMENT_APP_DIR "@CMAKE_CURRENT_BINARY_DIR@"
#define MAPPER_DEVELOPMENT_RES_DIR "@PROJECT_BINARY_DIR@"
#define QT_QTASSISTANT_EXECUTABLE  "@QT_QTASSISTANT_EXECUTABLE@"
#endif

#endif
