Salome HOME
CMake porting
authorvsr <vsr@opencascade.com>
Mon, 14 Oct 2013 11:05:25 +0000 (11:05 +0000)
committervsr <vsr@opencascade.com>
Mon, 14 Oct 2013 11:05:25 +0000 (11:05 +0000)
resources/ATOMGENCatalog.xml [deleted file]
resources/ATOMGENCatalog.xml.in [new file with mode: 0644]
resources/CMakeLists.txt

diff --git a/resources/ATOMGENCatalog.xml b/resources/ATOMGENCatalog.xml
deleted file mode 100644 (file)
index 37bc4cb..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version='1.0' encoding='us-ascii' ?>
-
-<!--
-  Copyright (C) 2007-2013  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.
-
-  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
-
--->
-<!-- XML component catalog -->
-<begin-catalog>
-
-<!-- Path prefix information -->
-
-<path-prefix-list>
-</path-prefix-list>
-
-<!-- Component list -->
-<component-list>
-        <component>
-                <!-- Component identification -->
-                <component-name>ATOMGEN</component-name>
-               <component-username>AtomGEN</component-username>
-                <component-type>SAMPLE</component-type>
-                <component-author>SALOME team</component-author>
-                <component-version>0.3.0</component-version>
-                <component-comment>Sample Python-based component</component-comment>
-                <component-multistudy>1</component-multistudy>
-                <component-icone>ATOMGEN.png</component-icone>
-                <constraint>'linux' ~ OS</constraint>
-       
-       </component>
-</component-list>
-</begin-catalog>
diff --git a/resources/ATOMGENCatalog.xml.in b/resources/ATOMGENCatalog.xml.in
new file mode 100644 (file)
index 0000000..d560eb2
--- /dev/null
@@ -0,0 +1,48 @@
+<?xml version='1.0' encoding='us-ascii' ?>
+
+<!--
+  Copyright (C) 2007-2013  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.
+
+  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
+
+-->
+<!-- XML component catalog -->
+<begin-catalog>
+
+<!-- Path prefix information -->
+
+<path-prefix-list>
+</path-prefix-list>
+
+<!-- Component list -->
+<component-list>
+        <component>
+                <!-- Component identification -->
+                <component-name>ATOMGEN</component-name>
+               <component-username>AtomGEN</component-username>
+                <component-type>SAMPLE</component-type>
+                <component-author>SALOME team</component-author>
+                <component-version>@SALOMEATOMGEN_VERSION@</component-version>
+                <component-comment>Sample Python-based component</component-comment>
+                <component-multistudy>1</component-multistudy>
+                <component-icone>ATOMGEN.png</component-icone>
+                <constraint>'linux' ~ OS</constraint>
+       
+       </component>
+</component-list>
+</begin-catalog>
index d8d7ee74e52b10ad7061bf6b9695fe059540e108..64b2afcef7d03d9ca71e04362d64c7854678c489 100755 (executable)
@@ -24,8 +24,8 @@ SET(ATOMGEN_RESOURCES_FILES
   atomgen_run.png
   ATOMGEN.png
   ATOMGEN_en.xml
-  ATOMGENCatalog.xml
 )
 
 INSTALL(FILES ${ATOMGEN_RESOURCES_FILES} DESTINATION ${SALOME_ATOMGEN_INSTALL_RES_DATA})
+SALOME_CONFIGURE_FILE(ATOMGENCatalog.xml.in ATOMGENCatalog.xml INSTALL ${SALOME_ATOMGEN_INSTALL_RES_DATA})
 SALOME_CONFIGURE_FILE(SalomeApp.xml.in SalomeApp.xml INSTALL ${SALOME_ATOMGEN_INSTALL_RES_DATA})