Experiments - 1.2.3
Utilities
Configuration
GA
NNFW
WorldSim
Total 99%
Experiments
Main Page
Modules
Classes
Files
File List
experiments
include
experimentsconfig.h
Go to the documentation of this file.
1
/********************************************************************************
2
* FARSA Experiments Library *
3
* Copyright (C) 2007-2012 *
4
* Gianluca Massera <emmegian@yahoo.it> *
5
* Stefano Nolfi <stefano.nolfi@istc.cnr.it> *
6
* Tomassino Ferrauto <tomassino.ferrauto@istc.cnr.it> *
7
* *
8
* This program is free software; you can redistribute it and/or modify *
9
* it under the terms of the GNU General Public License as published by *
10
* the Free Software Foundation; either version 2 of the License, or *
11
* (at your option) any later version. *
12
* *
13
* This program is distributed in the hope that it will be useful, *
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
16
* GNU General Public License for more details. *
17
* *
18
* You should have received a copy of the GNU General Public License *
19
* along with this program; if not, write to the Free Software *
20
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *
21
********************************************************************************/
22
23
#ifndef EXPERIMENTSCONFIG_H
24
#define EXPERIMENTSCONFIG_H
25
34
// FARSA_EXPERIMENTS_TEMPLATE is also for classes that are completely inline
35
#ifdef WIN32
36
#define _CRT_SECURE_NO_DEPRECATE
37
#ifdef FARSA_EXPERIMENTS_BUILDING_DLL
38
#define FARSA_EXPERIMENTS_API __declspec(dllexport)
39
#define FARSA_EXPERIMENTS_TEMPLATE __declspec(dllexport)
40
#else
41
#define FARSA_EXPERIMENTS_API __declspec(dllimport)
42
#define FARSA_EXPERIMENTS_TEMPLATE
43
#endif
44
#define FARSA_EXPERIMENTS_INTERNAL
45
#else
46
#define FARSA_EXPERIMENTS_API
47
#define FARSA_EXPERIMENTS_TEMPLATE
48
#define FARSA_EXPERIMENTS_INTERNAL __attribute__ ((visibility ("hidden")))
49
#endif
50
51
//--- read it as: x.yy.zz where
52
//--- x is major version
53
//--- yy is minor version
54
//--- zz is patch version
55
//--- Example: version 2.4.6 is 20406
56
#define FARSA_EXPERIMENTS_VERSION 10203
57
58
namespace
farsa {
59
60
extern
bool
FARSA_EXPERIMENTS_API initExperimentsLib();
61
static
const
bool
experimentsLibInitializer = initExperimentsLib();
62
63
}
// end namespace farsa
64
65
#include <QtDebug>
66
67
#endif