Build and test the SWIG-Produced Python interface on Windows
To build the SWIG-produced Python interface ('pyOHKL') on Windows, the following changes are made to the CMake scripts:
- Python3 package-finding method is corrected in
cmake/CheckDependencies.cmake
. - Python3-related headers and linked libraries are corrected in
swig/CMakeLists.txt
. - The SWIG-produced artifacts are copied to a dedicated folder.
- The
__init__.py
file for the Python package is corrected for Windows.
Furthermore, the Windows section of the GitLab-CI file is cleaned up.
NOTE: The following C++-tests do not pass due to SEGFAULT error:
- TestQShape
- TestNewWorkFlow
- TestPeakFinder.py