SALOME versioning system improvement

This commit is contained in:
vsr 2006-05-25 16:00:37 +00:00
parent e97896c68f
commit b0930100b5
6 changed files with 48 additions and 11 deletions

View File

@ -1,5 +1 @@
This is the version 3.2.0b1 of NETGENPLUGIN
Compatible with :
- KERNEL 3.2.0b1
- SALOMEGUI 3.2.0b1
- SMESH 3.2.0b1
SALOME2 : NETGENPLUGIN module (SMESH plugin)

View File

@ -50,10 +50,12 @@ BIN_SCRIPT = VERSION
# copy header files in common directory ------------
ifeq ($(HAVE_SSTREAM),yes)
include_list=include/salome/SALOMEconfig.h
else
include_list=include/salome/SALOMEconfig.h include/salome/sstream
include_list = include/salome/SALOMEconfig.h \
include/salome/NETGENPLUGIN_version.h
# copy header files in common directory
ifneq ($(HAVE_SSTREAM),yes)
include_list += include/salome/sstream
endif
inc: idl $(include_list)
@ -75,6 +77,9 @@ include/salome/sstream: salome_adm/unix/sstream
-$(RM) $@
$(LN_S) ../../$< $@
include/salome/NETGENPLUGIN_version.h: NETGENPLUGIN_version.h
cp $< $@
# install script in $(bindir) :
install-bin: $(BIN_SCRIPT)
$(INSTALL) -d $(bindir)

34
NETGENPLUGIN_version.h.in Normal file
View File

@ -0,0 +1,34 @@
// Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License.
//
// This library 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// See http://www.salome-platform.org/
//
// File : NETGENPLUGIN_version.h
// Author : Vadim SANDLER
// Module : SALOME
#if !defined(__NETGENPLUGIN_VERSION_H__)
#define __NETGENPLUGIN_VERSION_H__
/*
NETGENPLUGIN_VERSION is (major << 16) + (minor << 8) + patch.
*/
#define NETGENPLUGIN_VERSION_STR "@VERSION@"
#define NETGENPLUGIN_VERSION @XVERSION@
#endif // __NETGENPLUGIN_VERSION_H__

View File

@ -1 +0,0 @@
THIS IS SALOME - NETGENPLUGIN VERSION: 3.2.0b1

1
bin/VERSION.in Executable file
View File

@ -0,0 +1 @@
THIS IS SALOME - NETGENPLUGIN VERSION: @VERSION@

View File

@ -22,8 +22,10 @@ AC_CANONICAL_HOST
PACKAGE=salome
AC_SUBST(PACKAGE)
VERSION=0.0.1
VERSION=3.2.0
XVERSION=0x030200
AC_SUBST(VERSION)
AC_SUBST(XVERSION)
dnl
dnl Initialize source and build root directories