Add support for sip v5 build system
The new sip build system complies with pep 517 and requires configuration by a standard pyproject.toml file rather than running a single command. Along with these changes the fixed sip.h file has been removed in favour of a header generated locally if required. We now support both the sip build systems as this is required in our current support for multiple OSes. In the process of adding support some cleanup has been included: - the .sip files in our tree are now full module defs rather than the boilerplate being filled in by CMake, giving each module more flexibility. - the sipwrapper file has been removed in favour of a simpler script to simply strip the problematic code for C++17 compatability.
Showing
- .cmake-format.json 2 additions, 2 deletions.cmake-format.json
- buildconfig/CMake/FindSIP.cmake 94 additions, 65 deletionsbuildconfig/CMake/FindSIP.cmake
- buildconfig/CMake/FindSIP.py 0 additions, 15 deletionsbuildconfig/CMake/FindSIP.py
- buildconfig/CMake/SipQtTargetFunctions.cmake 142 additions, 77 deletionsbuildconfig/CMake/SipQtTargetFunctions.cmake
- buildconfig/CMake/sip-build/README.md 7 additions, 0 deletionsbuildconfig/CMake/sip-build/README.md
- buildconfig/CMake/sip-build/project.py.in 36 additions, 0 deletionsbuildconfig/CMake/sip-build/project.py.in
- buildconfig/CMake/sip-build/pyproject.toml.in 20 additions, 0 deletionsbuildconfig/CMake/sip-build/pyproject.toml.in
- buildconfig/CMake/sip-build/sipqtmodule.sip.in 35 additions, 0 deletionsbuildconfig/CMake/sip-build/sipqtmodule.sip.in
- qt/python/mantidqt/CMakeLists.txt 39 additions, 45 deletionsqt/python/mantidqt/CMakeLists.txt
- qt/python/mantidqt/_common.sip 45 additions, 17 deletionsqt/python/mantidqt/_common.sip
- qt/python/mantidqt/icons/CMakeLists.txt 15 additions, 25 deletionsqt/python/mantidqt/icons/CMakeLists.txt
- qt/python/mantidqt/icons/_icons.sip 28 additions, 0 deletionsqt/python/mantidqt/icons/_icons.sip
- qt/python/mantidqt/widgets/instrumentview/CMakeLists.txt 22 additions, 25 deletionsqt/python/mantidqt/widgets/instrumentview/CMakeLists.txt
- qt/python/mantidqt/widgets/instrumentview/_instrumentview.sip 30 additions, 2 deletions...ython/mantidqt/widgets/instrumentview/_instrumentview.sip
- qt/python/mantidqt/widgets/jobtreeview/__init__.py 1 addition, 3 deletionsqt/python/mantidqt/widgets/jobtreeview/__init__.py
- qt/python/sip/README 2 additions, 0 deletionsqt/python/sip/README
- qt/python/sip/exceptions.sip 0 additions, 0 deletionsqt/python/sip/exceptions.sip
- qt/python/sip/string.sip 0 additions, 0 deletionsqt/python/sip/string.sip
- qt/python/sip/vector.sip 17 additions, 17 deletionsqt/python/sip/vector.sip
- qt/python/sip/vector.sip.h 0 additions, 0 deletionsqt/python/sip/vector.sip.h
Loading
Please register or sign in to comment