mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
SALOME versioning system improvement
This commit is contained in:
parent
76557151c7
commit
61747cfacb
7
INSTALL
7
INSTALL
@ -1,6 +1 @@
|
||||
This is the version 3.2.0b1 of SMESH
|
||||
Compatible with :
|
||||
- KERNEL 3.2.0b1
|
||||
- SALOMEGUI 3.2.0b1
|
||||
- GEOM 3.2.0b1
|
||||
- MED 3.2.0b1
|
||||
SALOME2 : SMESH module
|
||||
|
14
Makefile.in
14
Makefile.in
@ -28,7 +28,7 @@
|
||||
top_srcdir=@top_srcdir@
|
||||
top_builddir=.
|
||||
srcdir=@srcdir@
|
||||
VPATH=.:@srcdir@:@top_srcdir@/bin:@top_srcdir@/resources:./bin:@top_srcdir@/idl
|
||||
VPATH=.:@srcdir@:@top_srcdir@/bin:./resources:@top_srcdir@/resources:./bin:@top_srcdir@/idl
|
||||
|
||||
|
||||
@COMMENCE@
|
||||
@ -168,11 +168,12 @@ mesh_conv_to_quad.png
|
||||
BIN_SCRIPT= \
|
||||
VERSION
|
||||
|
||||
include_list = include/salome/SALOMEconfig.h \
|
||||
include/salome/SMESH_version.h
|
||||
|
||||
# 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
|
||||
ifneq ($(HAVE_SSTREAM),yes)
|
||||
include_list += include/salome/sstream
|
||||
endif
|
||||
|
||||
inc: idl $(include_list)
|
||||
@ -194,6 +195,9 @@ include/salome/sstream: salome_adm/unix/sstream
|
||||
-$(RM) $@
|
||||
$(LN_S) ../../$< $@
|
||||
|
||||
include/salome/SMESH_version.h: SMESH_version.h
|
||||
cp $< $@
|
||||
|
||||
depend: depend_idl
|
||||
|
||||
depend_idl:
|
||||
|
34
SMESH_version.h.in
Normal file
34
SMESH_version.h.in
Normal 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 : SMESH_version.h
|
||||
// Author : Vadim SANDLER
|
||||
// Module : SALOME
|
||||
|
||||
#if !defined(__SMESH_VERSION_H__)
|
||||
#define __SMESH_VERSION_H__
|
||||
|
||||
/*
|
||||
SMESH_VERSION is (major << 16) + (minor << 8) + patch.
|
||||
*/
|
||||
|
||||
#define SMESH_VERSION_STR "@VERSION@"
|
||||
#define SMESH_VERSION @XVERSION@
|
||||
|
||||
#endif // __SMESH_VERSION_H__
|
@ -1 +0,0 @@
|
||||
THIS IS SALOME - SMESH VERSION: 3.2.0b1
|
1
bin/VERSION.in
Executable file
1
bin/VERSION.in
Executable file
@ -0,0 +1 @@
|
||||
THIS IS SALOME - SMESH VERSION: @VERSION@
|
@ -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
|
||||
|
@ -21,11 +21,11 @@ PYTHON_SCRIPTS = \
|
||||
|
||||
docs:
|
||||
cp -fr $(srcdir)/SMESH ./INPUT; \
|
||||
cp -fr ./SMESH/doxyfile ./SMESH/doxyfile_py ./INPUT
|
||||
cd INPUT; \
|
||||
sed 's|../../../share/salome|$(root_srcdir)|' ./doxyfile > ./doxyfile1; \
|
||||
sed 's|../../build/salome|$(top_builddir)|' ./doxyfile1 > ./doxyfile2; \
|
||||
sed "s|version|`cut -d: -f2 $(root_srcdir)/bin/VERSION`|" ./doxyfile2 > ./doxyfile3; \
|
||||
mv -f doxyfile3 doxyfile1; \
|
||||
mv -f doxyfile2 doxyfile1; \
|
||||
if (test "x@DOXYGEN_WITH_PYTHON@" = "xyes"); then \
|
||||
echo "DOXYGEN SUPPORT PYTHON - @DOXYGEN_WITH_PYTHON@"; \
|
||||
sed 's|python_extension_must_be_here|*.py|' ./doxyfile1 > ./doxyfile2; \
|
||||
|
@ -3,7 +3,7 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Project related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
PROJECT_NAME = "SALOME - SMESH - v.version"
|
||||
PROJECT_NAME = "SALOME - SMESH - v.@VERSION@"
|
||||
PROJECT_NUMBER =
|
||||
OUTPUT_DIRECTORY = ../
|
||||
CREATE_SUBDIRS = NO
|
@ -3,7 +3,7 @@
|
||||
#---------------------------------------------------------------------------
|
||||
# Project related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
PROJECT_NAME = "SALOME - SMESH - v.version"
|
||||
PROJECT_NAME = "SALOME - SMESH - v.@VERSION@"
|
||||
PROJECT_NUMBER =
|
||||
OUTPUT_DIRECTORY = ../
|
||||
CREATE_SUBDIRS = NO
|
@ -1,4 +1,4 @@
|
||||
foldersTree = gFld("<b>SALOME v.3.2.0b1 </b>", "", "")
|
||||
foldersTree = gFld("<b>SALOME v.@VERSION@ </b>", "", "")
|
||||
insDoc(foldersTree, gLnk("Main Page", "", "main.html"))
|
||||
|
||||
aux1 = insFld(foldersTree, gFld("TUI Reference Guide", ""))
|
@ -16,7 +16,7 @@
|
||||
<component-username>Mesh</component-username>
|
||||
<component-type>MESH</component-type>
|
||||
<component-author>NRI</component-author>
|
||||
<component-version>3.2.0b1</component-version>
|
||||
<component-version>@VERSION@</component-version>
|
||||
<component-comment>Mesh component</component-comment>
|
||||
<component-multistudy>1</component-multistudy>
|
||||
<component-icone>ModuleMesh.png</component-icone>
|
Loading…
Reference in New Issue
Block a user