/* * ORXONOX - the hottest 3D action shooter ever to exist * > www.orxonox.net < * * * License notice: * * This program 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 2 * of the License, or (at your option) any later version. * * This program 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 this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * * Author: * Reto Grieder * Co-authors: * ... * */ /** @file @brief Various constants and options that only affect very little code. @note This is merely to avoid recompiling everything when only a path changes. @GENERATED_FILE_COMMENT@ */ #ifndef _SpecialConfig_H__ #define _SpecialConfig_H__ #include "OrxonoxConfig.h" /* Set whether we must suffix "ceguilua/" for the CEGUILua.h include */ #cmakedefine CEGUILUA_USE_INTERNAL_LIBRARY /* Defined if a precompiled depdency package was used. We then copy all libraries too when installing. */ #cmakedefine DEPENDENCY_PACKAGE_ENABLE /* Orxonox either gets installed to the system or just into a folder. The latter uses relative paths. */ #cmakedefine INSTALL_COPYABLE /* Using MSVC or XCode IDE */ #cmakedefine CMAKE_CONFIGURATION_TYPES /* Handle default ConfigValues */ namespace orxonox { const char* const ORXONOX_RUNTIME_INSTALL_PATH("@ORXONOX_RUNTIME_INSTALL_PATH@"); const char* const ORXONOX_MEDIA_INSTALL_PATH ("@ORXONOX_MEDIA_INSTALL_PATH@"); /* Config and Log path might be relative because they could be user and therefore runtime dependent */ const char* const ORXONOX_CONFIG_INSTALL_PATH ("@ORXONOX_CONFIG_INSTALL_PATH@"); const char* const ORXONOX_LOG_INSTALL_PATH ("@ORXONOX_LOG_INSTALL_PATH@"); const char* const ORXONOX_MEDIA_DEV_PATH ("@CMAKE_MEDIA_OUTPUT_DIRECTORY@"); #ifdef CMAKE_CONFIGURATION_TYPES const char* const ORXONOX_CONFIG_DEV_PATH ("@CMAKE_CONFIG_OUTPUT_DIRECTORY@/" MACRO_QUOTEME(CMAKE_BUILD_TYPE)); const char* const ORXONOX_LOG_DEV_PATH ("@CMAKE_LOG_OUTPUT_DIRECTORY@/" MACRO_QUOTEME(CMAKE_BUILD_TYPE)); #else const char* const ORXONOX_CONFIG_DEV_PATH ("@CMAKE_CONFIG_OUTPUT_DIRECTORY@"); const char* const ORXONOX_LOG_DEV_PATH ("@CMAKE_LOG_OUTPUT_DIRECTORY@"); #endif /* OGRE Plugins */ #ifdef NDEBUG const char* const ORXONOX_OGRE_PLUGINS("@OGRE_PLUGINS_RELEASE@"); # ifdef DEPENDENCY_PACKAGE_ENABLE const char* const ORXONOX_OGRE_PLUGINS_FOLDER("."); # else const char* const ORXONOX_OGRE_PLUGINS_FOLDER("@OGRE_PLUGINS_FOLDER_RELEASE@"); # endif #else const char* const ORXONOX_OGRE_PLUGINS("@OGRE_PLUGINS_DEBUG@"); # ifdef DEPENDENCY_PACKAGE_ENABLE const char* const ORXONOX_OGRE_PLUGINS_FOLDER("."); # else const char* const ORXONOX_OGRE_PLUGINS_FOLDER("@OGRE_PLUGINS_FOLDER_DEBUG@"); # endif #endif } #endif /* _SpecialConfig_H__ */