src/config.h.in
author Tero Marttila <terom@fixme.fi>
Tue, 27 Jan 2009 00:25:58 +0200
changeset 439 9823e6cd1086
parent 433 4ee797e09383
permissions -rw-r--r--
some README text
0
c8174cf25e06 initial import
hrnt
parents:
diff changeset
     1
#ifndef @PROJECT_SHORT_NAME@_CONFIG_H
c8174cf25e06 initial import
hrnt
parents:
diff changeset
     2
#define @PROJECT_SHORT_NAME@_CONFIG_H
c8174cf25e06 initial import
hrnt
parents:
diff changeset
     3
c8174cf25e06 initial import
hrnt
parents:
diff changeset
     4
/* Note: CMake autogenerates build/src/config.h from src/config.h.in */
c8174cf25e06 initial import
hrnt
parents:
diff changeset
     5
/* #include "config.h" to use the generated file */
c8174cf25e06 initial import
hrnt
parents:
diff changeset
     6
c8174cf25e06 initial import
hrnt
parents:
diff changeset
     7
#define PROJECT_DATA_DIR "@PROJECT_DATA_DIR@"
c8174cf25e06 initial import
hrnt
parents:
diff changeset
     8
#define PROJECT_SHORT_NAME "@PROJECT_SHORT_NAME@"
c8174cf25e06 initial import
hrnt
parents:
diff changeset
     9
#define PROJECT_LONG_NAME "@PROJECT_LONG_NAME@"
397
13fa0546ef87 hopefully version stuff is now run properly on every make...
Tero Marttila <terom@fixme.fi>
parents: 396
diff changeset
    10
13fa0546ef87 hopefully version stuff is now run properly on every make...
Tero Marttila <terom@fixme.fi>
parents: 396
diff changeset
    11
/*
13fa0546ef87 hopefully version stuff is now run properly on every make...
Tero Marttila <terom@fixme.fi>
parents: 396
diff changeset
    12
 * Defined in version.c:
13fa0546ef87 hopefully version stuff is now run properly on every make...
Tero Marttila <terom@fixme.fi>
parents: 396
diff changeset
    13
 */
13fa0546ef87 hopefully version stuff is now run properly on every make...
Tero Marttila <terom@fixme.fi>
parents: 396
diff changeset
    14
extern const char *PROJECT_VERSION, *PROJECT_BUILD_TIMESTAMP;
0
c8174cf25e06 initial import
hrnt
parents:
diff changeset
    15
417
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    16
/**
432
82b0f4e55a13 add NetworkChannelPacket class, and modify NetworkTarget::send/send_raw signature. Add hard-coded DEBUG_ENABLED define
Tero Marttila <terom@fixme.fi>
parents: 417
diff changeset
    17
 * Debug options
82b0f4e55a13 add NetworkChannelPacket class, and modify NetworkTarget::send/send_raw signature. Add hard-coded DEBUG_ENABLED define
Tero Marttila <terom@fixme.fi>
parents: 417
diff changeset
    18
 *
82b0f4e55a13 add NetworkChannelPacket class, and modify NetworkTarget::send/send_raw signature. Add hard-coded DEBUG_ENABLED define
Tero Marttila <terom@fixme.fi>
parents: 417
diff changeset
    19
 *  * Default log level is DEBUG instead of INFO
82b0f4e55a13 add NetworkChannelPacket class, and modify NetworkTarget::send/send_raw signature. Add hard-coded DEBUG_ENABLED define
Tero Marttila <terom@fixme.fi>
parents: 417
diff changeset
    20
 */
433
4ee797e09383 convert CMakeLists to use CMake's OPTION command (with our own wrapper)
Tero Marttila <terom@fixme.fi>
parents: 432
diff changeset
    21
#define DEBUG_ENABLED @DEBUG_ENABLED@
432
82b0f4e55a13 add NetworkChannelPacket class, and modify NetworkTarget::send/send_raw signature. Add hard-coded DEBUG_ENABLED define
Tero Marttila <terom@fixme.fi>
parents: 417
diff changeset
    22
82b0f4e55a13 add NetworkChannelPacket class, and modify NetworkTarget::send/send_raw signature. Add hard-coded DEBUG_ENABLED define
Tero Marttila <terom@fixme.fi>
parents: 417
diff changeset
    23
/**
417
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    24
 * Provide possibility to compile without graphics code.
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    25
 *
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    26
 * Defined as a boolean value (so use #if GRAPHICS_ENABLED / if (GRAPHICS_ENABLED) )
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    27
 */
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    28
#define GRAPHICS_ENABLED @GRAPHICS_ENABLED@
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    29
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    30
/**
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    31
 * Provide possibility to compile without network code.
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    32
 */
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    33
#define NETWORK_ENABLED @NETWORK_ENABLED@
c503e0c6a740 support for building without Network/Graphics, although the disable-graphics case is kind of hackish still
Tero Marttila <terom@fixme.fi>
parents: 397
diff changeset
    34
0
c8174cf25e06 initial import
hrnt
parents:
diff changeset
    35
#endif
c8174cf25e06 initial import
hrnt
parents:
diff changeset
    36