Salome HOME
merge with master
[tools/sat.git] / data / templates / PythonComponent8 / src / PYCMPGUI / CMakeLists.txt
diff --git a/data/templates/PythonComponent8/src/PYCMPGUI/CMakeLists.txt b/data/templates/PythonComponent8/src/PYCMPGUI/CMakeLists.txt
new file mode 100644 (file)
index 0000000..dea3702
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright (C) 2018-2018  CEA/DEN
+#
+# 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
+#
+
+INCLUDE(UseQtExt)
+
+SET(Python_SOURCES
+       :sat:{PYCMP}Desktop.py
+       :sat:{PYCMP}GUI.py
+)
+
+SET(qt_RESOURCES
+       :sat:{PYCMP}_msg_en.ts
+       :sat:{PYCMP}_msg_fr.ts
+       :sat:{PYCMP}_icons.ts
+)
+
+SALOME_INSTALL_SCRIPTS("${Python_SOURCES}" ${SALOME_INSTALL_SCRIPT_PYTHON})
+
+QT_INSTALL_TS_RESOURCES("${qt_RESOURCES}" "${SALOME_INSTALL_RES}")