Salome HOME
bin directory no more useful.
authorageay <ageay>
Fri, 4 Oct 2013 07:44:55 +0000 (07:44 +0000)
committerageay <ageay>
Fri, 4 Oct 2013 07:44:55 +0000 (07:44 +0000)
CMakeLists.txt
VERSION.in [new file with mode: 0755]
bin/CMakeLists.txt [deleted file]
bin/VERSION.in [deleted file]

index a9472f9aee032ea835985982a2b98feedfe34d9c..ae5cf152f66bff264cab8d3b92da7620db9fcfb2 100644 (file)
@@ -99,13 +99,12 @@ IF(NOT SALOME_MED_STANDALONE)
   ENDIF(EXISTS ${KERNEL_ROOT_DIR})
   LIST(APPEND CMAKE_MODULE_PATH "${KERNEL_ROOT_DIR}/salome_adm/cmake_files")
   FIND_PACKAGE(SalomeOmniORB REQUIRED)
+  LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/adm_local/cmake_files")
 ELSE(NOT SALOME_MED_STANDALONE)
   LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/adm_local_without_kernel/cmake_files")
   INCLUDE(SalomeMacros)
 ENDIF(NOT SALOME_MED_STANDALONE)
 
-LIST(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/adm_local/cmake_files")
-
 # Platform setup
 # ==============
 INCLUDE(SalomeSetupPlatform)
@@ -234,6 +233,8 @@ SET(output ${PROJECT_BINARY_DIR}/MED_version.h)
 MESSAGE(STATUS "Creation of ${output}")
 CONFIGURE_FILE(${input} ${output} @ONLY)
 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/MED_version.h DESTINATION ${SALOME_INSTALL_HEADERS})
+CONFIGURE_FILE(VERSION.in VERSION @ONLY)
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION ${SALOME_INSTALL_BINS})
 
 # Sources 
 # ========
diff --git a/VERSION.in b/VERSION.in
new file mode 100755 (executable)
index 0000000..bbf8f49
--- /dev/null
@@ -0,0 +1,3 @@
+[SALOME MED]  : @VERSION@
+[DEVELOPMENT] : @VERSION_DEV@
+[DESCRIPTION] : SALOME Med module
diff --git a/bin/CMakeLists.txt b/bin/CMakeLists.txt
deleted file mode 100644 (file)
index a90e82b..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright (C) 2012-2013  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.
-#
-# 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
-#
-
-CONFIGURE_FILE(VERSION.in VERSION @ONLY)
-
-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION DESTINATION ${SALOME_INSTALL_BINS})
diff --git a/bin/VERSION.in b/bin/VERSION.in
deleted file mode 100755 (executable)
index bbf8f49..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-[SALOME MED]  : @VERSION@
-[DEVELOPMENT] : @VERSION_DEV@
-[DESCRIPTION] : SALOME Med module