diff --git a/CMakeLists.txt b/CMakeLists.txt index a927ede..2ea1684 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,35 +1,36 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # Cppyy-based bindings. # cmake_minimum_required(VERSION 3.9) project(pykde5) add_subdirectory(KF5) +add_subdirectory(Qt5) enable_testing() diff --git a/Qt5/CMakeLists.txt b/Qt5/CMakeLists.txt new file mode 100644 index 0000000..7e66994 --- /dev/null +++ b/Qt5/CMakeLists.txt @@ -0,0 +1,76 @@ +# Copyright 2017 Shaheed Haque +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# +# 1. Redistributions of source code must retain the copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# 3. The name of the author may not be used to endorse or promote products +# derived from this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +# +# Cppyy-based bindings for Qt5. +# +cmake_minimum_required(VERSION 3.9) + +project(qt5) + +find_package(ECM 5.38.0 REQUIRED) +set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/../cmake) +include(FeatureSummary) + + +include(CppyyMacros) + +############################################################################### +# Qt5 from http://doc.qt.io/qt-5/qtmodules.html +############################################################################### +# +# Qt Essentials. +# +list(APPEND components Qt5.Core Qt5.Gui Qt5.Network Qt5.Qml Qt5.Quick Qt5.Sql + Qt5.Test Qt5.Widgets) +# +# Qt Addons. +# +list(APPEND components Qt5.Concurrent Qt5.DBus Qt5.OpenGL Qt5.Positioning + Qt5.PrintSupport Qt5.Script Qt5.Sensors Qt5.SerialPort Qt5.Svg + Qt5.WebChannel Qt5.WebEngine Qt5.WebSockets Qt5.WebView Qt5.X11Extras + Qt5.Xml Qt5.WaylandCompositor Qt5.Charts) +# +# Other stuff. +# +#Qt5.WebKit +list(APPEND components Qt5.TextToSpeech) + +foreach(component IN LISTS components) + add_subdirectory(${component}) +endforeach() +feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) + +############################################################################### +# Testing. +############################################################################### +enable_testing() +foreach(component IN LISTS components) + string(REPLACE "." "/" subdir ${component}) + add_test(NAME ${component} + COMMAND pytest test.py + WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${component}") +endforeach() diff --git a/CMakeLists.txt b/Qt5/Qt5.Charts/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Charts/CMakeLists.txt index a927ede..da35c7a 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Charts/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Charts") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Charts) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Concurrent/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Concurrent/CMakeLists.txt index a927ede..4487d0f 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Concurrent/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Concurrent") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Concurrent) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Core/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Core/CMakeLists.txt index a927ede..ec3a2b2 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Core/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Core") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Core) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.DBus/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.DBus/CMakeLists.txt index a927ede..32e433a 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.DBus/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.DBus") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5DBus) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Gui/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Gui/CMakeLists.txt index a927ede..e81cb6f 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Gui/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Gui") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Gui) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Network/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Network/CMakeLists.txt index a927ede..805e557 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Network/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Network") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Network) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.OpenGL/CMakeLists.txt similarity index 74% copy from CMakeLists.txt copy to Qt5/Qt5.OpenGL/CMakeLists.txt index a927ede..38b3bed 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.OpenGL/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.OpenGL") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5OpenGL Qt5OpenGLExtensions) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Positioning/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Positioning/CMakeLists.txt index a927ede..6235bef 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Positioning/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Positioning") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Positioning) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.PrintSupport/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.PrintSupport/CMakeLists.txt index a927ede..db694a8 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.PrintSupport/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.PrintSupport") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5PrintSupport) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Qml/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Qml/CMakeLists.txt index a927ede..1d5f496 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Qml/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Qml") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Qml) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Quick/CMakeLists.txt similarity index 74% copy from CMakeLists.txt copy to Qt5/Qt5.Quick/CMakeLists.txt index a927ede..4ed8f6d 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Quick/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Quick") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Quick Qt5QuickTest Qt5QuickWidgets) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Script/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Script/CMakeLists.txt index a927ede..15d74a3 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Script/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Script") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Script Qt5ScriptTools) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Sensors/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Sensors/CMakeLists.txt index a927ede..a1e9f8c 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Sensors/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Sensors") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Sensors) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.SerialPort/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.SerialPort/CMakeLists.txt index a927ede..b56bf20 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.SerialPort/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.SerialPort") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5SerialPort) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Sql/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Sql/CMakeLists.txt index a927ede..29dafd9 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Sql/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Sql") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Sql) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Svg/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Svg/CMakeLists.txt index a927ede..564b1bd 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Svg/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Svg") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Svg) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Test/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Test/CMakeLists.txt index a927ede..77487f2 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Test/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Test") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Test) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.TextToSpeech/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.TextToSpeech/CMakeLists.txt index a927ede..a754abb 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.TextToSpeech/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.TextToSpeech") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5TextToSpeech) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.WaylandCompositor/CMakeLists.txt similarity index 74% copy from CMakeLists.txt copy to Qt5/Qt5.WaylandCompositor/CMakeLists.txt index a927ede..39543d3 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.WaylandCompositor/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.WaylandCompositor") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5WaylandCompositor) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.WebChannel/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.WebChannel/CMakeLists.txt index a927ede..64aa610 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.WebChannel/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.WebChannel") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5WebChannel) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.WebEngine/CMakeLists.txt similarity index 74% copy from CMakeLists.txt copy to Qt5/Qt5.WebEngine/CMakeLists.txt index a927ede..97fb13c 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.WebEngine/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.WebEngine") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5WebEngine Qt5WebEngineCore Qt5WebEngineWidgets) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.WebKit/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.WebKit/CMakeLists.txt index a927ede..3523c43 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.WebKit/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.WebKit") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5WebKit Qt5WebKitWidgets) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.WebSockets/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.WebSockets/CMakeLists.txt index a927ede..54191c1 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.WebSockets/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.WebSockets") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5WebSockets) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.WebView/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.WebView/CMakeLists.txt index a927ede..7bf3e96 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.WebView/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.WebView") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5WebView) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Widgets/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Widgets/CMakeLists.txt index a927ede..45f80ef 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Widgets/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Widgets") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Widgets) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.X11Extras/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.X11Extras/CMakeLists.txt index a927ede..248736d 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.X11Extras/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.X11Extras") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5X11Extras) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg) diff --git a/CMakeLists.txt b/Qt5/Qt5.Xml/CMakeLists.txt similarity index 75% copy from CMakeLists.txt copy to Qt5/Qt5.Xml/CMakeLists.txt index a927ede..bf8f12e 100644 --- a/CMakeLists.txt +++ b/Qt5/Qt5.Xml/CMakeLists.txt @@ -1,35 +1,44 @@ # Copyright 2017 Shaheed Haque # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # 3. The name of the author may not be used to endorse or promote products # derived from this software without specific prior written permission. # # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR # IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. # IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT # NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +set(_pkg "Qt5.Xml") +project(${_pkg}) + # -# Cppyy-based bindings. +# Get the information needed to create bindings for a set of related components. +# Increase the VERBOSE setting for diagnostics. # -cmake_minimum_required(VERSION 3.9) - -project(pykde5) - -add_subdirectory(KF5) - -enable_testing() +get_binding_info( + VERBOSE 0 + COMPONENTS Qt5Xml Qt5XmlPatterns) +# +# Customise the automatically generated information. +# +set(linkdefs "") +# +# Generate the bindings. +# +add_bindings(${_pkg} "Shaheed Haque" "srhaque@theiet.org" "${include_dirs}" "${linkdefs}" "${h_dirs}" "${h_files}") +unset(_pkg)