blob: d2b75d4e60391a35dc153577a8e37d1e90ae05b8 (
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 "-" "@TUXANCI_VERSION@" "/"
// windows bug
#ifndef __WIN32__
#define PATH_MODULES "@LIB_INSTALL_DIR@" "/" APPNAME "-" "@TUXANCI_VERSION@" "/"
#else
#define PATH_MODULES PREFIX "/bin/"
#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 "-" "@TUXANCI_VERSION@" "/"
#define PACKAGE "tuxanci"
#include "main.h"
#endif
|