blob: 06a1d1c108f3dd5f54c894108268b97e326d27f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef PATH_H
#cmakedefine USE_MAGICK
#define TUXANCI_VERSION "@TUXANCI_VERSION@"
#define PATH_H
#define PREFIX "@CMAKE_INSTALL_PREFIX@"
#ifdef PUBLIC_SERVER
#define APPNAME "tuxanci-server"
#define SERVER_CONFIG "@CMAKE_CONF_PATH@" "/" APPNAME "/server.conf"
#else
#define APPNAME "tuxanci"
#endif
#define PATH_DIR "@CMAKE_DATA_PATH@" "/" APPNAME "/"
// windows bug
#ifndef __WIN32__
#define PATH_MODULES "@LIB_INSTALL_DIR@" "/" APPNAME "/"
#else
#define PATH_MODULES PREFIX
#endif
#define PATH_IMAGE PATH_DIR "images/"
#define FONT_FILE "@CMAKE_FONT@"
#define PATH_ARENA PATH_DIR "arena/"
#define PATH_SOUND PATH_DIR "sound/"
#define PATH_MUSIC PATH_DIR "music/"
#define PATH_LOCALE "@CMAKE_LOCALE_PATH@" "/"
#define PATH_DOC "@CMAKE_DOC_PATH@" "/" APPNAME "/"
#define PACKAGE "tuxanci"
#include "main.h"
#endif
|