Orxonox  0.0.5 Codename: Arcturus
SpecialConfig.h
Go to the documentation of this file.
1 /*
2  * ORXONOX - the hottest 3D action shooter ever to exist
3  * > www.orxonox.net <
4  *
5  *
6  * License notice:
7  *
8  * This program is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU General Public License
10  * as published by the Free Software Foundation; either version 2
11  * of the License, or (at your option) any later version.
12  *
13  * This program is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * GNU General Public License for more details.
17  *
18  * You should have received a copy of the GNU General Public License
19  * along with this program; if not, write to the Free Software
20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  *
22  * Author:
23  * Reto Grieder
24  * Co-authors:
25  * ...
26  *
27  */
28 
40 #ifndef _SpecialConfig_H__
41 #define _SpecialConfig_H__
42 
43 #include "OrxonoxConfig.h"
44 
45 /* #undef DEPENDENCY_PACKAGE_ENABLE */
46 
47 /* #undef INSTALL_COPYABLE */
48 
49 /* #undef CMAKE_CONFIGURATION_TYPES */
50 
51 /* #undef DBGHELP_FOUND */
52 
53 /* #undef ORXONOX_USE_WINMAIN */
54 
55 /* #undef DO_NOT_UNLOAD_PLUGINS */
56 
57 // Handle default ConfigValues
58 namespace orxonox { namespace specialConfig
59 {
60  // DEFAULT RELATIVE PATHS (might not be used at all)
61  const char defaultRuntimePath[] = "bin";
62  const char defaultLibraryPath[] = "lib";
63  const char defaultArchivePath[] = "lib/static";
64  const char defaultModulePath[] = "lib/modules";
65  const char defaultPluginPath[] = "lib/plugins";
66  const char defaultDocPath[] = "doc";
67  const char defaultDataPath[] = "data";
68  const char defaultConfigPath[] = "config";
69  const char defaultLogPath[] = "log";
70 
71 #ifndef INSTALL_COPYABLE
72  // INSTALLATION PATHS
73  const char dataInstallDirectory[] = "/usr/local/share/games/orxonox";
74  const char moduleInstallDirectory[] = "/usr/local/lib/games/orxonox/modules";
75  const char pluginInstallDirectory[] = "/usr/local/lib/games/orxonox/plugins";
76 #endif
77 
78  // DEVELOPMENT RUN PATHS
79  const char dataDevDirectory[] = "/home/jenkins/workspace/orxonox_doxygen_trunk/data";
80  const char externalDataDevDirectory[] = "EXTERNAL_DATA_DIRECTORY-NOTFOUND";
81 #ifdef CMAKE_CONFIGURATION_TYPES
82  const char moduleDevDirectory[] = "/home/jenkins/workspace/orxonox_doxygen_trunk/build/lib/modules/" CMAKE_INTDIR;
83  const char pluginDevDirectory[] = "/home/jenkins/workspace/orxonox_doxygen_trunk/build/lib/plugins/" CMAKE_INTDIR;
84  const char configDevDirectory[] = "/home/jenkins/workspace/orxonox_doxygen_trunk/build/config/" CMAKE_INTDIR;
85  const char logDevDirectory[] = "/home/jenkins/workspace/orxonox_doxygen_trunk/build/log/" CMAKE_INTDIR;
86 #else
87  const char moduleDevDirectory[] = "/home/jenkins/workspace/orxonox_doxygen_trunk/build/lib/modules";
88  const char pluginDevDirectory[] = "/home/jenkins/workspace/orxonox_doxygen_trunk/build/lib/plugins";
89  const char configDevDirectory[] = "/home/jenkins/workspace/orxonox_doxygen_trunk/build/config";
90  const char logDevDirectory[] = "/home/jenkins/workspace/orxonox_doxygen_trunk/build/log";
91 #endif
92 
93 #ifdef DEPENDENCY_PACKAGE_ENABLE
94  const char dependencyLibraryDirectory[] = "";
95 #endif
96 
97  // Module and plugin extension
98  const char moduleExtension[] = ".module";
99  const char pluginExtension[] = ".plugin";
100 
101  // OGRE PLUGINS
102 #ifdef NDEBUG
103  const char ogrePlugins[] = "Plugin_ParticleFX, RenderSystem_GL";
104  const char ogrePluginsDirectory[] = "/usr/lib/x86_64-linux-gnu/OGRE-1.9.0";
105 #else
106  const char ogrePlugins[] = "Plugin_ParticleFX, RenderSystem_GL";
107  const char ogrePluginsDirectory[] = "/usr/lib/x86_64-linux-gnu/OGRE-1.9.0";
108 #endif
109 } }
110 
111 #endif /* _SpecialConfig_H__ */
const char defaultModulePath[]
Definition: SpecialConfig.h:64
const char configDevDirectory[]
Definition: SpecialConfig.h:89
const char defaultRuntimePath[]
Definition: SpecialConfig.h:61
const char moduleInstallDirectory[]
Definition: SpecialConfig.h:74
const char defaultDataPath[]
Definition: SpecialConfig.h:67
const char externalDataDevDirectory[]
Definition: SpecialConfig.h:80
Various constants for compiler, architecture and platform.
const char ogrePlugins[]
Definition: SpecialConfig.h:106
const char dataInstallDirectory[]
Definition: SpecialConfig.h:73
const char defaultLogPath[]
Definition: SpecialConfig.h:69
const char moduleExtension[]
Definition: SpecialConfig.h:98
const char defaultPluginPath[]
Definition: SpecialConfig.h:65
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
const char defaultConfigPath[]
Definition: SpecialConfig.h:68
const char moduleDevDirectory[]
Definition: SpecialConfig.h:87
const char defaultLibraryPath[]
Definition: SpecialConfig.h:62
const char pluginInstallDirectory[]
Definition: SpecialConfig.h:75
const char defaultDocPath[]
Definition: SpecialConfig.h:66
const char ogrePluginsDirectory[]
Definition: SpecialConfig.h:107
const char dataDevDirectory[]
Definition: SpecialConfig.h:79
const char pluginExtension[]
Definition: SpecialConfig.h:99
const char defaultArchivePath[]
Definition: SpecialConfig.h:63
const char logDevDirectory[]
Definition: SpecialConfig.h:90
const char pluginDevDirectory[]
Definition: SpecialConfig.h:88