GwConfig.h.cmake 2.23 KB
Newer Older
Stezowski Olivier's avatar
Stezowski Olivier committed
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 30 31 32 33 34 35 36 37 38 39 40
/***************************************************************************
 *   Copyright (C) 2004 by Olivier Stezowski                               *
 *   agata(AT)ipnl.in2p3.fr                                                *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   This program is distributed in the hope that it will be useful,       *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with this program; if not, write to the                         *
 *   Free Software Foundation, Inc.,                                       *
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 ***************************************************************************/
 
/** \file GwConfig.h to set informations about the gammaware configuration
*
*	- Gw_Version
*	- Gw_LibraryPath
*	- Gw_BinaryPath
*	- Gw_IncludePath
*	- Gw_IconsPath
*	- Gw_NdbPath
*	- Gw_MacrosPath
*
*/
 
#ifndef GW_CONFIG_H
#define GW_CONFIG_H

#define GW_Version				"@GammaWare_VERSION@";

#define GW_LibraryPath			"@GW_LIB_DIR@";
#define GW_BinaryPath			"@GW_BIN_DIR@";
#define GW_IncludePath			"@GW_INCLUDE_DIR@";
41 42 43
#define GW_IconsPath			"@GW_DATA_DIR@/icons";
#define GW_NdbPath			"@GW_DATA_DIR@/ndb";
#define GW_MacrosPath			"@GW_DATA_DIR@/macros";
Stezowski Olivier's avatar
Stezowski Olivier committed
44 45
	
#endif
46 47 48 49 50 51 52 53 54 55 56

//////////////////////////////
////// Define OS_TYPE ////////
//////////////////////////////

#define OS_LINUX   1
#define OS_WINDOWS 2
#define OS_CYGWIN  3      // rather useless ==> to be removed ??
#define OS_APPLE   4

#define OS_TYPE @CMAKE_OS_TYPE@