src/Version.h

Wed, 05 Mar 2014 03:45:49 +0200

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Wed, 05 Mar 2014 03:45:49 +0200
changeset 641
425b169a82aa
parent 634
5ef894f699d7
child 651
747e84062279
permissions
-rw-r--r--

- changed header guards into #pragma once

634
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
1 /*
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
2 * LDForge: LDraw parts authoring CAD
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
3 * Copyright (C) 2013, 2014 Santeri Piippo
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
4 *
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
5 * This program is free software: you can redistribute it and/or modify
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
6 * it under the terms of the GNU General Public License as published by
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
7 * the Free Software Foundation, either version 3 of the License, or
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
8 * (at your option) any later version.
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
9 *
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
10 * This program is distributed in the hope that it will be useful,
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
13 * GNU General Public License for more details.
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
14 *
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
17 */
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
18
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
19 #pragma once
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
20 #define APPNAME "LDForge"
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
21 #define UNIXNAME "ldforge"
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
22 #define VERSION_MAJOR 0
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
23 #define VERSION_MINOR 2
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
24 #define VERSION_PATCH 999
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
25 #define BUILD_ID BUILD_INTERNAL
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
26
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
27 #define BUILD_INTERNAL 0
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
28 #define BUILD_RELEASE 1
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
29
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
30 // =============================================
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
31 #ifdef DEBUG
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
32 # undef RELEASE
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
33 #endif // DEBUG
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
34
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
35 #ifdef RELEASE
5ef894f699d7 - separated version stuff to new files to allow version changes be compiled near-instantly
Santeri Piippo <crimsondusk64@gmail.com>
parents:
diff changeset
36 # undef DEBUG
641
425b169a82aa - changed header guards into #pragma once
Santeri Piippo <crimsondusk64@gmail.com>
parents: 634
diff changeset
37 #endif // RELEASE

mercurial