X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=build_cmake;h=61bf17465e12217af7db7df48e2860a0cf78c0be;hb=9ea689ca134ff39cd2f1b206c36148ff57e9b650;hp=048e8ead5a37f92aef64a2d72a570c36cc8c41b8;hpb=06cd64a37be247aaaebb00247ef7c732b350dcee;p=modules%2Fmed.git diff --git a/build_cmake b/build_cmake index 048e8ead5..61bf17465 100755 --- a/build_cmake +++ b/build_cmake @@ -1,30 +1,31 @@ #!/bin/sh -# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE +# Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE # -# Copyright (C) 2003-2007 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 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. # -# 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 # -# 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/ or email : webmaster.salome@opencascade.com +# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # CURRENT_DIR=`pwd` CONF_DIR=`echo $0 | sed -e "s,[^/]*$,,;s,/$,,;s,^$,.,"` cd ${CONF_DIR} -python $KERNEL_ROOT_DIR/salome_adm/cmake_files/am2cmake.py --med +if test -f $KERNEL_ROOT_DIR/salome_adm/cmake_files/deprecated/am2cmake.py ; then + python $KERNEL_ROOT_DIR/salome_adm/cmake_files/deprecated/am2cmake.py --med +else + python adm_local_without_kernel/cmake_files/am2cmake.py --med +fi status=$? cd ${CURRENT_DIR} exit $status