Salome HOME
projects
/
modules
/
paravis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Copyright update 2022
[modules/paravis.git]
/
src
/
PV_SWIG
/
CMakeLists.txt
diff --git
a/src/PV_SWIG/CMakeLists.txt
b/src/PV_SWIG/CMakeLists.txt
index da9f7cb553ed51f664ffbf7f444d6e6f90169faa..1c327edf4d35f80ca65a70fab2bfe2ab5a28e57a 100644
(file)
--- a/
src/PV_SWIG/CMakeLists.txt
+++ b/
src/PV_SWIG/CMakeLists.txt
@@
-1,4
+1,4
@@
-# Copyright (C) 2010-20
14
CEA/DEN, EDF R&D
+# Copyright (C) 2010-20
22
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
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@
-22,26
+22,16
@@
SET(_PYFILES_TO_INSTALL)
IF(SALOME_LIGHT_ONLY)
LIST(APPEND _PYFILES_TO_INSTALL
pvsimple.py
IF(SALOME_LIGHT_ONLY)
LIST(APPEND _PYFILES_TO_INSTALL
pvsimple.py
- presentations.py
)
ELSE(SALOME_LIGHT_ONLY)
)
ELSE(SALOME_LIGHT_ONLY)
- IF(SALOME_PARAVIS_MINIMAL_CORBA)
- # Use another set of Python files redirecting the API directly
+ # Use a set of Python files redirecting the API directly
# to the original ParaView modules.
LIST(APPEND _PYFILES_TO_INSTALL
# to the original ParaView modules.
LIST(APPEND _PYFILES_TO_INSTALL
- no_wrap/paravis.py
- no_wrap/pvsimple.py
- no_wrap/presentations.py
- no_wrap/paravisSM.py
- )
- ELSE()
- LIST(APPEND _PYFILES_TO_INSTALL
- paravis.py
- paravisSM.py
+ pvserver.py
pvsimple.py
pvsimple.py
- p
resentations
.py
+ p
aravisSM
.py
)
)
- ENDIF()
ENDIF(SALOME_LIGHT_ONLY)
ENDIF(SALOME_LIGHT_ONLY)
-INSTALL_AND_COMPILE_PYTHON_FILE("${_PYFILES_TO_INSTALL}" ${SALOME_INSTALL_SCRIPT_PYTHON})
+SALOME_INSTALL_SCRIPTS("${_PYFILES_TO_INSTALL}" ${SALOME_INSTALL_PYTHON})
+SALOME_CONFIGURE_FILE(__init__.py __init__.py INSTALL ${SALOME_INSTALL_PYTHON}/salome/paravis)