#ifndef _xbVER_
#define _xbVER_
/*<<<***************************************************************************
The MIT License (MIT)

Copyright(C) 2013 - 2015 Marc Mirti Mancinelli, Christophe Lardau and Philippe Pamart (xdcube.org)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
////////////////////////////////////////////////////////////////////////////////
#Title: _xbVer
#Project: xdcBase
////////////////////////////////////////////////////////////////////////////////
#Author: Marc MIRTI MANCINELLI
#History:
<14/09/2013: creation.
12/02/2014: this notice inserted.
***************************************************************************>>>*/

#define	XDCBASE_NAME		"xdcBase"

#define	XDCBASE_HVER		1
#define	XDCBASE_HSVER		"1"

#define	XDCBASE_LVER		1
#define	XDCBASE_LSVER		"1"

#ifdef _DEBUG
#	define	XDCBASE_CNAME		"xdcBaseV" XDCBASE_HSVER "D"
#else
#	define	XDCBASE_CNAME		"xdcBaseV" XDCBASE_HSVER
#endif

#ifdef _DEBUG //version debug (D)
#	define xbCodeModeVerStr(str)	 (str "." XDCBASE_HSVER "D")
#else
#	ifdef _RELDBG  //version release dbg (T) 
#		define xbCodeModeVerStr(str)	 (str "." XDCBASE_HSVER "T")
#	else
#		ifdef _RELALT //version release alternative (X)
#			define xbCodeModeVerStr(str)	 (str "." XDCBASE_HSVER "X")
#		else
#			define xbCodeModeVerStr(str)	 (str "." XDCBASE_HSVER)
#		endif
#	endif
#endif

#ifdef _DEBUG //version debug (D)
#	define xbCodeModeVerStrExt(str)	 (str XDCBASE_HSVER "D")
#else
#	ifdef _RELDBG  //version release dbg (T) 
#		define xbCodeModeVerStrExt(str)	 (str XDCBASE_HSVER "T")
#	else
#		ifdef _RELALT //version release alternative (X)
#			define xbCodeModeVerStrExt(str)	 (str XDCBASE_HSVER "X")
#		else
#			define xbCodeModeVerStrExt(str)	 (str XDCBASE_HSVER)
#		endif
#	endif
#endif

#endif
