Salome HOME
Compile Python files on installation
[modules/parametric.git] / src / salome / parametric / CMakeLists.txt
index d3de5043660a9f820baf1158dd67272300e8d3b7..de5501ec8f2c040c350bb31afea2a10302095e66 100644 (file)
 # along with SALOME PARAMETRIC module.  If not, see <http://www.gnu.org/licenses/>.
 
 ADD_SUBDIRECTORY(gui)
+
+SET(PYTHON_FILES
+  __init__.py
+  genjob.py
+  persistence.py
+  study.py
+)
+
+INSTALL_AND_COMPILE_PYTHON_FILE("${PYTHON_FILES}" ${PYTHONDIR}/salome/parametric)