Salome HOME
Remove deprecated staff
authorvsr <vsr@opencascade.com>
Tue, 12 Feb 2019 13:32:43 +0000 (16:32 +0300)
committervsr <vsr@opencascade.com>
Tue, 12 Feb 2019 14:45:43 +0000 (17:45 +0300)
12 files changed:
CMakeLists.txt
SalomeATOMGENConfig.cmake.in
adm_local/CMakeLists.txt [deleted file]
adm_local/cmake_files/CMakeLists.txt [deleted file]
adm_local/cmake_files/FindSalomeATOMGEN.cmake [deleted file]
adm_local/unix/CMakeLists.txt [deleted file]
adm_local/unix/config_files/CMakeLists.txt [deleted file]
adm_local/unix/config_files/check_ATOMGEN.m4 [deleted file]
cmake/CMakeLists.txt [new file with mode: 0755]
cmake/FindSalomeATOMGEN.cmake [new file with mode: 0644]
resources/ATOMGEN_en.xml [deleted file]
resources/CMakeLists.txt

index e674d64028215efdff69d3d049906477be107ee1..484b7a01de142ee971e5beb9832baeaf66187edb 100755 (executable)
@@ -63,7 +63,7 @@ INCLUDE(SalomeSetupPlatform)   # From KERNEL
 # Always build libraries as shared objects:
 SET(BUILD_SHARED_LIBS TRUE)
 # Local macros:
-LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/adm_local/cmake_files")
+LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
 
 # User options 
 # ============
@@ -119,16 +119,8 @@ SET(SALOME_INSTALL_SCRIPT_DATA "${SALOME_INSTALL_SCRIPT_DATA}" CACHE PATH
    "Install path: SALOME script data")
 SET(SALOME_INSTALL_SCRIPT_PYTHON "${SALOME_INSTALL_SCRIPT_PYTHON}" CACHE PATH 
    "Install path: SALOME Python scripts")
-SET(SALOME_INSTALL_APPLISKEL_SCRIPTS "${SALOME_INSTALL_APPLISKEL_SCRIPTS}" CACHE PATH 
-   "Install path: SALOME application skeleton - scripts")
-SET(SALOME_INSTALL_APPLISKEL_PYTHON "${SALOME_INSTALL_APPLISKEL_PYTHON}" CACHE PATH 
-   "Install path: SALOME application skeleton - Python")
 #SET(SALOME_INSTALL_PYTHON "${SALOME_INSTALL_PYTHON}" CACHE PATH "Install path: SALOME Python stuff")
-#SET(SALOME_INSTALL_PYTHON_SHARED "${SALOME_INSTALL_PYTHON_SHARED}" CACHE PATH 
-#   "Install path: SALOME Python shared modules")
 SET(SALOME_INSTALL_CMAKE_LOCAL "${SALOME_INSTALL_CMAKE_LOCAL}" CACHE PATH "Install path: SALOME CMake files")
-SET(SALOME_INSTALL_AMCONFIG_LOCAL "${SALOME_INSTALL_AMCONFIG_LOCAL}" CACHE PATH
-  "Install path: local SALOME config files (obsolete, to be removed)")
 
 SET(SALOME_INSTALL_RES "${SALOME_INSTALL_RES}" CACHE PATH "Install path: SALOME resources")
 SET(SALOME_INSTALL_DOC "${SALOME_INSTALL_DOC}" CACHE PATH "Install path: SALOME documentation")
