From b25ecda5bbc3d9983a17100d2b94f7cae05efef9 Mon Sep 17 00:00:00 2001 From: rnv Date: Thu, 28 Jul 2016 14:25:32 +0300 Subject: [PATCH] Moving *all* CMake detection files to common CONFIGURATION repo. --- adm_local/cmake_files/CMakeLists.txt | 29 ---------------- adm_local/cmake_files/FindHexoticPLUGIN.cmake | 24 ------------- .../cmake_files/FindSalomeHexoticPLUGIN.cmake | 34 ------------------- 3 files changed, 87 deletions(-) delete mode 100755 adm_local/cmake_files/CMakeLists.txt delete mode 100644 adm_local/cmake_files/FindHexoticPLUGIN.cmake delete mode 100644 adm_local/cmake_files/FindSalomeHexoticPLUGIN.cmake diff --git a/adm_local/cmake_files/CMakeLists.txt b/adm_local/cmake_files/CMakeLists.txt deleted file mode 100755 index 55b1da1..0000000 --- a/adm_local/cmake_files/CMakeLists.txt +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright (C) 2012-2016 CEA/DEN, EDF R&D -# -# 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 - FindHexoticPLUGIN.cmake - FindSalomeHexoticPLUGIN.cmake -) -INSTALL(FILES ${_adm_data} DESTINATION ${SALOME_INSTALL_CMAKE_LOCAL}) diff --git a/adm_local/cmake_files/FindHexoticPLUGIN.cmake b/adm_local/cmake_files/FindHexoticPLUGIN.cmake deleted file mode 100644 index dc0c2ca..0000000 --- a/adm_local/cmake_files/FindHexoticPLUGIN.cmake +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright (C) 2007-2016 CEA/DEN, EDF R&D -# -# 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(HexoticPLUGIN_CXXFLAGS -I${HexoticPLUGIN_ROOT_DIR}/include/salome) - -FIND_LIBRARY(HexoticEngine HexoticEngine ${HexoticPLUGIN_ROOT_DIR}/lib/salome) -FIND_LIBRARY(HexoticPluginGUI HexoticPluginGUI ${HexoticPLUGIN_ROOT_DIR}/lib/salome) -FIND_LIBRARY(SalomeIDLHexoticPLUGIN SalomeIDLHexoticPLUGIN ${HexoticPLUGIN_ROOT_DIR}/lib/salome) diff --git a/adm_local/cmake_files/FindSalomeHexoticPLUGIN.cmake b/adm_local/cmake_files/FindSalomeHexoticPLUGIN.cmake deleted file mode 100644 index 9776340..0000000 --- a/adm_local/cmake_files/FindSalomeHexoticPLUGIN.cmake +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright (C) 2007-2016 CEA/DEN, EDF R&D -# -# 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 SalomeHexoticPLUGIN_FIND_QUIETLY) - MESSAGE(STATUS "Looking for Salome HexoticPLUGIN ...") -ENDIF() - -SET(CMAKE_PREFIX_PATH "${HexoticPLUGIN_ROOT_DIR}") - -SALOME_FIND_PACKAGE(SalomeHexoticPLUGIN SalomeHexoticPLUGIN CONFIG) - -IF(NOT SalomeHexoticPLUGIN_FIND_QUIETLY) - MESSAGE(STATUS "Found Salome HexoticPLUGIN: ${HexoticPLUGIN_ROOT_DIR}") -ENDIF() - -FOREACH(_res ${SalomeHexoticPLUGIN_EXTRA_ENV}) - SALOME_ACCUMULATE_ENVIRONMENT(${_res} "${SalomeHexoticPLUGIN_EXTRA_ENV_${_res}}") -ENDFOREACH() \ No newline at end of file -- 2.39.2