diff options
author | Friedemann Kleint <[email protected]> | 2023-03-27 11:45:03 +0200 |
---|---|---|
committer | Friedemann Kleint <[email protected]> | 2023-03-27 23:06:32 +0200 |
commit | 58272e8c8f20871f991c1f9604c4f1bd8fadaa07 (patch) | |
tree | ed907f74894845adab0d24a6668c3ae4a219bcf6 /sources/pyside6 | |
parent | 1be36e4504093a14c8f2b46141386bb4a0a4773f (diff) |
Clean up module CMakeLists.txt
Fold in outdated version conditions, sort code module.
Pick-to: 6.5
Change-Id: I63fe4c687d2487f28fb9781612ac63ec6ef1a5c7
Reviewed-by: Shyamnath Premnadh <[email protected]>
Diffstat (limited to 'sources/pyside6')
-rw-r--r-- | sources/pyside6/PySide6/QtCore/CMakeLists.txt | 16 | ||||
-rw-r--r-- | sources/pyside6/PySide6/QtNetwork/CMakeLists.txt | 4 | ||||
-rw-r--r-- | sources/pyside6/PySide6/QtWebSockets/CMakeLists.txt | 6 |
3 files changed, 8 insertions, 18 deletions
diff --git a/sources/pyside6/PySide6/QtCore/CMakeLists.txt b/sources/pyside6/PySide6/QtCore/CMakeLists.txt index 5bd458cdb..7d724d687 100644 --- a/sources/pyside6/PySide6/QtCore/CMakeLists.txt +++ b/sources/pyside6/PySide6/QtCore/CMakeLists.txt @@ -34,8 +34,8 @@ ${QtCore_GEN_DIR}/qbuffer_wrapper.cpp ${QtCore_GEN_DIR}/qbytearray_frombase64result_wrapper.cpp ${QtCore_GEN_DIR}/qbytearray_wrapper.cpp ${QtCore_GEN_DIR}/qbytearraymatcher_wrapper.cpp -${QtCore_GEN_DIR}/qcalendar_wrapper.cpp ${QtCore_GEN_DIR}/qcalendar_systemid_wrapper.cpp +${QtCore_GEN_DIR}/qcalendar_wrapper.cpp ${QtCore_GEN_DIR}/qcalendar_yearmonthday_wrapper.cpp ${QtCore_GEN_DIR}/qcborarray_wrapper.cpp ${QtCore_GEN_DIR}/qcborerror_wrapper.cpp @@ -92,6 +92,7 @@ ${QtCore_GEN_DIR}/qline_wrapper.cpp ${QtCore_GEN_DIR}/qlinef_wrapper.cpp ${QtCore_GEN_DIR}/qlocale_wrapper.cpp ${QtCore_GEN_DIR}/qlockfile_wrapper.cpp +${QtCore_GEN_DIR}/qloggingcategory_wrapper.cpp ${QtCore_GEN_DIR}/qmargins_wrapper.cpp ${QtCore_GEN_DIR}/qmarginsf_wrapper.cpp ${QtCore_GEN_DIR}/qmessageauthenticationcode_wrapper.cpp @@ -111,6 +112,7 @@ ${QtCore_GEN_DIR}/qmodelroledata_wrapper.cpp ${QtCore_GEN_DIR}/qmutex_wrapper.cpp ${QtCore_GEN_DIR}/qobject_wrapper.cpp ${QtCore_GEN_DIR}/qoperatingsystemversion_wrapper.cpp +${QtCore_GEN_DIR}/qoperatingsystemversionbase_wrapper.cpp ${QtCore_GEN_DIR}/qparallelanimationgroup_wrapper.cpp ${QtCore_GEN_DIR}/qpauseanimation_wrapper.cpp ${QtCore_GEN_DIR}/qpersistentmodelindex_wrapper.cpp @@ -147,11 +149,11 @@ ${QtCore_GEN_DIR}/qsocketnotifier_wrapper.cpp ${QtCore_GEN_DIR}/qsortfilterproxymodel_wrapper.cpp ${QtCore_GEN_DIR}/qstandardpaths_wrapper.cpp ${QtCore_GEN_DIR}/qstorageinfo_wrapper.cpp -${QtCore_GEN_DIR}/qstringconverterbase_wrapper.cpp -${QtCore_GEN_DIR}/qstringconverterbase_state_wrapper.cpp ${QtCore_GEN_DIR}/qstringconverter_wrapper.cpp -${QtCore_GEN_DIR}/qstringencoder_wrapper.cpp +${QtCore_GEN_DIR}/qstringconverterbase_state_wrapper.cpp +${QtCore_GEN_DIR}/qstringconverterbase_wrapper.cpp ${QtCore_GEN_DIR}/qstringdecoder_wrapper.cpp +${QtCore_GEN_DIR}/qstringencoder_wrapper.cpp ${QtCore_GEN_DIR}/qstringlistmodel_wrapper.cpp ${QtCore_GEN_DIR}/qsysinfo_wrapper.cpp ${QtCore_GEN_DIR}/qsystemsemaphore_wrapper.cpp @@ -189,18 +191,12 @@ ${QtCore_GEN_DIR}/qxmlstreamnamespacedeclaration_wrapper.cpp ${QtCore_GEN_DIR}/qxmlstreamnotationdeclaration_wrapper.cpp ${QtCore_GEN_DIR}/qxmlstreamreader_wrapper.cpp ${QtCore_GEN_DIR}/qxmlstreamwriter_wrapper.cpp -${QtCore_GEN_DIR}/qloggingcategory_wrapper.cpp ${SPECIFIC_OS_FILES} # module is always needed ${QtCore_GEN_DIR}/qtcore_module_wrapper.cpp ) -if (Qt${QT_MAJOR_VERSION}Core_VERSION VERSION_EQUAL 6.3.0 OR Qt${QT_MAJOR_VERSION}Core_VERSION VERSION_GREATER 6.3.0) - list(APPEND QtCore_SRC - ${QtCore_GEN_DIR}/qoperatingsystemversionbase_wrapper.cpp) -endif() - configure_file("${QtCore_SOURCE_DIR}/QtCore_global.post.h.in" "${QtCore_BINARY_DIR}/QtCore_global.post.h" @ONLY) diff --git a/sources/pyside6/PySide6/QtNetwork/CMakeLists.txt b/sources/pyside6/PySide6/QtNetwork/CMakeLists.txt index 62a172ae5..21974f92c 100644 --- a/sources/pyside6/PySide6/QtNetwork/CMakeLists.txt +++ b/sources/pyside6/PySide6/QtNetwork/CMakeLists.txt @@ -68,11 +68,9 @@ else() ${QtNetwork_GEN_DIR}/qsslerror_wrapper.cpp ${QtNetwork_GEN_DIR}/qsslkey_wrapper.cpp ${QtNetwork_GEN_DIR}/qsslpresharedkeyauthenticator_wrapper.cpp + ${QtNetwork_GEN_DIR}/qsslserver_wrapper.cpp ${QtNetwork_GEN_DIR}/qsslsocket_wrapper.cpp ${QtNetwork_GEN_DIR}/qocspresponse_wrapper.cpp) - if (Qt${QT_MAJOR_VERSION}Network_VERSION VERSION_GREATER_EQUAL 6.4.0) - list(APPEND QtNetwork_SRC ${QtNetwork_GEN_DIR}/qsslserver_wrapper.cpp) - endif() message(STATUS "Qt${QT_MAJOR_VERSION}Network: Adding SSL classes") endif() diff --git a/sources/pyside6/PySide6/QtWebSockets/CMakeLists.txt b/sources/pyside6/PySide6/QtWebSockets/CMakeLists.txt index 89d75d912..b51b5d10e 100644 --- a/sources/pyside6/PySide6/QtWebSockets/CMakeLists.txt +++ b/sources/pyside6/PySide6/QtWebSockets/CMakeLists.txt @@ -7,17 +7,13 @@ set(QtWebSockets_SRC ${QtWebSockets_GEN_DIR}/qmaskgenerator_wrapper.cpp ${QtWebSockets_GEN_DIR}/qwebsocket_wrapper.cpp ${QtWebSockets_GEN_DIR}/qwebsocketcorsauthenticator_wrapper.cpp +${QtWebSockets_GEN_DIR}/qwebsockethandshakeoptions_wrapper.cpp ${QtWebSockets_GEN_DIR}/qwebsocketprotocol_wrapper.cpp ${QtWebSockets_GEN_DIR}/qwebsocketserver_wrapper.cpp # module is always needed ${QtWebSockets_GEN_DIR}/qtwebsockets_module_wrapper.cpp ) -if (Qt${QT_MAJOR_VERSION}WebSockets_VERSION VERSION_GREATER_EQUAL 6.4.0) - list(APPEND QtWebSockets_SRC - ${QtWebSockets_GEN_DIR}/qwebsockethandshakeoptions_wrapper.cpp) -endif() - set(QtWebSockets_include_dirs ${QtWebSockets_SOURCE_DIR} ${QtWebSockets_BINARY_DIR} ${Qt${QT_MAJOR_VERSION}Core_INCLUDE_DIRS} |