@@ -139,9 +131,8 @@ SET(SALOME_ATOMGEN_INSTALL_RES_DATA "${SALOME_INSTALL_RES}/atomgen" CACHE PATH
 
 MARK_AS_ADVANCED(SALOME_INSTALL_BINS SALOME_INSTALL_LIBS SALOME_INSTALL_IDLS SALOME_INSTALL_HEADERS)
 MARK_AS_ADVANCED(SALOME_INSTALL_SCRIPT_SCRIPTS SALOME_INSTALL_SCRIPT_DATA SALOME_INSTALL_SCRIPT_PYTHON)
-MARK_AS_ADVANCED(SALOME_INSTALL_APPLISKEL_SCRIPTS  SALOME_INSTALL_APPLISKEL_PYTHON SALOME_INSTALL_CMAKE_LOCAL SALOME_INSTALL_RES)
-MARK_AS_ADVANCED(SALOME_INSTALL_PYTHON SALOME_INSTALL_PYTHON_SHARED)
-MARK_AS_ADVANCED(SALOME_INSTALL_AMCONFIG_LOCAL SALOME_INSTALL_DOC)
+MARK_AS_ADVANCED(SALOME_INSTALL_CMAKE_LOCAL SALOME_INSTALL_RES)
+MARK_AS_ADVANCED(SALOME_INSTALL_PYTHON SALOME_INSTALL_DOC)
 MARK_AS_ADVANCED(SALOME_ATOMGEN_INSTALL_RES_DATA)
 
 # Accumulate environment variables for ATOMGEN module
@@ -150,7 +141,7 @@ SALOME_ACCUMULATE_ENVIRONMENT(PYTHONPATH NOCHECK ${CMAKE_INSTALL_PREFIX}/${SALOM
 SALOME_ACCUMULATE_ENVIRONMENT(LD_LIBRARY_PATH NOCHECK ${CMAKE_INSTALL_PREFIX}/${SALOME_INSTALL_LIBS}) 
                                               
 ADD_SUBDIRECTORY(idl)
-ADD_SUBDIRECTORY(adm_local)
+ADD_SUBDIRECTORY(cmake)
 ADD_SUBDIRECTORY(resources)
 ADD_SUBDIRECTORY(src)
 ADD_SUBDIRECTORY(bin)
index 17d085d662c483603901b419ad920e1187f1bfe4..a97dfa03a985ae65b240acc08b3cb5cb6198b458 100644 (file)
@@ -92,14 +92,10 @@ SET(SALOME_INSTALL_HEADERS "@SALOME_INSTALL_HEADERS@")
 SET(SALOME_INSTALL_SCRIPT_SCRIPTS "@SALOME_INSTALL_SCRIPT_SCRIPTS@")
 SET(SALOME_INSTALL_SCRIPT_DATA "@SALOME_INSTALL_SCRIPT_DATA@")
 SET(SALOME_INSTALL_SCRIPT_PYTHON "@SALOME_INSTALL_SCRIPT_PYTHON@")
-SET(SALOME_INSTALL_APPLISKEL_SCRIPTS "@SALOME_INSTALL_APPLISKEL_SCRIPTS@")
-SET(SALOME_INSTALL_APPLISKEL_PYTHON "@SALOME_INSTALL_APPLISKEL_PYTHON@") 
 SET(SALOME_INSTALL_CMAKE_LOCAL "@SALOME_INSTALL_CMAKE_LOCAL@")
 SET(SALOME_INSTALL_PYTHON "@SALOME_INSTALL_PYTHON@")
-SET(SALOME_INSTALL_PYTHON_SHARED "@SALOME_INSTALL_PYTHON_SHARED@")
 SET(SALOME_INSTALL_RES "@SALOME_INSTALL_RES@")
 SET(SALOME_INSTALL_DOC "@SALOME_INSTALL_DOC@")
-SET(SALOME_INSTALL_AMCONFIG_LOCAL "@SALOME_INSTALL_AMCONFIG_LOCAL@")
 
 # Include GUI targets if they were not already loaded:
 IF(NOT (TARGET Event)) 
diff --git a/adm_local/CMakeLists.txt b/adm_local/CMakeLists.txt
deleted file mode 100755 (executable)
index 077782b..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-# Copyright (C) 2013-2019  CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# 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, or (at your option) any later version.
-#
-# 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/ or email : webmaster.salome@opencascade.com
-#
-
-ADD_SUBDIRECTORY(unix)
-ADD_SUBDIRECTORY(cmake_files)
diff --git a/adm_local/cmake_files/CMakeLists.txt b/adm_local/cmake_files/CMakeLists.txt
deleted file mode 100755 (executable)
index 2d78d0f..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright (C) 2013-2019  CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# 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, or (at your option) any later version.
-#
-# 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/ or email : webmaster.salome@opencascade.com
-#
-
-# ===============================================================
-# Files to be installed
-# ===============================================================
-
-# These files are data, module or lib files
-SET(_adm_data
-  FindSalomeATOMGEN.cmake
-)
-INSTALL(FILES ${_adm_data} DESTINATION ${SALOME_INSTALL_CMAKE_LOCAL})
diff --git a/adm_local/cmake_files/FindSalomeATOMGEN.cmake b/adm_local/cmake_files/FindSalomeATOMGEN.cmake
deleted file mode 100644 (file)
index 8136bde..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-# Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# 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, or (at your option) any later version.
-#
-# 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/ or email : webmaster.salome@opencascade.com
-#
-
-IF(NOT SalomeATOMGEN_FIND_QUIETLY)
-  MESSAGE(STATUS "Looking for Salome ATOMGEN ...")
-ENDIF()
-
-SET(CMAKE_PREFIX_PATH "${ATOMGEN_ROOT_DIR}")
-SALOME_FIND_PACKAGE(SalomeATOMGEN SalomeATOMGEN CONFIG)
-
-IF(NOT SalomeATOMGEN_FIND_QUIETLY)
-  MESSAGE(STATUS "Found Salome ATOMGEN: ${ATOMGEN_ROOT_DIR}")
-ENDIF()
-
-FOREACH(_res ${SalomeATOMGEN_EXTRA_ENV})
-  SALOME_ACCUMULATE_ENVIRONMENT(${_res} "${SalomeATOMGEN_EXTRA_ENV_${_res}}")
-ENDFOREACH()
\ No newline at end of file
diff --git a/adm_local/unix/CMakeLists.txt b/adm_local/unix/CMakeLists.txt
deleted file mode 100755 (executable)
index 118075d..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright (C) 2013-2019  CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# 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, or (at your option) any later version.
-#
-# 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/ or email : webmaster.salome@opencascade.com
-#
-
-ADD_SUBDIRECTORY(config_files)
diff --git a/adm_local/unix/config_files/CMakeLists.txt b/adm_local/unix/config_files/CMakeLists.txt
deleted file mode 100755 (executable)
index 9839063..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-# Copyright (C) 2013-2019  CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# 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, or (at your option) any later version.
-#
-# 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/ or email : webmaster.salome@opencascade.com
-#
-
-SET(_m4_data
-  check_ATOMGEN.m4
-)
-            
-INSTALL(FILES ${_m4_data} DESTINATION ${SALOME_INSTALL_AMCONFIG_LOCAL}/config_files)
diff --git a/adm_local/unix/config_files/check_ATOMGEN.m4 b/adm_local/unix/config_files/check_ATOMGEN.m4
deleted file mode 100644 (file)
index 26ac334..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
-#
-# 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, or (at your option) any later version.
-#
-# 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/ or email : webmaster.salome@opencascade.com
-#
-
-AC_DEFUN([CHECK_ATOMGEN],[
-
-AC_CHECKING(for ATOMGEN)
-
-ATOMGEN_ok=no
-
-AC_ARG_WITH(atomgen,
-           [  --with-atomgen=DIR root directory path of ATOMGEN module installation ],
-           ATOMGEN_DIR="$withval",ATOMGEN_DIR="")
-
-if test "x$ATOMGEN_DIR" == "x" ; then
-   # no --with-atomgen-dir option used
-   if test "x$ATOMGEN_ROOT_DIR" != "x" ; then
-      # ATOMGEN_ROOT_DIR environment variable defined
-      ATOMGEN_DIR=$ATOMGEN_ROOT_DIR
-   fi
-fi
-
-if test -f ${ATOMGEN_DIR}/bin/salome/ATOMGEN.py ; then
-   ATOMGEN_ok=yes
-   AC_MSG_RESULT(Using ATOMGEN module distribution in ${ATOMGEN_DIR})
-
-   if test "x$ATOMGEN_ROOT_DIR" == "x" ; then
-      ATOMGEN_ROOT_DIR=${ATOMGEN_DIR}
-   fi
-   AC_SUBST(ATOMGEN_ROOT_DIR)
-else
-   AC_MSG_WARN("Cannot find ATOMGEN module sources")
-fi
-  
-AC_MSG_RESULT(for ATOMGEN: $ATOMGEN_ok)
-])dnl
diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
new file mode 100755 (executable)
index 0000000..2d78d0f
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright (C) 2013-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+#
+# 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, or (at your option) any later version.
+#
+# 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/ or email : webmaster.salome@opencascade.com
+#
+
+# ===============================================================
+# Files to be installed
+# ===============================================================
+
+# These files are data, module or lib files
+SET(_adm_data
+  FindSalomeATOMGEN.cmake
+)
+INSTALL(FILES ${_adm_data} DESTINATION ${SALOME_INSTALL_CMAKE_LOCAL})
diff --git a/cmake/FindSalomeATOMGEN.cmake b/cmake/FindSalomeATOMGEN.cmake
new file mode 100644 (file)
index 0000000..8136bde
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
+#
+# 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, or (at your option) any later version.
+#
+# 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/ or email : webmaster.salome@opencascade.com
+#
+
+IF(NOT SalomeATOMGEN_FIND_QUIETLY)
+  MESSAGE(STATUS "Looking for Salome ATOMGEN ...")
+ENDIF()
+
+SET(CMAKE_PREFIX_PATH "${ATOMGEN_ROOT_DIR}")
+SALOME_FIND_PACKAGE(SalomeATOMGEN SalomeATOMGEN CONFIG)
+
+IF(NOT SalomeATOMGEN_FIND_QUIETLY)
+  MESSAGE(STATUS "Found Salome ATOMGEN: ${ATOMGEN_ROOT_DIR}")
+ENDIF()
+
+FOREACH(_res ${SalomeATOMGEN_EXTRA_ENV})
+  SALOME_ACCUMULATE_ENVIRONMENT(${_res} "${SalomeATOMGEN_EXTRA_ENV_${_res}}")
+ENDFOREACH()
\ No newline at end of file
diff --git a/resources/ATOMGEN_en.xml b/resources/ATOMGEN_en.xml
deleted file mode 100644 (file)
index c150bd1..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version='1.0' encoding='us-ascii'?>
-<!DOCTYPE application PUBLIC "" "desktop.dtd">
-<application title="ATOMGEN component" date="15/11/2005" author="SALOME team" appId="SALOME" >
-  <desktop>
-    <!-- ### MENUBAR ###  -->
-    <menubar>
-      <menu-item label-id="ATOMGEN" item-id="90" pos-id="3">
-       <popup-item item-id="4010" label-id="Run" icon-id="" tooltip-id="Runs calculations" accel-id="" toggle-id="" execute-action=""/>
-      </menu-item>
-    </menubar>
-    <!-- ### TOOLBARS ###  -->
-    <toolbar label-id="ATOMGEN" name-id="ATOMGEN">
-      <toolbutton-item item-id="4002" label-id="Run" icon-id="atomgen_run.png" tooltip-id="Runs calculations" accel-id="" toggle-id="" execute-action=""/>
-    </toolbar>
-  </desktop>
-</application>
-
index 452a99aea8d4a583f927393d632d6aa2f059cb13..f6edf35584e83823f89ee1c8b518f6f042a1eb7d 100755 (executable)
@@ -20,7 +20,6 @@
 SET(ATOMGEN_RESOURCES_FILES
   atomgen_run.png
   ATOMGEN.png
-  ATOMGEN_en.xml
 )
 
 INSTALL(FILES ${ATOMGEN_RESOURCES_FILES} DESTINATION ${SALOME_ATOMGEN_INSTALL_RES_DATA})