]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
MED CMakization
authorageay <ageay>
Fri, 23 Mar 2012 11:07:15 +0000 (11:07 +0000)
committerageay <ageay>
Fri, 23 Mar 2012 11:07:15 +0000 (11:07 +0000)
src/MedClient/test/environ/CMakeLists.txt
src/MedClient/test/environ/csh/CMakeLists.txt [new file with mode: 0644]

index 5321d8a5aa738f2abc43d9de5d0bcf994cac10d1..f614f26459b712d7d8c2e7ef546b62deeaaff356 100644 (file)
@@ -26,5 +26,5 @@ FOREACH(MedClientTestConfig ${MedClientTestsConfig})
   SET(output ${CMAKE_CURRENT_BINARY_DIR}/${MedClientTestConfig})
   MESSAGE(STATUS "Creation of ${output}")
   CONFIGURE_FILE(${input} ${output})
-  INSTALL(FILES ${output} DESTINATION Tests/environ/csh)
+  INSTALL(FILES ${output} PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION Tests/environ/csh)
 ENDFOREACH(MedClientTestConfig ${MedClientTestsConfig})
diff --git a/src/MedClient/test/environ/csh/CMakeLists.txt b/src/MedClient/test/environ/csh/CMakeLists.txt
new file mode 100644 (file)
index 0000000..8c7faa9
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright (C) 2007-2011  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
+#
+
+SET(MedClientTestsConfigCsh init1 init2 init3 runContainer runEnvironTests stopContainer)
+
+FOREACH(MedClientTestConfigCsh ${MedClientTestsConfigCsh})
+  SET(input ${CMAKE_CURRENT_SOURCE_DIR}/${MedClientTestConfigCsh}.in)
+  SET(output ${CMAKE_CURRENT_BINARY_DIR}/${MedClientTestConfigCsh})
+  MESSAGE(STATUS "Creation of ${output}")
+  CONFIGURE_FILE(${input} ${output})
+  INSTALL(FILES ${output}
+    PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
+    DESTINATION Tests/environ/csh)
+ENDFOREACH(MedClientTestConfigCsh ${MedClientTestsConfigCsh})