source: trunk/yat/utility/config_public.h.in @ 2431

Last change on this file since 2431 was 2431, checked in by Peter, 12 years ago

fixes #620. Move version defines from 'version.h' to
'config_public.h'. The latter is included from the former so the api
is not changed in the sense that a program that used e.g. YAT_VERSIOn
and included 'version.h' will still compile. version.h is no longer
generated but checked into the repository. This may cause a confict in
developers wc, which can easily be avoided by removing version.h
before updating to with this ChangeSet?.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1#ifndef _theplu_yat_utility_config_public_
2#define _theplu_yat_utility_config_public_
3
4// $Id: config_public.h.in 2431 2011-03-06 20:04:31Z peter $
5
6/*
7  Copyright (C) 2008 Jari Häkkinen, Peter Johansson
8  Copyright (C) 2009, 2011 Peter Johansson
9
10  This file is part of the yat library, http://dev.thep.lu.se/yat
11
12  The yat library is free software; you can redistribute it and/or
13  modify it under the terms of the GNU General Public License as
14  published by the Free Software Foundation; either version 3 of the
15  License, or (at your option) any later version.
16
17  The yat library is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  General Public License for more details.
21
22  You should have received a copy of the GNU General Public License
23  along with yat. If not, see <http://www.gnu.org/licenses/>.
24*/
25
26///
27/// \file utility/config_public.h
28///
29
30/// Define if compiler supports deprecated attribute, as in g++ 4.0
31#undef YAT_HAVE_GCC_DEPRECATED
32
33/// Version of yat in string format
34#undef YAT_VERSION
35/// First digit in VERSION triplet
36#undef YAT_MAJOR_VERSION
37/// Second digit in VERSION triplet
38#undef YAT_MINOR_VERSION
39/// Third digit in VERSION triplet or zero if VERSION is MAJOR.MINOR
40#undef YAT_PATCH_VERSION
41/// Set to true when releasing tarball
42#undef YAT_DEV_BUILD
43
44#endif
Note: See TracBrowser for help on using the repository browser.