added precompiled binaries for Qt 5.12.5
This commit is contained in:
parent
5cf0bb0cf8
commit
a25735a072
1755 changed files with 133010 additions and 0 deletions
2
build.sh
Executable file
2
build.sh
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
dpkg-deb --build debian
|
||||||
|
mv debian.deb libqt5raspi-5.12.5.deb
|
10
debian/DEBIAN/control
vendored
Normal file
10
debian/DEBIAN/control
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
Package: libqt5raspi-5.12.5
|
||||||
|
Version: 1.0
|
||||||
|
Section: base
|
||||||
|
Priority: optional
|
||||||
|
Architecture: armhf
|
||||||
|
Depends: libgles2-mesa-dev (>= 19.3.2-1~bpo10+1~rpt1), libdouble-conversion-dev (>= 3.1.0-3)
|
||||||
|
Maintainer: Dorian Zedler <dorian@itsblue.de>
|
||||||
|
Description: Qt 5.12.5 Raspberry Pi libraries
|
||||||
|
This package contains pre-compiled shared Qt 5.12.5 libraries for the Raspberry Pi.
|
||||||
|
This will allow the pi this package is installed to to run Qt 5.12.5 applications.
|
9
debian/DEBIAN/postinst
vendored
Executable file
9
debian/DEBIAN/postinst
vendored
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# remove previous link
|
||||||
|
rm -f /usr/local/qt5pi
|
||||||
|
|
||||||
|
# link as default lib
|
||||||
|
ln -s /usr/local/qt5raspi-5.12.5 /usr/local/qt5pi
|
||||||
|
|
||||||
|
# reload ld path
|
||||||
|
ldconfig
|
5
debian/DEBIAN/postrm
vendored
Executable file
5
debian/DEBIAN/postrm
vendored
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [[ $(readlink -f /usr/local/qt5pi/) = /usr/local/qt5raspi-5.12.5 ]]; then
|
||||||
|
rm /usr/local/qt5pi
|
||||||
|
fi
|
BIN
debian/usr/local/qt5raspi-5.12.5/bin/canbusutil
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/canbusutil
vendored
Executable file
Binary file not shown.
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qdbus
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qdbus
vendored
Executable file
Binary file not shown.
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qdbusviewer
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qdbusviewer
vendored
Executable file
Binary file not shown.
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qml
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qml
vendored
Executable file
Binary file not shown.
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qmlpreview
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qmlpreview
vendored
Executable file
Binary file not shown.
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qmlscene
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qmlscene
vendored
Executable file
Binary file not shown.
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qmltestrunner
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qmltestrunner
vendored
Executable file
Binary file not shown.
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qtdiag
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qtdiag
vendored
Executable file
Binary file not shown.
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qtpaths
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qtpaths
vendored
Executable file
Binary file not shown.
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qtplugininfo
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/qtplugininfo
vendored
Executable file
Binary file not shown.
BIN
debian/usr/local/qt5raspi-5.12.5/bin/xmlpatterns
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/xmlpatterns
vendored
Executable file
Binary file not shown.
BIN
debian/usr/local/qt5raspi-5.12.5/bin/xmlpatternsvalidator
vendored
Executable file
BIN
debian/usr/local/qt5raspi-5.12.5/bin/xmlpatternsvalidator
vendored
Executable file
Binary file not shown.
28
debian/usr/local/qt5raspi-5.12.5/lib/Qt5RepParser.la
vendored
Normal file
28
debian/usr/local/qt5raspi-5.12.5/lib/Qt5RepParser.la
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Qt5RepParser.la - a libtool library file
|
||||||
|
# Generated by qmake/libtool (3.1) (Qt 5.12.5)
|
||||||
|
# The name that we can dlopen(3).
|
||||||
|
dlname=''
|
||||||
|
|
||||||
|
# Names of this library.
|
||||||
|
library_names=' '
|
||||||
|
|
||||||
|
# The name of the static archive.
|
||||||
|
old_library='Qt5RepParser.a'
|
||||||
|
|
||||||
|
# Libraries that this one depends upon.
|
||||||
|
dependency_libs='-L/home/dorian/raspi/qt-everywhere-src-5.12.5/qtbase/lib -lQt5Core -lpthread'
|
||||||
|
|
||||||
|
# Version information for Qt5RepParser.la
|
||||||
|
current=62
|
||||||
|
age=0
|
||||||
|
revision=5
|
||||||
|
|
||||||
|
# Is this an already installed library.
|
||||||
|
installed=yes
|
||||||
|
|
||||||
|
# Files to dlopen/dlpreopen.
|
||||||
|
dlopen=''
|
||||||
|
dlpreopen=''
|
||||||
|
|
||||||
|
# Directory that this library needs to be installed in:
|
||||||
|
libdir='=/home/dorian/raspi/qt5pi/lib'
|
28
debian/usr/local/qt5raspi-5.12.5/lib/Qt5UiPlugin.la
vendored
Normal file
28
debian/usr/local/qt5raspi-5.12.5/lib/Qt5UiPlugin.la
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Qt5UiPlugin.la - a libtool library file
|
||||||
|
# Generated by qmake/libtool (3.1) (Qt 5.12.5)
|
||||||
|
# The name that we can dlopen(3).
|
||||||
|
dlname=''
|
||||||
|
|
||||||
|
# Names of this library.
|
||||||
|
library_names=' '
|
||||||
|
|
||||||
|
# The name of the static archive.
|
||||||
|
old_library='Qt5UiPlugin.a'
|
||||||
|
|
||||||
|
# Libraries that this one depends upon.
|
||||||
|
dependency_libs='-L/home/dorian/raspi/sysroot/opt/vc/lib -L/home/dorian/raspi/qt-everywhere-src-5.12.5/qtbase/lib -lQt5Widgets -lQt5Gui -lQt5Core -lpthread'
|
||||||
|
|
||||||
|
# Version information for Qt5UiPlugin.la
|
||||||
|
current=62
|
||||||
|
age=0
|
||||||
|
revision=5
|
||||||
|
|
||||||
|
# Is this an already installed library.
|
||||||
|
installed=yes
|
||||||
|
|
||||||
|
# Files to dlopen/dlpreopen.
|
||||||
|
dlopen=''
|
||||||
|
dlpreopen=''
|
||||||
|
|
||||||
|
# Directory that this library needs to be installed in:
|
||||||
|
libdir='=/home/dorian/raspi/qt5pi/lib'
|
28
debian/usr/local/qt5raspi-5.12.5/lib/Qt5Zlib.la
vendored
Normal file
28
debian/usr/local/qt5raspi-5.12.5/lib/Qt5Zlib.la
vendored
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
# Qt5Zlib.la - a libtool library file
|
||||||
|
# Generated by qmake/libtool (3.1) (Qt 5.12.5)
|
||||||
|
# The name that we can dlopen(3).
|
||||||
|
dlname=''
|
||||||
|
|
||||||
|
# Names of this library.
|
||||||
|
library_names=' '
|
||||||
|
|
||||||
|
# The name of the static archive.
|
||||||
|
old_library='Qt5Zlib.a'
|
||||||
|
|
||||||
|
# Libraries that this one depends upon.
|
||||||
|
dependency_libs='-lpthread'
|
||||||
|
|
||||||
|
# Version information for Qt5Zlib.la
|
||||||
|
current=62
|
||||||
|
age=0
|
||||||
|
revision=5
|
||||||
|
|
||||||
|
# Is this an already installed library.
|
||||||
|
installed=yes
|
||||||
|
|
||||||
|
# Files to dlopen/dlpreopen.
|
||||||
|
dlopen=''
|
||||||
|
dlpreopen=''
|
||||||
|
|
||||||
|
# Directory that this library needs to be installed in:
|
||||||
|
libdir='=/home/dorian/raspi/qt5pi/lib'
|
51
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5/Qt5Config.cmake
vendored
Normal file
51
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5/Qt5Config.cmake
vendored
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt5 requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5_FIND_COMPONENTS)
|
||||||
|
set(Qt5_NOT_FOUND_MESSAGE "The Qt5 package requires at least one component")
|
||||||
|
set(Qt5_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(_Qt5_FIND_PARTS_REQUIRED)
|
||||||
|
if (Qt5_FIND_REQUIRED)
|
||||||
|
set(_Qt5_FIND_PARTS_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt5_FIND_PARTS_QUIET)
|
||||||
|
if (Qt5_FIND_QUIETLY)
|
||||||
|
set(_Qt5_FIND_PARTS_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt5_install_prefix "${CMAKE_CURRENT_LIST_DIR}/.." ABSOLUTE)
|
||||||
|
|
||||||
|
set(_Qt5_NOTFOUND_MESSAGE)
|
||||||
|
|
||||||
|
include(${CMAKE_CURRENT_LIST_DIR}/Qt5ModuleLocation.cmake)
|
||||||
|
|
||||||
|
foreach(module ${Qt5_FIND_COMPONENTS})
|
||||||
|
find_package(Qt5${module}
|
||||||
|
${_Qt5_FIND_PARTS_QUIET}
|
||||||
|
${_Qt5_FIND_PARTS_REQUIRED}
|
||||||
|
PATHS ${_qt5_module_paths} NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
if (NOT Qt5${module}_FOUND)
|
||||||
|
string(CONFIGURE ${_qt5_module_location_template} _expected_module_location @ONLY)
|
||||||
|
|
||||||
|
if (Qt5_FIND_REQUIRED_${module})
|
||||||
|
set(_Qt5_NOTFOUND_MESSAGE "${_Qt5_NOTFOUND_MESSAGE}Failed to find Qt5 component \"${module}\" config file at \"${_expected_module_location}\"\n")
|
||||||
|
elseif(NOT Qt5_FIND_QUIETLY)
|
||||||
|
message(WARNING "Failed to find Qt5 component \"${module}\" config file at \"${_expected_module_location}\"")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
unset(_expected_module_location)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt5_NOTFOUND_MESSAGE)
|
||||||
|
set(Qt5_NOT_FOUND_MESSAGE "${_Qt5_NOTFOUND_MESSAGE}")
|
||||||
|
set(Qt5_FOUND False)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_qt5_Core_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5ConfigVersion.cmake")
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5/Qt5ConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5/Qt5ConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5/Qt5ModuleLocation.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5/Qt5ModuleLocation.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
set(_qt5_root_dir ${_qt5_install_prefix})
|
||||||
|
set(_qt5_module_paths ${_qt5_install_prefix})
|
||||||
|
|
||||||
|
set(_qt5_at @)
|
||||||
|
set(_qt5_module_location_template ${_qt5_install_prefix}/Qt5${_qt5_at}module${_qt5_at}/Qt5${_qt5_at}module${_qt5_at}Config.cmake)
|
||||||
|
unset(_qt5_at)
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DAnimation/Qt53DAnimationConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DAnimation/Qt53DAnimationConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DAnimation module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DAnimation_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DAnimation_VERSION instead.
|
||||||
|
set(Qt53DAnimation_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DAnimation_LIBRARIES Qt5::3DAnimation)
|
||||||
|
|
||||||
|
macro(_qt5_3DAnimation_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DAnimation\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DAnimation_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DAnimation APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DAnimation_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DAnimation_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DAnimation PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DAnimation_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DAnimation.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DAnimation_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DAnimation)
|
||||||
|
|
||||||
|
set(_Qt53DAnimation_OWN_INCLUDE_DIRS "${_qt53DAnimation_install_prefix}/include/" "${_qt53DAnimation_install_prefix}/include/Qt3DAnimation")
|
||||||
|
set(Qt53DAnimation_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DAnimation_install_prefix}/include/Qt3DAnimation/5.12.5"
|
||||||
|
"${_qt53DAnimation_install_prefix}/include/Qt3DAnimation/5.12.5/Qt3DAnimation"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DAnimation_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DAnimation_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DAnimation_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DAnimation_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DAnimation_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DAnimation_INCLUDE_DIRS ${_Qt53DAnimation_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DAnimation_DEFINITIONS -DQT_3DANIMATION_LIB)
|
||||||
|
set(Qt53DAnimation_COMPILE_DEFINITIONS QT_3DANIMATION_LIB)
|
||||||
|
set(_Qt53DAnimation_MODULE_DEPENDENCIES "3DRender;3DCore;Gui;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DAnimation_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DAnimation_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DAnimation_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DAnimation_FIND_REQUIRED)
|
||||||
|
set(_Qt53DAnimation_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DAnimation_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DAnimation_FIND_QUIETLY)
|
||||||
|
set(_Qt53DAnimation_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DAnimation_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DAnimation_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DAnimation_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DAnimation_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DAnimation_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DAnimation_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DAnimation_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DAnimation_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DAnimation_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DAnimation_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DAnimation_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DAnimation_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DAnimation_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DAnimation_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DAnimation_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DAnimation_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DAnimation_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DAnimation_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DAnimation_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DAnimation_LIB_DEPENDENCIES "Qt5::3DRender;Qt5::3DCore;Qt5::Gui;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DAnimation SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DAnimation PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DAnimation_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DAnimation PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DANIMATION_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DAnimation PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::3DAnimation PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DAnimation_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DAnimation_PRIVATE_DIR ${Qt53DAnimation_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DAnimation_PRIVATE_DIR})
|
||||||
|
set(_Qt53DAnimation_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DAnimation_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DAnimationPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DAnimationPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DAnimation_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DAnimation_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DAnimation_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DAnimation_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DAnimationPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DAnimation ${_Qt53DAnimation_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DAnimation_target_properties(RELEASE "libQt53DAnimation.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DAnimation_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DAnimation_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DAnimation_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DAnimation_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DAnimation_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DAnimationConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DAnimation/Qt53DAnimationConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DAnimation/Qt53DAnimationConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DCore/Qt53DCoreConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DCore/Qt53DCoreConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DCore module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DCore_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DCore_VERSION instead.
|
||||||
|
set(Qt53DCore_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DCore_LIBRARIES Qt5::3DCore)
|
||||||
|
|
||||||
|
macro(_qt5_3DCore_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DCore\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DCore_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DCore APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DCore_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DCore_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DCore PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DCore_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DCore.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DCore_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DCore)
|
||||||
|
|
||||||
|
set(_Qt53DCore_OWN_INCLUDE_DIRS "${_qt53DCore_install_prefix}/include/" "${_qt53DCore_install_prefix}/include/Qt3DCore")
|
||||||
|
set(Qt53DCore_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DCore_install_prefix}/include/Qt3DCore/5.12.5"
|
||||||
|
"${_qt53DCore_install_prefix}/include/Qt3DCore/5.12.5/Qt3DCore"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DCore_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DCore_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DCore_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DCore_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DCore_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DCore_INCLUDE_DIRS ${_Qt53DCore_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DCore_DEFINITIONS -DQT_3DCORE_LIB)
|
||||||
|
set(Qt53DCore_COMPILE_DEFINITIONS QT_3DCORE_LIB)
|
||||||
|
set(_Qt53DCore_MODULE_DEPENDENCIES "Gui;Network;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DCore_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DCore_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DCore_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DCore_FIND_REQUIRED)
|
||||||
|
set(_Qt53DCore_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DCore_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DCore_FIND_QUIETLY)
|
||||||
|
set(_Qt53DCore_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DCore_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DCore_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DCore_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DCore_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DCore_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DCore_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DCore_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DCore_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DCore_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DCore_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DCore_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DCore_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DCore_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DCore_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DCore_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DCore_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DCore_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DCore_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DCore_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DCore_LIB_DEPENDENCIES "Qt5::Gui;Qt5::Network;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DCore SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DCore PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DCore_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DCore PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DCORE_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DCore PROPERTY INTERFACE_QT_ENABLED_FEATURES qt3d-render;qt3d-animation;qt3d-input;qt3d-logic;qt3d-extras)
|
||||||
|
set_property(TARGET Qt5::3DCore PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DCore_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DCore_PRIVATE_DIR ${Qt53DCore_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DCore_PRIVATE_DIR})
|
||||||
|
set(_Qt53DCore_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DCore_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DCorePrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DCorePrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DCore_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DCore_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DCore_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DCore_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DCorePrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DCore ${_Qt53DCore_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DCore_target_properties(RELEASE "libQt53DCore.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DCore_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DCore_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DCore_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DCore_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DCore_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DCoreConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DCore/Qt53DCoreConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DCore/Qt53DCoreConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DExtras/Qt53DExtrasConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DExtras/Qt53DExtrasConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DExtras module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DExtras_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DExtras_VERSION instead.
|
||||||
|
set(Qt53DExtras_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DExtras_LIBRARIES Qt5::3DExtras)
|
||||||
|
|
||||||
|
macro(_qt5_3DExtras_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DExtras\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DExtras_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DExtras APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DExtras_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DExtras_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DExtras PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DExtras_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DExtras.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DExtras_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DExtras)
|
||||||
|
|
||||||
|
set(_Qt53DExtras_OWN_INCLUDE_DIRS "${_qt53DExtras_install_prefix}/include/" "${_qt53DExtras_install_prefix}/include/Qt3DExtras")
|
||||||
|
set(Qt53DExtras_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DExtras_install_prefix}/include/Qt3DExtras/5.12.5"
|
||||||
|
"${_qt53DExtras_install_prefix}/include/Qt3DExtras/5.12.5/Qt3DExtras"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DExtras_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DExtras_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DExtras_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DExtras_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DExtras_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DExtras_INCLUDE_DIRS ${_Qt53DExtras_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DExtras_DEFINITIONS -DQT_3DEXTRAS_LIB)
|
||||||
|
set(Qt53DExtras_COMPILE_DEFINITIONS QT_3DEXTRAS_LIB)
|
||||||
|
set(_Qt53DExtras_MODULE_DEPENDENCIES "3DRender;3DInput;3DLogic;3DCore;Gui;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DExtras_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DExtras_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DExtras_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DExtras_FIND_REQUIRED)
|
||||||
|
set(_Qt53DExtras_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DExtras_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DExtras_FIND_QUIETLY)
|
||||||
|
set(_Qt53DExtras_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DExtras_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DExtras_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DExtras_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DExtras_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DExtras_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DExtras_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DExtras_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DExtras_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DExtras_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DExtras_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DExtras_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DExtras_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DExtras_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DExtras_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DExtras_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DExtras_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DExtras_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DExtras_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DExtras_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DExtras_LIB_DEPENDENCIES "Qt5::3DRender;Qt5::3DInput;Qt5::3DLogic;Qt5::3DCore;Qt5::Gui;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DExtras SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DExtras PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DExtras_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DExtras PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DEXTRAS_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DExtras PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::3DExtras PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DExtras_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DExtras_PRIVATE_DIR ${Qt53DExtras_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DExtras_PRIVATE_DIR})
|
||||||
|
set(_Qt53DExtras_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DExtras_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DExtrasPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DExtrasPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DExtras_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DExtras_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DExtras_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DExtras_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DExtrasPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DExtras ${_Qt53DExtras_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DExtras_target_properties(RELEASE "libQt53DExtras.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DExtras_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DExtras_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DExtras_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DExtras_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DExtras_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DExtrasConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DExtras/Qt53DExtrasConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DExtras/Qt53DExtrasConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DInput/Qt53DInputConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DInput/Qt53DInputConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DInput module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DInput_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DInput_VERSION instead.
|
||||||
|
set(Qt53DInput_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DInput_LIBRARIES Qt5::3DInput)
|
||||||
|
|
||||||
|
macro(_qt5_3DInput_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DInput\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DInput_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DInput APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DInput_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DInput_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DInput PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DInput_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DInput.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DInput_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DInput)
|
||||||
|
|
||||||
|
set(_Qt53DInput_OWN_INCLUDE_DIRS "${_qt53DInput_install_prefix}/include/" "${_qt53DInput_install_prefix}/include/Qt3DInput")
|
||||||
|
set(Qt53DInput_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DInput_install_prefix}/include/Qt3DInput/5.12.5"
|
||||||
|
"${_qt53DInput_install_prefix}/include/Qt3DInput/5.12.5/Qt3DInput"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DInput_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DInput_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DInput_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DInput_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DInput_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DInput_INCLUDE_DIRS ${_Qt53DInput_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DInput_DEFINITIONS -DQT_3DINPUT_LIB)
|
||||||
|
set(Qt53DInput_COMPILE_DEFINITIONS QT_3DINPUT_LIB)
|
||||||
|
set(_Qt53DInput_MODULE_DEPENDENCIES "3DCore;Gamepad;Gui;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DInput_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DInput_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DInput_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DInput_FIND_REQUIRED)
|
||||||
|
set(_Qt53DInput_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DInput_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DInput_FIND_QUIETLY)
|
||||||
|
set(_Qt53DInput_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DInput_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DInput_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DInput_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DInput_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DInput_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DInput_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DInput_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DInput_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DInput_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DInput_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DInput_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DInput_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DInput_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DInput_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DInput_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DInput_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DInput_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DInput_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DInput_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DInput_LIB_DEPENDENCIES "Qt5::3DCore;Qt5::Gamepad;Qt5::Gui;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DInput SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DInput PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DInput_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DInput PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DINPUT_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DInput PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::3DInput PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DInput_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DInput_PRIVATE_DIR ${Qt53DInput_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DInput_PRIVATE_DIR})
|
||||||
|
set(_Qt53DInput_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DInput_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DInputPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DInputPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DInput_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DInput_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DInput_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DInput_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DInputPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DInput ${_Qt53DInput_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DInput_target_properties(RELEASE "libQt53DInput.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DInput_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DInput_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DInput_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DInput_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DInput_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DInputConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DInput/Qt53DInputConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DInput/Qt53DInputConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DLogic/Qt53DLogicConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DLogic/Qt53DLogicConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DLogic module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DLogic_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DLogic_VERSION instead.
|
||||||
|
set(Qt53DLogic_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DLogic_LIBRARIES Qt5::3DLogic)
|
||||||
|
|
||||||
|
macro(_qt5_3DLogic_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DLogic\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DLogic_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DLogic APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DLogic_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DLogic_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DLogic PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DLogic_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DLogic.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DLogic_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DLogic)
|
||||||
|
|
||||||
|
set(_Qt53DLogic_OWN_INCLUDE_DIRS "${_qt53DLogic_install_prefix}/include/" "${_qt53DLogic_install_prefix}/include/Qt3DLogic")
|
||||||
|
set(Qt53DLogic_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DLogic_install_prefix}/include/Qt3DLogic/5.12.5"
|
||||||
|
"${_qt53DLogic_install_prefix}/include/Qt3DLogic/5.12.5/Qt3DLogic"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DLogic_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DLogic_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DLogic_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DLogic_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DLogic_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DLogic_INCLUDE_DIRS ${_Qt53DLogic_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DLogic_DEFINITIONS -DQT_3DLOGIC_LIB)
|
||||||
|
set(Qt53DLogic_COMPILE_DEFINITIONS QT_3DLOGIC_LIB)
|
||||||
|
set(_Qt53DLogic_MODULE_DEPENDENCIES "3DCore;Gui;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DLogic_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DLogic_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DLogic_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DLogic_FIND_REQUIRED)
|
||||||
|
set(_Qt53DLogic_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DLogic_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DLogic_FIND_QUIETLY)
|
||||||
|
set(_Qt53DLogic_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DLogic_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DLogic_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DLogic_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DLogic_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DLogic_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DLogic_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DLogic_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DLogic_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DLogic_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DLogic_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DLogic_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DLogic_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DLogic_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DLogic_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DLogic_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DLogic_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DLogic_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DLogic_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DLogic_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DLogic_LIB_DEPENDENCIES "Qt5::3DCore;Qt5::Gui;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DLogic SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DLogic PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DLogic_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DLogic PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DLOGIC_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DLogic PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::3DLogic PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DLogic_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DLogic_PRIVATE_DIR ${Qt53DLogic_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DLogic_PRIVATE_DIR})
|
||||||
|
set(_Qt53DLogic_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DLogic_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DLogicPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DLogicPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DLogic_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DLogic_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DLogic_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DLogic_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DLogicPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DLogic ${_Qt53DLogic_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DLogic_target_properties(RELEASE "libQt53DLogic.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DLogic_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DLogic_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DLogic_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DLogic_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DLogic_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DLogicConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DLogic/Qt53DLogicConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DLogic/Qt53DLogicConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuick/Qt53DQuickConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuick/Qt53DQuickConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DQuick module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DQuick_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DQuick_VERSION instead.
|
||||||
|
set(Qt53DQuick_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DQuick_LIBRARIES Qt5::3DQuick)
|
||||||
|
|
||||||
|
macro(_qt5_3DQuick_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DQuick\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DQuick_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DQuick APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuick_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DQuick_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DQuick PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DQuick_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DQuick.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DQuick_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DQuick)
|
||||||
|
|
||||||
|
set(_Qt53DQuick_OWN_INCLUDE_DIRS "${_qt53DQuick_install_prefix}/include/" "${_qt53DQuick_install_prefix}/include/Qt3DQuick")
|
||||||
|
set(Qt53DQuick_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DQuick_install_prefix}/include/Qt3DQuick/5.12.5"
|
||||||
|
"${_qt53DQuick_install_prefix}/include/Qt3DQuick/5.12.5/Qt3DQuick"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DQuick_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuick_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DQuick_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DQuick_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuick_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuick_INCLUDE_DIRS ${_Qt53DQuick_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DQuick_DEFINITIONS -DQT_3DQUICK_LIB)
|
||||||
|
set(Qt53DQuick_COMPILE_DEFINITIONS QT_3DQUICK_LIB)
|
||||||
|
set(_Qt53DQuick_MODULE_DEPENDENCIES "Quick;3DCore;Gui;Qml;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DQuick_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DQuick_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DQuick_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DQuick_FIND_REQUIRED)
|
||||||
|
set(_Qt53DQuick_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuick_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DQuick_FIND_QUIETLY)
|
||||||
|
set(_Qt53DQuick_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuick_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DQuick_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DQuick_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuick_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DQuick_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DQuick_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DQuick_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DQuick_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DQuick_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DQuick_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuick_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuick_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuick_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuick_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuick_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuick_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuick_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuick_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuick_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DQuick_LIB_DEPENDENCIES "Qt5::Quick;Qt5::3DCore;Qt5::Gui;Qt5::Qml;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DQuick SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuick PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DQuick_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DQuick PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DQUICK_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuick PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::3DQuick PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DQuick_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DQuick_PRIVATE_DIR ${Qt53DQuick_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DQuick_PRIVATE_DIR})
|
||||||
|
set(_Qt53DQuick_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DQuick_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DQuickPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DQuickPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DQuick_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DQuick_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DQuick_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DQuick_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DQuickPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DQuick ${_Qt53DQuick_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DQuick_target_properties(RELEASE "libQt53DQuick.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DQuick_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DQuick_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuick_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DQuick_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DQuick_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DQuickConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuick/Qt53DQuickConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuick/Qt53DQuickConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickAnimation/Qt53DQuickAnimationConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickAnimation/Qt53DQuickAnimationConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DQuickAnimation module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DQuickAnimation_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DQuickAnimation_VERSION instead.
|
||||||
|
set(Qt53DQuickAnimation_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DQuickAnimation_LIBRARIES Qt5::3DQuickAnimation)
|
||||||
|
|
||||||
|
macro(_qt5_3DQuickAnimation_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DQuickAnimation\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DQuickAnimation_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DQuickAnimation APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuickAnimation_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DQuickAnimation_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DQuickAnimation PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DQuickAnimation_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DQuickAnimation.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DQuickAnimation_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DQuickAnimation)
|
||||||
|
|
||||||
|
set(_Qt53DQuickAnimation_OWN_INCLUDE_DIRS "${_qt53DQuickAnimation_install_prefix}/include/" "${_qt53DQuickAnimation_install_prefix}/include/Qt3DQuickAnimation")
|
||||||
|
set(Qt53DQuickAnimation_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DQuickAnimation_install_prefix}/include/Qt3DQuickAnimation/5.12.5"
|
||||||
|
"${_qt53DQuickAnimation_install_prefix}/include/Qt3DQuickAnimation/5.12.5/Qt3DQuickAnimation"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DQuickAnimation_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuickAnimation_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DQuickAnimation_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DQuickAnimation_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuickAnimation_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuickAnimation_INCLUDE_DIRS ${_Qt53DQuickAnimation_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DQuickAnimation_DEFINITIONS -DQT_3DQUICKANIMATION_LIB)
|
||||||
|
set(Qt53DQuickAnimation_COMPILE_DEFINITIONS QT_3DQUICKANIMATION_LIB)
|
||||||
|
set(_Qt53DQuickAnimation_MODULE_DEPENDENCIES "3DAnimation;3DRender;3DQuick;3DCore;Gui;Qml;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DQuickAnimation_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DQuickAnimation_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DQuickAnimation_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DQuickAnimation_FIND_REQUIRED)
|
||||||
|
set(_Qt53DQuickAnimation_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuickAnimation_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DQuickAnimation_FIND_QUIETLY)
|
||||||
|
set(_Qt53DQuickAnimation_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuickAnimation_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DQuickAnimation_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DQuickAnimation_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuickAnimation_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DQuickAnimation_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DQuickAnimation_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DQuickAnimation_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DQuickAnimation_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DQuickAnimation_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DQuickAnimation_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuickAnimation_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuickAnimation_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuickAnimation_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuickAnimation_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickAnimation_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickAnimation_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickAnimation_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickAnimation_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickAnimation_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DQuickAnimation_LIB_DEPENDENCIES "Qt5::3DAnimation;Qt5::3DRender;Qt5::3DQuick;Qt5::3DCore;Qt5::Gui;Qt5::Qml;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DQuickAnimation SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuickAnimation PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DQuickAnimation_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DQuickAnimation PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DQUICKANIMATION_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuickAnimation PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::3DQuickAnimation PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DQuickAnimation_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DQuickAnimation_PRIVATE_DIR ${Qt53DQuickAnimation_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DQuickAnimation_PRIVATE_DIR})
|
||||||
|
set(_Qt53DQuickAnimation_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DQuickAnimation_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DQuickAnimationPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DQuickAnimationPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DQuickAnimation_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DQuickAnimation_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DQuickAnimation_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DQuickAnimation_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DQuickAnimationPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DQuickAnimation ${_Qt53DQuickAnimation_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DQuickAnimation_target_properties(RELEASE "libQt53DQuickAnimation.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DQuickAnimation_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DQuickAnimation_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuickAnimation_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DQuickAnimation_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DQuickAnimation_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DQuickAnimationConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickExtras/Qt53DQuickExtrasConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickExtras/Qt53DQuickExtrasConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DQuickExtras module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DQuickExtras_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DQuickExtras_VERSION instead.
|
||||||
|
set(Qt53DQuickExtras_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DQuickExtras_LIBRARIES Qt5::3DQuickExtras)
|
||||||
|
|
||||||
|
macro(_qt5_3DQuickExtras_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DQuickExtras\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DQuickExtras_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DQuickExtras APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuickExtras_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DQuickExtras_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DQuickExtras PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DQuickExtras_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DQuickExtras.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DQuickExtras_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DQuickExtras)
|
||||||
|
|
||||||
|
set(_Qt53DQuickExtras_OWN_INCLUDE_DIRS "${_qt53DQuickExtras_install_prefix}/include/" "${_qt53DQuickExtras_install_prefix}/include/Qt3DQuickExtras")
|
||||||
|
set(Qt53DQuickExtras_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DQuickExtras_install_prefix}/include/Qt3DQuickExtras/5.12.5"
|
||||||
|
"${_qt53DQuickExtras_install_prefix}/include/Qt3DQuickExtras/5.12.5/Qt3DQuickExtras"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DQuickExtras_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuickExtras_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DQuickExtras_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DQuickExtras_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuickExtras_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuickExtras_INCLUDE_DIRS ${_Qt53DQuickExtras_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DQuickExtras_DEFINITIONS -DQT_3DQUICKEXTRAS_LIB)
|
||||||
|
set(Qt53DQuickExtras_COMPILE_DEFINITIONS QT_3DQUICKEXTRAS_LIB)
|
||||||
|
set(_Qt53DQuickExtras_MODULE_DEPENDENCIES "3DExtras;3DInput;3DQuick;3DRender;3DLogic;3DCore;Gui;Qml;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DQuickExtras_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DQuickExtras_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DQuickExtras_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DQuickExtras_FIND_REQUIRED)
|
||||||
|
set(_Qt53DQuickExtras_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuickExtras_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DQuickExtras_FIND_QUIETLY)
|
||||||
|
set(_Qt53DQuickExtras_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuickExtras_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DQuickExtras_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DQuickExtras_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuickExtras_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DQuickExtras_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DQuickExtras_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DQuickExtras_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DQuickExtras_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DQuickExtras_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DQuickExtras_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuickExtras_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuickExtras_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuickExtras_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuickExtras_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickExtras_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickExtras_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickExtras_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickExtras_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickExtras_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DQuickExtras_LIB_DEPENDENCIES "Qt5::3DExtras;Qt5::3DInput;Qt5::3DQuick;Qt5::3DRender;Qt5::3DLogic;Qt5::3DCore;Qt5::Gui;Qt5::Qml;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DQuickExtras SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuickExtras PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DQuickExtras_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DQuickExtras PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DQUICKEXTRAS_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuickExtras PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::3DQuickExtras PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DQuickExtras_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DQuickExtras_PRIVATE_DIR ${Qt53DQuickExtras_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DQuickExtras_PRIVATE_DIR})
|
||||||
|
set(_Qt53DQuickExtras_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DQuickExtras_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DQuickExtrasPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DQuickExtrasPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DQuickExtras_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DQuickExtras_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DQuickExtras_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DQuickExtras_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DQuickExtrasPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DQuickExtras ${_Qt53DQuickExtras_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DQuickExtras_target_properties(RELEASE "libQt53DQuickExtras.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DQuickExtras_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DQuickExtras_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuickExtras_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DQuickExtras_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DQuickExtras_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DQuickExtrasConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickExtras/Qt53DQuickExtrasConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickExtras/Qt53DQuickExtrasConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickInput/Qt53DQuickInputConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickInput/Qt53DQuickInputConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DQuickInput module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DQuickInput_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DQuickInput_VERSION instead.
|
||||||
|
set(Qt53DQuickInput_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DQuickInput_LIBRARIES Qt5::3DQuickInput)
|
||||||
|
|
||||||
|
macro(_qt5_3DQuickInput_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DQuickInput\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DQuickInput_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DQuickInput APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuickInput_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DQuickInput_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DQuickInput PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DQuickInput_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DQuickInput.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DQuickInput_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DQuickInput)
|
||||||
|
|
||||||
|
set(_Qt53DQuickInput_OWN_INCLUDE_DIRS "${_qt53DQuickInput_install_prefix}/include/" "${_qt53DQuickInput_install_prefix}/include/Qt3DQuickInput")
|
||||||
|
set(Qt53DQuickInput_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DQuickInput_install_prefix}/include/Qt3DQuickInput/5.12.5"
|
||||||
|
"${_qt53DQuickInput_install_prefix}/include/Qt3DQuickInput/5.12.5/Qt3DQuickInput"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DQuickInput_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuickInput_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DQuickInput_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DQuickInput_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuickInput_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuickInput_INCLUDE_DIRS ${_Qt53DQuickInput_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DQuickInput_DEFINITIONS -DQT_3DQUICKINPUT_LIB)
|
||||||
|
set(Qt53DQuickInput_COMPILE_DEFINITIONS QT_3DQUICKINPUT_LIB)
|
||||||
|
set(_Qt53DQuickInput_MODULE_DEPENDENCIES "3DInput;3DQuick;3DCore;Gui;Qml;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DQuickInput_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DQuickInput_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DQuickInput_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DQuickInput_FIND_REQUIRED)
|
||||||
|
set(_Qt53DQuickInput_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuickInput_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DQuickInput_FIND_QUIETLY)
|
||||||
|
set(_Qt53DQuickInput_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuickInput_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DQuickInput_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DQuickInput_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuickInput_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DQuickInput_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DQuickInput_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DQuickInput_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DQuickInput_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DQuickInput_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DQuickInput_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuickInput_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuickInput_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuickInput_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuickInput_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickInput_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickInput_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickInput_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickInput_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickInput_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DQuickInput_LIB_DEPENDENCIES "Qt5::3DInput;Qt5::3DQuick;Qt5::3DCore;Qt5::Gui;Qt5::Qml;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DQuickInput SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuickInput PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DQuickInput_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DQuickInput PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DQUICKINPUT_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuickInput PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::3DQuickInput PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DQuickInput_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DQuickInput_PRIVATE_DIR ${Qt53DQuickInput_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DQuickInput_PRIVATE_DIR})
|
||||||
|
set(_Qt53DQuickInput_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DQuickInput_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DQuickInputPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DQuickInputPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DQuickInput_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DQuickInput_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DQuickInput_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DQuickInput_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DQuickInputPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DQuickInput ${_Qt53DQuickInput_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DQuickInput_target_properties(RELEASE "libQt53DQuickInput.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DQuickInput_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DQuickInput_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuickInput_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DQuickInput_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DQuickInput_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DQuickInputConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickInput/Qt53DQuickInputConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickInput/Qt53DQuickInputConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickRender/Qt53DQuickRenderConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickRender/Qt53DQuickRenderConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DQuickRender module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DQuickRender_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DQuickRender_VERSION instead.
|
||||||
|
set(Qt53DQuickRender_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DQuickRender_LIBRARIES Qt5::3DQuickRender)
|
||||||
|
|
||||||
|
macro(_qt5_3DQuickRender_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DQuickRender\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DQuickRender_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DQuickRender APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuickRender_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DQuickRender_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DQuickRender PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DQuickRender_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DQuickRender.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DQuickRender_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DQuickRender)
|
||||||
|
|
||||||
|
set(_Qt53DQuickRender_OWN_INCLUDE_DIRS "${_qt53DQuickRender_install_prefix}/include/" "${_qt53DQuickRender_install_prefix}/include/Qt3DQuickRender")
|
||||||
|
set(Qt53DQuickRender_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DQuickRender_install_prefix}/include/Qt3DQuickRender/5.12.5"
|
||||||
|
"${_qt53DQuickRender_install_prefix}/include/Qt3DQuickRender/5.12.5/Qt3DQuickRender"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DQuickRender_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuickRender_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DQuickRender_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DQuickRender_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuickRender_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuickRender_INCLUDE_DIRS ${_Qt53DQuickRender_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DQuickRender_DEFINITIONS -DQT_3DQUICKRENDER_LIB)
|
||||||
|
set(Qt53DQuickRender_COMPILE_DEFINITIONS QT_3DQUICKRENDER_LIB)
|
||||||
|
set(_Qt53DQuickRender_MODULE_DEPENDENCIES "3DRender;3DQuick;3DCore;Gui;Qml;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DQuickRender_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DQuickRender_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DQuickRender_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DQuickRender_FIND_REQUIRED)
|
||||||
|
set(_Qt53DQuickRender_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuickRender_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DQuickRender_FIND_QUIETLY)
|
||||||
|
set(_Qt53DQuickRender_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuickRender_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DQuickRender_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DQuickRender_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuickRender_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DQuickRender_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DQuickRender_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DQuickRender_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DQuickRender_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DQuickRender_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DQuickRender_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuickRender_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuickRender_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuickRender_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuickRender_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickRender_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickRender_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickRender_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickRender_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickRender_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DQuickRender_LIB_DEPENDENCIES "Qt5::3DRender;Qt5::3DQuick;Qt5::3DCore;Qt5::Gui;Qt5::Qml;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DQuickRender SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuickRender PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DQuickRender_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DQuickRender PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DQUICKRENDER_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuickRender PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::3DQuickRender PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DQuickRender_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DQuickRender_PRIVATE_DIR ${Qt53DQuickRender_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DQuickRender_PRIVATE_DIR})
|
||||||
|
set(_Qt53DQuickRender_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DQuickRender_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DQuickRenderPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DQuickRenderPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DQuickRender_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DQuickRender_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DQuickRender_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DQuickRender_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DQuickRenderPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DQuickRender ${_Qt53DQuickRender_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DQuickRender_target_properties(RELEASE "libQt53DQuickRender.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DQuickRender_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DQuickRender_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuickRender_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DQuickRender_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DQuickRender_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DQuickRenderConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickRender/Qt53DQuickRenderConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickRender/Qt53DQuickRenderConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickScene2D/Qt53DQuickScene2DConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DQuickScene2D/Qt53DQuickScene2DConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DQuickScene2D module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DQuickScene2D_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DQuickScene2D_VERSION instead.
|
||||||
|
set(Qt53DQuickScene2D_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DQuickScene2D_LIBRARIES Qt5::3DQuickScene2D)
|
||||||
|
|
||||||
|
macro(_qt5_3DQuickScene2D_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DQuickScene2D\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DQuickScene2D_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DQuickScene2D APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuickScene2D_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DQuickScene2D_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DQuickScene2D PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DQuickScene2D_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DQuickScene2D.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DQuickScene2D_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DQuickScene2D)
|
||||||
|
|
||||||
|
set(_Qt53DQuickScene2D_OWN_INCLUDE_DIRS "${_qt53DQuickScene2D_install_prefix}/include/" "${_qt53DQuickScene2D_install_prefix}/include/Qt3DQuickScene2D")
|
||||||
|
set(Qt53DQuickScene2D_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DQuickScene2D_install_prefix}/include/Qt3DQuickScene2D/5.12.5"
|
||||||
|
"${_qt53DQuickScene2D_install_prefix}/include/Qt3DQuickScene2D/5.12.5/Qt3DQuickScene2D"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DQuickScene2D_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuickScene2D_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DQuickScene2D_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DQuickScene2D_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DQuickScene2D_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuickScene2D_INCLUDE_DIRS ${_Qt53DQuickScene2D_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DQuickScene2D_DEFINITIONS -DQT_3DQUICKSCENE2D_LIB)
|
||||||
|
set(Qt53DQuickScene2D_COMPILE_DEFINITIONS QT_3DQUICKSCENE2D_LIB)
|
||||||
|
set(_Qt53DQuickScene2D_MODULE_DEPENDENCIES "3DRender;3DQuick;3DCore;Gui;Qml;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DQuickScene2D_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DQuickScene2D_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DQuickScene2D_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DQuickScene2D_FIND_REQUIRED)
|
||||||
|
set(_Qt53DQuickScene2D_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuickScene2D_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DQuickScene2D_FIND_QUIETLY)
|
||||||
|
set(_Qt53DQuickScene2D_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DQuickScene2D_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DQuickScene2D_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DQuickScene2D_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DQuickScene2D_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DQuickScene2D_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DQuickScene2D_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DQuickScene2D_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DQuickScene2D_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DQuickScene2D_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DQuickScene2D_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuickScene2D_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DQuickScene2D_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuickScene2D_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DQuickScene2D_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickScene2D_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickScene2D_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickScene2D_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickScene2D_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DQuickScene2D_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DQuickScene2D_LIB_DEPENDENCIES "Qt5::3DRender;Qt5::3DQuick;Qt5::3DCore;Qt5::Gui;Qt5::Qml;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DQuickScene2D SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuickScene2D PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DQuickScene2D_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DQuickScene2D PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DQUICKSCENE2D_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DQuickScene2D PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::3DQuickScene2D PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DQuickScene2D_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DQuickScene2D_PRIVATE_DIR ${Qt53DQuickScene2D_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DQuickScene2D_PRIVATE_DIR})
|
||||||
|
set(_Qt53DQuickScene2D_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DQuickScene2D_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DQuickScene2DPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DQuickScene2DPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DQuickScene2D_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DQuickScene2D_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DQuickScene2D_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DQuickScene2D_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DQuickScene2DPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DQuickScene2D ${_Qt53DQuickScene2D_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DQuickScene2D_target_properties(RELEASE "libQt53DQuickScene2D.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DQuickScene2D_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DQuickScene2D_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DQuickScene2D_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DQuickScene2D_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DQuickScene2D_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DQuickScene2DConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DRender/Qt53DRenderConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DRender/Qt53DRenderConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 3DRender module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt53DRender_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt53DRender_VERSION instead.
|
||||||
|
set(Qt53DRender_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt53DRender_LIBRARIES Qt5::3DRender)
|
||||||
|
|
||||||
|
macro(_qt5_3DRender_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::3DRender\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_3DRender_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::3DRender APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DRender_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_3DRender_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::3DRender PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt53DRender_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt53DRender.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt53DRender_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::3DRender)
|
||||||
|
|
||||||
|
set(_Qt53DRender_OWN_INCLUDE_DIRS "${_qt53DRender_install_prefix}/include/" "${_qt53DRender_install_prefix}/include/Qt3DRender")
|
||||||
|
set(Qt53DRender_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt53DRender_install_prefix}/include/Qt3DRender/5.12.5"
|
||||||
|
"${_qt53DRender_install_prefix}/include/Qt3DRender/5.12.5/Qt3DRender"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt53DRender_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_3DRender_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt53DRender_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt53DRender_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_3DRender_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DRender_INCLUDE_DIRS ${_Qt53DRender_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt53DRender_DEFINITIONS -DQT_3DRENDER_LIB)
|
||||||
|
set(Qt53DRender_COMPILE_DEFINITIONS QT_3DRENDER_LIB)
|
||||||
|
set(_Qt53DRender_MODULE_DEPENDENCIES "3DCore;Gui;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt53DRender_OWN_PRIVATE_INCLUDE_DIRS ${Qt53DRender_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt53DRender_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt53DRender_FIND_REQUIRED)
|
||||||
|
set(_Qt53DRender_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DRender_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt53DRender_FIND_QUIETLY)
|
||||||
|
set(_Qt53DRender_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt53DRender_FIND_VERSION_EXACT)
|
||||||
|
if (Qt53DRender_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt53DRender_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt53DRender_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt53DRender_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt53DRender_FIND_VERSION_EXACT}
|
||||||
|
${_Qt53DRender_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt53DRender_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt53DRender_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt53DRender_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DRender_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt53DRender_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DRender_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt53DRender_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt53DRender_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DRender_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DRender_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DRender_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt53DRender_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt53DRender_LIB_DEPENDENCIES "Qt5::3DCore;Qt5::Gui;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::3DRender SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DRender PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt53DRender_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::3DRender PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_3DRENDER_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::3DRender PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::3DRender PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt53DRender_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt53DRender_PRIVATE_DIR ${Qt53DRender_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt53DRender_PRIVATE_DIR})
|
||||||
|
set(_Qt53DRender_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt53DRender_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::3DRenderPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::3DRenderPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt53DRender_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt53DRender_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt53DRender_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt53DRender_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::3DRenderPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::3DRender ${_Qt53DRender_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_3DRender_target_properties(RELEASE "libQt53DRender.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt53DRender_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_3DRender_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt53DRender_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_3DRender_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_3DRender_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt53DRenderConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DRender/Qt53DRenderConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DRender/Qt53DRenderConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::DefaultGeometryLoaderPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_3DRender_plugin_properties(DefaultGeometryLoaderPlugin RELEASE "geometryloaders/libdefaultgeometryloader.so")
|
||||||
|
|
||||||
|
list(APPEND Qt53DRender_PLUGINS Qt5::DefaultGeometryLoaderPlugin)
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::GLTFGeometryLoaderPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_3DRender_plugin_properties(GLTFGeometryLoaderPlugin RELEASE "geometryloaders/libgltfgeometryloader.so")
|
||||||
|
|
||||||
|
list(APPEND Qt53DRender_PLUGINS Qt5::GLTFGeometryLoaderPlugin)
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::GLTFSceneExportPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_3DRender_plugin_properties(GLTFSceneExportPlugin RELEASE "sceneparsers/libgltfsceneexport.so")
|
||||||
|
|
||||||
|
list(APPEND Qt53DRender_PLUGINS Qt5::GLTFSceneExportPlugin)
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::GLTFSceneImportPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_3DRender_plugin_properties(GLTFSceneImportPlugin RELEASE "sceneparsers/libgltfsceneimport.so")
|
||||||
|
|
||||||
|
list(APPEND Qt53DRender_PLUGINS Qt5::GLTFSceneImportPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DRender/Qt53DRender_Scene2DPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt53DRender/Qt53DRender_Scene2DPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::Scene2DPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_3DRender_plugin_properties(Scene2DPlugin RELEASE "renderplugins/libscene2d.so")
|
||||||
|
|
||||||
|
list(APPEND Qt53DRender_PLUGINS Qt5::Scene2DPlugin)
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Bluetooth/Qt5BluetoothConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Bluetooth/Qt5BluetoothConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 Bluetooth module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt5Bluetooth_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt5Bluetooth_VERSION instead.
|
||||||
|
set(Qt5Bluetooth_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt5Bluetooth_LIBRARIES Qt5::Bluetooth)
|
||||||
|
|
||||||
|
macro(_qt5_Bluetooth_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::Bluetooth\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_Bluetooth_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::Bluetooth APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Bluetooth_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_Bluetooth_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::Bluetooth PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt5Bluetooth_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt5Bluetooth.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt5Bluetooth_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::Bluetooth)
|
||||||
|
|
||||||
|
set(_Qt5Bluetooth_OWN_INCLUDE_DIRS "${_qt5Bluetooth_install_prefix}/include/" "${_qt5Bluetooth_install_prefix}/include/QtBluetooth")
|
||||||
|
set(Qt5Bluetooth_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt5Bluetooth_install_prefix}/include/QtBluetooth/5.12.5"
|
||||||
|
"${_qt5Bluetooth_install_prefix}/include/QtBluetooth/5.12.5/QtBluetooth"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt5Bluetooth_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_Bluetooth_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt5Bluetooth_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt5Bluetooth_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_Bluetooth_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Bluetooth_INCLUDE_DIRS ${_Qt5Bluetooth_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt5Bluetooth_DEFINITIONS -DQT_BLUETOOTH_LIB)
|
||||||
|
set(Qt5Bluetooth_COMPILE_DEFINITIONS QT_BLUETOOTH_LIB)
|
||||||
|
set(_Qt5Bluetooth_MODULE_DEPENDENCIES "Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt5Bluetooth_OWN_PRIVATE_INCLUDE_DIRS ${Qt5Bluetooth_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt5Bluetooth_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt5Bluetooth_FIND_REQUIRED)
|
||||||
|
set(_Qt5Bluetooth_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Bluetooth_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt5Bluetooth_FIND_QUIETLY)
|
||||||
|
set(_Qt5Bluetooth_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Bluetooth_FIND_VERSION_EXACT)
|
||||||
|
if (Qt5Bluetooth_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt5Bluetooth_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Bluetooth_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt5Bluetooth_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt5Bluetooth_FIND_VERSION_EXACT}
|
||||||
|
${_Qt5Bluetooth_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt5Bluetooth_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt5Bluetooth_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt5Bluetooth_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Bluetooth_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Bluetooth_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Bluetooth_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Bluetooth_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt5Bluetooth_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Bluetooth_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Bluetooth_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Bluetooth_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Bluetooth_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt5Bluetooth_LIB_DEPENDENCIES "Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::Bluetooth SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Bluetooth PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt5Bluetooth_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::Bluetooth PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_BLUETOOTH_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Bluetooth PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::Bluetooth PROPERTY INTERFACE_QT_DISABLED_FEATURES bluez)
|
||||||
|
|
||||||
|
set(_Qt5Bluetooth_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt5Bluetooth_PRIVATE_DIR ${Qt5Bluetooth_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt5Bluetooth_PRIVATE_DIR})
|
||||||
|
set(_Qt5Bluetooth_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt5Bluetooth_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::BluetoothPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::BluetoothPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt5Bluetooth_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt5Bluetooth_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt5Bluetooth_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt5Bluetooth_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::BluetoothPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::Bluetooth ${_Qt5Bluetooth_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_Bluetooth_target_properties(RELEASE "libQt5Bluetooth.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5Bluetooth_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_Bluetooth_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Bluetooth_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_Bluetooth_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_Bluetooth_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5BluetoothConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Bluetooth/Qt5BluetoothConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Bluetooth/Qt5BluetoothConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Charts/Qt5ChartsConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Charts/Qt5ChartsConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 Charts module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt5Charts_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt5Charts_VERSION instead.
|
||||||
|
set(Qt5Charts_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt5Charts_LIBRARIES Qt5::Charts)
|
||||||
|
|
||||||
|
macro(_qt5_Charts_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::Charts\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_Charts_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::Charts APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Charts_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_Charts_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::Charts PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt5Charts_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt5Charts.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt5Charts_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::Charts)
|
||||||
|
|
||||||
|
set(_Qt5Charts_OWN_INCLUDE_DIRS "${_qt5Charts_install_prefix}/include/" "${_qt5Charts_install_prefix}/include/QtCharts")
|
||||||
|
set(Qt5Charts_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt5Charts_install_prefix}/include/QtCharts/5.12.5"
|
||||||
|
"${_qt5Charts_install_prefix}/include/QtCharts/5.12.5/QtCharts"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt5Charts_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_Charts_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt5Charts_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt5Charts_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_Charts_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Charts_INCLUDE_DIRS ${_Qt5Charts_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt5Charts_DEFINITIONS -DQT_CHARTS_LIB)
|
||||||
|
set(Qt5Charts_COMPILE_DEFINITIONS QT_CHARTS_LIB)
|
||||||
|
set(_Qt5Charts_MODULE_DEPENDENCIES "Widgets;Gui;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt5Charts_OWN_PRIVATE_INCLUDE_DIRS ${Qt5Charts_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt5Charts_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt5Charts_FIND_REQUIRED)
|
||||||
|
set(_Qt5Charts_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Charts_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt5Charts_FIND_QUIETLY)
|
||||||
|
set(_Qt5Charts_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Charts_FIND_VERSION_EXACT)
|
||||||
|
if (Qt5Charts_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt5Charts_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Charts_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt5Charts_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt5Charts_FIND_VERSION_EXACT}
|
||||||
|
${_Qt5Charts_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt5Charts_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt5Charts_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt5Charts_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Charts_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Charts_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Charts_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Charts_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt5Charts_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Charts_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Charts_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Charts_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Charts_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt5Charts_LIB_DEPENDENCIES "Qt5::Widgets;Qt5::Gui;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::Charts SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Charts PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt5Charts_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::Charts PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_CHARTS_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Charts PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::Charts PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt5Charts_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt5Charts_PRIVATE_DIR ${Qt5Charts_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt5Charts_PRIVATE_DIR})
|
||||||
|
set(_Qt5Charts_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt5Charts_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::ChartsPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::ChartsPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt5Charts_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt5Charts_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt5Charts_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt5Charts_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::ChartsPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::Charts ${_Qt5Charts_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_Charts_target_properties(RELEASE "libQt5Charts.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5Charts_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_Charts_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Charts_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_Charts_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_Charts_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5ChartsConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Charts/Qt5ChartsConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Charts/Qt5ChartsConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
175
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Concurrent/Qt5ConcurrentConfig.cmake
vendored
Normal file
175
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Concurrent/Qt5ConcurrentConfig.cmake
vendored
Normal file
|
@ -0,0 +1,175 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 Concurrent module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt5Concurrent_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt5Concurrent_VERSION instead.
|
||||||
|
set(Qt5Concurrent_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt5Concurrent_LIBRARIES Qt5::Concurrent)
|
||||||
|
|
||||||
|
macro(_qt5_Concurrent_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::Concurrent\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_Concurrent_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::Concurrent APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Concurrent_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_Concurrent_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::Concurrent PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt5Concurrent_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt5Concurrent.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt5Concurrent_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::Concurrent)
|
||||||
|
|
||||||
|
set(_Qt5Concurrent_OWN_INCLUDE_DIRS "${_qt5Concurrent_install_prefix}/include/" "${_qt5Concurrent_install_prefix}/include/QtConcurrent")
|
||||||
|
set(Qt5Concurrent_PRIVATE_INCLUDE_DIRS "")
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt5Concurrent_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_Concurrent_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt5Concurrent_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt5Concurrent_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_Concurrent_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Concurrent_INCLUDE_DIRS ${_Qt5Concurrent_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt5Concurrent_DEFINITIONS -DQT_CONCURRENT_LIB)
|
||||||
|
set(Qt5Concurrent_COMPILE_DEFINITIONS QT_CONCURRENT_LIB)
|
||||||
|
set(_Qt5Concurrent_MODULE_DEPENDENCIES "Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt5Concurrent_OWN_PRIVATE_INCLUDE_DIRS ${Qt5Concurrent_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt5Concurrent_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt5Concurrent_FIND_REQUIRED)
|
||||||
|
set(_Qt5Concurrent_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Concurrent_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt5Concurrent_FIND_QUIETLY)
|
||||||
|
set(_Qt5Concurrent_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Concurrent_FIND_VERSION_EXACT)
|
||||||
|
if (Qt5Concurrent_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt5Concurrent_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Concurrent_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt5Concurrent_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt5Concurrent_FIND_VERSION_EXACT}
|
||||||
|
${_Qt5Concurrent_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt5Concurrent_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt5Concurrent_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt5Concurrent_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Concurrent_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Concurrent_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Concurrent_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Concurrent_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt5Concurrent_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Concurrent_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Concurrent_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Concurrent_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Concurrent_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt5Concurrent_LIB_DEPENDENCIES "Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::Concurrent SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Concurrent PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt5Concurrent_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::Concurrent PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_CONCURRENT_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Concurrent PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::Concurrent PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt5Concurrent_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt5Concurrent_PRIVATE_DIR ${Qt5Concurrent_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt5Concurrent_PRIVATE_DIR})
|
||||||
|
set(_Qt5Concurrent_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt5Concurrent_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::ConcurrentPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::ConcurrentPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt5Concurrent_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt5Concurrent_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt5Concurrent_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt5Concurrent_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::ConcurrentPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::Concurrent ${_Qt5Concurrent_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_Concurrent_target_properties(RELEASE "libQt5Concurrent.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5Concurrent_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_Concurrent_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Concurrent_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_Concurrent_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_Concurrent_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5ConcurrentConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Concurrent/Qt5ConcurrentConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Concurrent/Qt5ConcurrentConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
243
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CTestMacros.cmake
vendored
Normal file
243
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CTestMacros.cmake
vendored
Normal file
|
@ -0,0 +1,243 @@
|
||||||
|
#
|
||||||
|
# W A R N I N G
|
||||||
|
# -------------
|
||||||
|
#
|
||||||
|
# This file is not part of the Qt API. It exists purely as an
|
||||||
|
# implementation detail. This file, and its contents may change from version to
|
||||||
|
# version without notice, or even be removed.
|
||||||
|
#
|
||||||
|
# We mean it.
|
||||||
|
|
||||||
|
message("CMAKE_VERSION: ${CMAKE_VERSION}")
|
||||||
|
message("CMAKE_PREFIX_PATH: ${CMAKE_PREFIX_PATH}")
|
||||||
|
message("CMAKE_MODULES_UNDER_TEST: ${CMAKE_MODULES_UNDER_TEST}")
|
||||||
|
foreach(_mod ${CMAKE_MODULES_UNDER_TEST})
|
||||||
|
message("CMAKE_${_mod}_MODULE_MAJOR_VERSION: ${CMAKE_${_mod}_MODULE_MAJOR_VERSION}")
|
||||||
|
message("CMAKE_${_mod}_MODULE_MINOR_VERSION: ${CMAKE_${_mod}_MODULE_MINOR_VERSION}")
|
||||||
|
message("CMAKE_${_mod}_MODULE_PATCH_VERSION: ${CMAKE_${_mod}_MODULE_PATCH_VERSION}")
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
set(BUILD_OPTIONS_LIST)
|
||||||
|
|
||||||
|
if (CMAKE_C_COMPILER)
|
||||||
|
list(APPEND BUILD_OPTIONS_LIST "-DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (CMAKE_CXX_COMPILER)
|
||||||
|
list(APPEND BUILD_OPTIONS_LIST "-DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (CMAKE_BUILD_TYPE)
|
||||||
|
list(APPEND BUILD_OPTIONS_LIST "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (CMAKE_TOOLCHAIN_FILE)
|
||||||
|
list(APPEND BUILD_OPTIONS_LIST "-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (CMAKE_VERBOSE_MAKEFILE)
|
||||||
|
list(APPEND BUILD_OPTIONS_LIST "-DCMAKE_VERBOSE_MAKEFILE=1")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NO_GUI)
|
||||||
|
list(APPEND BUILD_OPTIONS_LIST "-DNO_GUI=True")
|
||||||
|
endif()
|
||||||
|
if (NO_WIDGETS)
|
||||||
|
list(APPEND BUILD_OPTIONS_LIST "-DNO_WIDGETS=True")
|
||||||
|
endif()
|
||||||
|
if (NO_DBUS)
|
||||||
|
list(APPEND BUILD_OPTIONS_LIST "-DNO_DBUS=True")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Qt requires C++11 features in header files, which means
|
||||||
|
# the buildsystem needs to add a -std flag for certain compilers
|
||||||
|
# CMake adds the flag automatically in most cases, but notably not
|
||||||
|
# on Windows prior to CMake 3.3
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.3)
|
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL AppleClang
|
||||||
|
OR (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang))
|
||||||
|
list(APPEND BUILD_OPTIONS_LIST "-DCMAKE_CXX_FLAGS=-std=gnu++0x -stdlib=libc++")
|
||||||
|
elseif (CMAKE_CXX_COMPILER_ID STREQUAL GNU
|
||||||
|
OR CMAKE_CXX_COMPILER_ID STREQUAL Clang)
|
||||||
|
list(APPEND BUILD_OPTIONS_LIST "-DCMAKE_CXX_FLAGS=-std=gnu++0x")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
foreach(module ${CMAKE_MODULES_UNDER_TEST})
|
||||||
|
list(APPEND BUILD_OPTIONS_LIST
|
||||||
|
"-DCMAKE_${module}_MODULE_MAJOR_VERSION=${CMAKE_${module}_MODULE_MAJOR_VERSION}"
|
||||||
|
"-DCMAKE_${module}_MODULE_MINOR_VERSION=${CMAKE_${module}_MODULE_MINOR_VERSION}"
|
||||||
|
"-DCMAKE_${module}_MODULE_PATCH_VERSION=${CMAKE_${module}_MODULE_PATCH_VERSION}"
|
||||||
|
)
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
macro(expect_pass _dir)
|
||||||
|
cmake_parse_arguments(_ARGS "" "BINARY" "" ${ARGN})
|
||||||
|
string(REPLACE "(" "_" testname "${_dir}")
|
||||||
|
string(REPLACE ")" "_" testname "${testname}")
|
||||||
|
add_test(${testname} ${CMAKE_CTEST_COMMAND}
|
||||||
|
--build-and-test
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/${_dir}"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/${_dir}"
|
||||||
|
--build-config "${CMAKE_BUILD_TYPE}"
|
||||||
|
--build-generator ${CMAKE_GENERATOR}
|
||||||
|
--build-makeprogram ${CMAKE_MAKE_PROGRAM}
|
||||||
|
--build-project ${_dir}
|
||||||
|
--build-options "-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}" ${BUILD_OPTIONS_LIST}
|
||||||
|
--test-command ${_ARGS_BINARY}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(expect_fail _dir)
|
||||||
|
string(REPLACE "(" "_" testname "${_dir}")
|
||||||
|
string(REPLACE ")" "_" testname "${testname}")
|
||||||
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/failbuild/${_dir}")
|
||||||
|
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/${_dir}" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/failbuild/${_dir}")
|
||||||
|
|
||||||
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/failbuild/${_dir}/${_dir}/FindPackageHints.cmake" "set(Qt5Tests_PREFIX_PATH \"${CMAKE_PREFIX_PATH}\")")
|
||||||
|
|
||||||
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/failbuild/${_dir}/CMakeLists.txt"
|
||||||
|
"
|
||||||
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
project(${_dir})
|
||||||
|
|
||||||
|
try_compile(Result \${CMAKE_CURRENT_BINARY_DIR}/${_dir}
|
||||||
|
\${CMAKE_CURRENT_SOURCE_DIR}/${_dir}
|
||||||
|
${_dir}
|
||||||
|
OUTPUT_VARIABLE Out
|
||||||
|
)
|
||||||
|
message(\"\${Out}\")
|
||||||
|
if (Result)
|
||||||
|
message(SEND_ERROR \"Succeeded build which should fail\")
|
||||||
|
endif()
|
||||||
|
"
|
||||||
|
)
|
||||||
|
add_test(${testname} ${CMAKE_CTEST_COMMAND}
|
||||||
|
--build-and-test
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/failbuild/${_dir}"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/failbuild/${_dir}/build"
|
||||||
|
--build-config "${CMAKE_BUILD_TYPE}"
|
||||||
|
--build-generator ${CMAKE_GENERATOR}
|
||||||
|
--build-makeprogram ${CMAKE_MAKE_PROGRAM}
|
||||||
|
--build-project ${_dir}
|
||||||
|
--build-options "-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}" ${BUILD_OPTIONS_LIST}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
function(test_module_includes)
|
||||||
|
|
||||||
|
set(all_args ${ARGN})
|
||||||
|
set(packages_string "")
|
||||||
|
set(libraries_string "")
|
||||||
|
|
||||||
|
foreach(_package ${Qt5_MODULE_TEST_DEPENDS})
|
||||||
|
set(packages_string
|
||||||
|
"
|
||||||
|
${packages_string}
|
||||||
|
find_package(Qt5${_package} 5.0.0 REQUIRED)
|
||||||
|
"
|
||||||
|
)
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
while(all_args)
|
||||||
|
list(GET all_args 0 qtmodule)
|
||||||
|
list(REMOVE_AT all_args 0 1)
|
||||||
|
|
||||||
|
set(CMAKE_MODULE_VERSION ${CMAKE_${qtmodule}_MODULE_MAJOR_VERSION}.${CMAKE_${qtmodule}_MODULE_MINOR_VERSION}.${CMAKE_${qtmodule}_MODULE_PATCH_VERSION} )
|
||||||
|
|
||||||
|
set(packages_string
|
||||||
|
"${packages_string}
|
||||||
|
find_package(Qt5${qtmodule} 5.0.0 REQUIRED)
|
||||||
|
include_directories(\${Qt5${qtmodule}_INCLUDE_DIRS})
|
||||||
|
add_definitions(\${Qt5${qtmodule}_DEFINITIONS})\n")
|
||||||
|
|
||||||
|
list(FIND CMAKE_MODULES_UNDER_TEST ${qtmodule} _findIndex)
|
||||||
|
if (NOT _findIndex STREQUAL -1)
|
||||||
|
set(packages_string
|
||||||
|
"${packages_string}
|
||||||
|
if(NOT \"\${Qt5${qtmodule}_VERSION}\" VERSION_EQUAL ${CMAKE_MODULE_VERSION})
|
||||||
|
message(SEND_ERROR \"Qt5${qtmodule}_VERSION variable was not ${CMAKE_MODULE_VERSION}. Got \${Qt5${qtmodule}_VERSION} instead.\")
|
||||||
|
endif()
|
||||||
|
if(NOT \"\${Qt5${qtmodule}_VERSION_MAJOR}\" VERSION_EQUAL ${CMAKE_${qtmodule}_MODULE_MAJOR_VERSION})
|
||||||
|
message(SEND_ERROR \"Qt5${qtmodule}_VERSION_MAJOR variable was not ${CMAKE_${qtmodule}_MODULE_MAJOR_VERSION}. Got \${Qt5${qtmodule}_VERSION_MAJOR} instead.\")
|
||||||
|
endif()
|
||||||
|
if(NOT \"\${Qt5${qtmodule}_VERSION_MINOR}\" VERSION_EQUAL ${CMAKE_${qtmodule}_MODULE_MINOR_VERSION})
|
||||||
|
message(SEND_ERROR \"Qt5${qtmodule}_VERSION_MINOR variable was not ${CMAKE_${qtmodule}_MODULE_MINOR_VERSION}. Got \${Qt5${qtmodule}_VERSION_MINOR} instead.\")
|
||||||
|
endif()
|
||||||
|
if(NOT \"\${Qt5${qtmodule}_VERSION_PATCH}\" VERSION_EQUAL ${CMAKE_${qtmodule}_MODULE_PATCH_VERSION})
|
||||||
|
message(SEND_ERROR \"Qt5${qtmodule}_VERSION_PATCH variable was not ${CMAKE_${qtmodule}_MODULE_PATCH_VERSION}. Got \${Qt5${qtmodule}_VERSION_PATCH} instead.\")
|
||||||
|
endif()
|
||||||
|
if(NOT \"\${Qt5${qtmodule}_VERSION_STRING}\" VERSION_EQUAL ${CMAKE_MODULE_VERSION})
|
||||||
|
message(SEND_ERROR \"Qt5${qtmodule}_VERSION_STRING variable was not ${CMAKE_MODULE_VERSION}. Got \${Qt5${qtmodule}_VERSION_STRING} instead.\")
|
||||||
|
endif()\n"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
set(libraries_string "${libraries_string} Qt5::${qtmodule}")
|
||||||
|
endwhile()
|
||||||
|
|
||||||
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/module_includes/CMakeLists.txt"
|
||||||
|
"
|
||||||
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
project(module_includes)
|
||||||
|
|
||||||
|
${packages_string}
|
||||||
|
|
||||||
|
set(CMAKE_CXX_FLAGS \"\${CMAKE_CXX_FLAGS} \${Qt5Core_EXECUTABLE_COMPILE_FLAGS}\")
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.3)
|
||||||
|
if (CMAKE_CXX_COMPILER_ID STREQUAL AppleClang
|
||||||
|
OR (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang))
|
||||||
|
set(CMAKE_CXX_FLAGS \"\${CMAKE_CXX_FLAGS} -std=gnu++0x -stdlib=libc++\")
|
||||||
|
elseif (CMAKE_CXX_COMPILER_ID STREQUAL GNU
|
||||||
|
OR CMAKE_CXX_COMPILER_ID STREQUAL Clang)
|
||||||
|
set(CMAKE_CXX_FLAGS \"\${CMAKE_CXX_FLAGS} -std=gnu++0x\")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
add_executable(module_includes_exe \"\${CMAKE_CURRENT_SOURCE_DIR}/main.cpp\")
|
||||||
|
target_link_libraries(module_includes_exe ${libraries_string})\n"
|
||||||
|
)
|
||||||
|
|
||||||
|
set(all_args ${ARGN})
|
||||||
|
set(includes_string "")
|
||||||
|
set(instances_string "")
|
||||||
|
while(all_args)
|
||||||
|
list(GET all_args 0 qtmodule)
|
||||||
|
list(GET all_args 1 qtclass)
|
||||||
|
if (${qtclass}_NAMESPACE)
|
||||||
|
set(qtinstancetype ${${qtclass}_NAMESPACE}::${qtclass})
|
||||||
|
else()
|
||||||
|
set(qtinstancetype ${qtclass})
|
||||||
|
endif()
|
||||||
|
list(REMOVE_AT all_args 0 1)
|
||||||
|
set(includes_string
|
||||||
|
"${includes_string}
|
||||||
|
#include <${qtclass}>
|
||||||
|
#include <Qt${qtmodule}/${qtclass}>
|
||||||
|
#include <Qt${qtmodule}>
|
||||||
|
#include <Qt${qtmodule}/Qt${qtmodule}>"
|
||||||
|
)
|
||||||
|
set(instances_string
|
||||||
|
"${instances_string}
|
||||||
|
${qtinstancetype} local${qtclass};
|
||||||
|
")
|
||||||
|
endwhile()
|
||||||
|
|
||||||
|
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/module_includes/main.cpp"
|
||||||
|
"
|
||||||
|
|
||||||
|
${includes_string}
|
||||||
|
|
||||||
|
int main(int, char **) { ${instances_string} return 0; }\n"
|
||||||
|
)
|
||||||
|
|
||||||
|
add_test(module_includes ${CMAKE_CTEST_COMMAND}
|
||||||
|
--build-and-test
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/module_includes/"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/module_includes/build"
|
||||||
|
--build-config "${CMAKE_BUILD_TYPE}"
|
||||||
|
--build-generator ${CMAKE_GENERATOR}
|
||||||
|
--build-makeprogram ${CMAKE_MAKE_PROGRAM}
|
||||||
|
--build-project module_includes
|
||||||
|
--build-options "-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}" ${BUILD_OPTIONS_LIST}
|
||||||
|
)
|
||||||
|
endfunction()
|
180
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CoreConfig.cmake
vendored
Normal file
180
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CoreConfig.cmake
vendored
Normal file
|
@ -0,0 +1,180 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 Core module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt5Core_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt5Core_VERSION instead.
|
||||||
|
set(Qt5Core_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt5Core_LIBRARIES Qt5::Core)
|
||||||
|
|
||||||
|
macro(_qt5_Core_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::Core\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_Core_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::Core APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Core_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_Core_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::Core PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt5Core_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt5Core.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt5Core_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::Core)
|
||||||
|
|
||||||
|
set(_Qt5Core_OWN_INCLUDE_DIRS "${_qt5Core_install_prefix}/include/" "${_qt5Core_install_prefix}/include/QtCore")
|
||||||
|
set(Qt5Core_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt5Core_install_prefix}/include/QtCore/5.12.5"
|
||||||
|
"${_qt5Core_install_prefix}/include/QtCore/5.12.5/QtCore"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt5Core_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_Core_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt5Core_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt5Core_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_Core_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Core_INCLUDE_DIRS ${_Qt5Core_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt5Core_DEFINITIONS -DQT_CORE_LIB)
|
||||||
|
set(Qt5Core_COMPILE_DEFINITIONS QT_CORE_LIB)
|
||||||
|
set(_Qt5Core_MODULE_DEPENDENCIES "")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt5Core_OWN_PRIVATE_INCLUDE_DIRS ${Qt5Core_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt5Core_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt5Core_FIND_REQUIRED)
|
||||||
|
set(_Qt5Core_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Core_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt5Core_FIND_QUIETLY)
|
||||||
|
set(_Qt5Core_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Core_FIND_VERSION_EXACT)
|
||||||
|
if (Qt5Core_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt5Core_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Core_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt5Core_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt5Core_FIND_VERSION_EXACT}
|
||||||
|
${_Qt5Core_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt5Core_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt5Core_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt5Core_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Core_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Core_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Core_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Core_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt5Core_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Core_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Core_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Core_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Core_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt5Core_LIB_DEPENDENCIES "")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::Core SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Core PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt5Core_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::Core PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_CORE_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Core PROPERTY INTERFACE_QT_ENABLED_FEATURES properties;animation;textcodec;big_codecs;codecs;commandlineparser;cxx11_future;textdate;datestring;filesystemiterator;filesystemwatcher;gestures;itemmodel;proxymodel;identityproxymodel;library;mimetype;processenvironment;process;statemachine;qeventtransition;regularexpression;settings;sharedmemory;sortfilterproxymodel;std-atomic64;stringlistmodel;systemsemaphore;temporaryfile;timezone;topleveldomain;translation;xmlstream;xmlstreamreader;xmlstreamwriter)
|
||||||
|
set_property(TARGET Qt5::Core PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt5Core_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt5Core_PRIVATE_DIR ${Qt5Core_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt5Core_PRIVATE_DIR})
|
||||||
|
set(_Qt5Core_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt5Core_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::CorePrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::CorePrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt5Core_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt5Core_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt5Core_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt5Core_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::CorePrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::Core ${_Qt5Core_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_Core_target_properties(RELEASE "libQt5Core.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5Core_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_Core_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Core_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_Core_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/Qt5CoreConfigExtras.cmake")
|
||||||
|
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/Qt5CoreMacros.cmake")
|
||||||
|
|
||||||
|
_qt5_Core_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5CoreConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
88
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake
vendored
Normal file
88
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CoreConfigExtras.cmake
vendored
Normal file
|
@ -0,0 +1,88 @@
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::qmake)
|
||||||
|
add_executable(Qt5::qmake IMPORTED)
|
||||||
|
|
||||||
|
set(imported_location "/home/dorian/raspi/qt5/bin/qmake")
|
||||||
|
_qt5_Core_check_file_exists(${imported_location})
|
||||||
|
|
||||||
|
set_target_properties(Qt5::qmake PROPERTIES
|
||||||
|
IMPORTED_LOCATION ${imported_location}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::moc)
|
||||||
|
add_executable(Qt5::moc IMPORTED)
|
||||||
|
|
||||||
|
set(imported_location "/home/dorian/raspi/qt5/bin/moc")
|
||||||
|
_qt5_Core_check_file_exists(${imported_location})
|
||||||
|
|
||||||
|
set_target_properties(Qt5::moc PROPERTIES
|
||||||
|
IMPORTED_LOCATION ${imported_location}
|
||||||
|
)
|
||||||
|
# For CMake automoc feature
|
||||||
|
get_target_property(QT_MOC_EXECUTABLE Qt5::moc LOCATION)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::rcc)
|
||||||
|
add_executable(Qt5::rcc IMPORTED)
|
||||||
|
|
||||||
|
set(imported_location "/home/dorian/raspi/qt5/bin/rcc")
|
||||||
|
_qt5_Core_check_file_exists(${imported_location})
|
||||||
|
|
||||||
|
set_target_properties(Qt5::rcc PROPERTIES
|
||||||
|
IMPORTED_LOCATION ${imported_location}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Core_QMAKE_EXECUTABLE Qt5::qmake)
|
||||||
|
set(Qt5Core_MOC_EXECUTABLE Qt5::moc)
|
||||||
|
set(Qt5Core_RCC_EXECUTABLE Qt5::rcc)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Core PROPERTY INTERFACE_QT_MAJOR_VERSION 5)
|
||||||
|
set_property(TARGET Qt5::Core PROPERTY INTERFACE_QT_COORD_TYPE double)
|
||||||
|
set_property(TARGET Qt5::Core APPEND PROPERTY
|
||||||
|
COMPATIBLE_INTERFACE_STRING QT_MAJOR_VERSION QT_COORD_TYPE
|
||||||
|
)
|
||||||
|
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/Qt5CoreConfigExtrasMkspecDir.cmake")
|
||||||
|
|
||||||
|
foreach(_dir ${_qt5_corelib_extra_includes})
|
||||||
|
_qt5_Core_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
list(APPEND Qt5Core_INCLUDE_DIRS ${_qt5_corelib_extra_includes})
|
||||||
|
set_property(TARGET Qt5::Core APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${_qt5_corelib_extra_includes})
|
||||||
|
set(_qt5_corelib_extra_includes)
|
||||||
|
|
||||||
|
# Targets using Qt need to use the POSITION_INDEPENDENT_CODE property. The
|
||||||
|
# Qt5_POSITION_INDEPENDENT_CODE variable is used in the # qt5_use_module
|
||||||
|
# macro to add it.
|
||||||
|
set(Qt5_POSITION_INDEPENDENT_CODE True)
|
||||||
|
|
||||||
|
# On x86 and x86-64 systems with ELF binaries (especially Linux), due to
|
||||||
|
# a new optimization in GCC 5.x in combination with a recent version of
|
||||||
|
# GNU binutils, compiling Qt applications with -fPIE is no longer
|
||||||
|
# enough.
|
||||||
|
# Applications now need to be compiled with the -fPIC option if the Qt option
|
||||||
|
# "reduce relocations" is active. For backward compatibility only, Qt accepts
|
||||||
|
# the use of -fPIE for GCC 4.x versions.
|
||||||
|
set_property(TARGET Qt5::Core APPEND PROPERTY INTERFACE_COMPILE_OPTIONS -fPIC)
|
||||||
|
|
||||||
|
# TODO Qt6: Remove
|
||||||
|
set(Qt5Core_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Core APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS $<$<NOT:$<CONFIG:Debug>>:QT_NO_DEBUG>)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Core PROPERTY INTERFACE_COMPILE_FEATURES cxx_decltype)
|
||||||
|
|
||||||
|
set(QT_VISIBILITY_AVAILABLE "True")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
get_filename_component(_Qt5CoreConfigDir ${CMAKE_CURRENT_LIST_FILE} PATH)
|
||||||
|
|
||||||
|
set(_Qt5CTestMacros "${_Qt5CoreConfigDir}/Qt5CTestMacros.cmake")
|
||||||
|
|
||||||
|
_qt5_Core_check_file_exists(${_Qt5CTestMacros})
|
2
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake
vendored
Normal file
2
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
set(_qt5_corelib_extra_includes "${_qt5Core_install_prefix}/../qt5//mkspecs/devices/linux-rasp-pi-g++")
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CoreConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CoreConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
395
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CoreMacros.cmake
vendored
Normal file
395
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Core/Qt5CoreMacros.cmake
vendored
Normal file
|
@ -0,0 +1,395 @@
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2005-2011 Kitware, Inc.
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions
|
||||||
|
# are met:
|
||||||
|
#
|
||||||
|
# * Redistributions of source code must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
#
|
||||||
|
# * Redistributions in binary form must reproduce the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer in the
|
||||||
|
# documentation and/or other materials provided with the distribution.
|
||||||
|
#
|
||||||
|
# * Neither the name of Kitware, Inc. nor the names of its
|
||||||
|
# contributors may be used to endorse or promote products derived
|
||||||
|
# from this software without specific prior written permission.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
# "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 COPYRIGHT
|
||||||
|
# HOLDER OR CONTRIBUTORS 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.
|
||||||
|
#=============================================================================
|
||||||
|
|
||||||
|
######################################
|
||||||
|
#
|
||||||
|
# Macros for building Qt files
|
||||||
|
#
|
||||||
|
######################################
|
||||||
|
|
||||||
|
include(CMakeParseArguments)
|
||||||
|
|
||||||
|
# macro used to create the names of output files preserving relative dirs
|
||||||
|
macro(QT5_MAKE_OUTPUT_FILE infile prefix ext outfile )
|
||||||
|
string(LENGTH ${CMAKE_CURRENT_BINARY_DIR} _binlength)
|
||||||
|
string(LENGTH ${infile} _infileLength)
|
||||||
|
set(_checkinfile ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
if(_infileLength GREATER _binlength)
|
||||||
|
string(SUBSTRING "${infile}" 0 ${_binlength} _checkinfile)
|
||||||
|
if(_checkinfile STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
|
||||||
|
file(RELATIVE_PATH rel ${CMAKE_CURRENT_BINARY_DIR} ${infile})
|
||||||
|
else()
|
||||||
|
file(RELATIVE_PATH rel ${CMAKE_CURRENT_SOURCE_DIR} ${infile})
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
file(RELATIVE_PATH rel ${CMAKE_CURRENT_SOURCE_DIR} ${infile})
|
||||||
|
endif()
|
||||||
|
if(WIN32 AND rel MATCHES "^([a-zA-Z]):(.*)$") # absolute path
|
||||||
|
set(rel "${CMAKE_MATCH_1}_${CMAKE_MATCH_2}")
|
||||||
|
endif()
|
||||||
|
set(_outfile "${CMAKE_CURRENT_BINARY_DIR}/${rel}")
|
||||||
|
string(REPLACE ".." "__" _outfile ${_outfile})
|
||||||
|
get_filename_component(outpath ${_outfile} PATH)
|
||||||
|
get_filename_component(_outfile ${_outfile} NAME_WE)
|
||||||
|
file(MAKE_DIRECTORY ${outpath})
|
||||||
|
set(${outfile} ${outpath}/${prefix}${_outfile}.${ext})
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
|
||||||
|
macro(QT5_GET_MOC_FLAGS _moc_flags)
|
||||||
|
set(${_moc_flags})
|
||||||
|
get_directory_property(_inc_DIRS INCLUDE_DIRECTORIES)
|
||||||
|
|
||||||
|
if(CMAKE_INCLUDE_CURRENT_DIR)
|
||||||
|
list(APPEND _inc_DIRS ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
foreach(_current ${_inc_DIRS})
|
||||||
|
if("${_current}" MATCHES "\\.framework/?$")
|
||||||
|
string(REGEX REPLACE "/[^/]+\\.framework" "" framework_path "${_current}")
|
||||||
|
set(${_moc_flags} ${${_moc_flags}} "-F${framework_path}")
|
||||||
|
else()
|
||||||
|
set(${_moc_flags} ${${_moc_flags}} "-I${_current}")
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
get_directory_property(_defines COMPILE_DEFINITIONS)
|
||||||
|
foreach(_current ${_defines})
|
||||||
|
set(${_moc_flags} ${${_moc_flags}} "-D${_current}")
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
set(${_moc_flags} ${${_moc_flags}} -DWIN32)
|
||||||
|
endif()
|
||||||
|
if (MSVC)
|
||||||
|
set(${_moc_flags} ${${_moc_flags}} --compiler-flavor=msvc)
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
|
||||||
|
# helper macro to set up a moc rule
|
||||||
|
function(QT5_CREATE_MOC_COMMAND infile outfile moc_flags moc_options moc_target moc_depends)
|
||||||
|
# Pass the parameters in a file. Set the working directory to
|
||||||
|
# be that containing the parameters file and reference it by
|
||||||
|
# just the file name. This is necessary because the moc tool on
|
||||||
|
# MinGW builds does not seem to handle spaces in the path to the
|
||||||
|
# file given with the @ syntax.
|
||||||
|
get_filename_component(_moc_outfile_name "${outfile}" NAME)
|
||||||
|
get_filename_component(_moc_outfile_dir "${outfile}" PATH)
|
||||||
|
if(_moc_outfile_dir)
|
||||||
|
set(_moc_working_dir WORKING_DIRECTORY ${_moc_outfile_dir})
|
||||||
|
endif()
|
||||||
|
set (_moc_parameters_file ${outfile}_parameters)
|
||||||
|
set (_moc_parameters ${moc_flags} ${moc_options} -o "${outfile}" "${infile}")
|
||||||
|
string (REPLACE ";" "\n" _moc_parameters "${_moc_parameters}")
|
||||||
|
|
||||||
|
if(moc_target)
|
||||||
|
set(_moc_parameters_file ${_moc_parameters_file}$<$<BOOL:$<CONFIGURATION>>:_$<CONFIGURATION>>)
|
||||||
|
set(targetincludes "$<TARGET_PROPERTY:${moc_target},INCLUDE_DIRECTORIES>")
|
||||||
|
set(targetdefines "$<TARGET_PROPERTY:${moc_target},COMPILE_DEFINITIONS>")
|
||||||
|
|
||||||
|
set(targetincludes "$<$<BOOL:${targetincludes}>:-I$<JOIN:${targetincludes},\n-I>\n>")
|
||||||
|
set(targetdefines "$<$<BOOL:${targetdefines}>:-D$<JOIN:${targetdefines},\n-D>\n>")
|
||||||
|
|
||||||
|
file (GENERATE
|
||||||
|
OUTPUT ${_moc_parameters_file}
|
||||||
|
CONTENT "${targetdefines}${targetincludes}${_moc_parameters}\n"
|
||||||
|
)
|
||||||
|
|
||||||
|
set(targetincludes)
|
||||||
|
set(targetdefines)
|
||||||
|
else()
|
||||||
|
file(WRITE ${_moc_parameters_file} "${_moc_parameters}\n")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(_moc_extra_parameters_file @${_moc_parameters_file})
|
||||||
|
add_custom_command(OUTPUT ${outfile}
|
||||||
|
COMMAND ${Qt5Core_MOC_EXECUTABLE} ${_moc_extra_parameters_file}
|
||||||
|
DEPENDS ${infile} ${moc_depends}
|
||||||
|
${_moc_working_dir}
|
||||||
|
VERBATIM)
|
||||||
|
set_source_files_properties(${infile} PROPERTIES SKIP_AUTOMOC ON)
|
||||||
|
set_source_files_properties(${outfile} PROPERTIES SKIP_AUTOMOC ON)
|
||||||
|
set_source_files_properties(${outfile} PROPERTIES SKIP_AUTOUIC ON)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
|
||||||
|
function(QT5_GENERATE_MOC infile outfile )
|
||||||
|
# get include dirs and flags
|
||||||
|
qt5_get_moc_flags(moc_flags)
|
||||||
|
get_filename_component(abs_infile ${infile} ABSOLUTE)
|
||||||
|
set(_outfile "${outfile}")
|
||||||
|
if(NOT IS_ABSOLUTE "${outfile}")
|
||||||
|
set(_outfile "${CMAKE_CURRENT_BINARY_DIR}/${outfile}")
|
||||||
|
endif()
|
||||||
|
if ("x${ARGV2}" STREQUAL "xTARGET")
|
||||||
|
set(moc_target ${ARGV3})
|
||||||
|
endif()
|
||||||
|
qt5_create_moc_command(${abs_infile} ${_outfile} "${moc_flags}" "" "${moc_target}" "")
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
|
||||||
|
# qt5_wrap_cpp(outfiles inputfile ... )
|
||||||
|
|
||||||
|
function(QT5_WRAP_CPP outfiles )
|
||||||
|
# get include dirs
|
||||||
|
qt5_get_moc_flags(moc_flags)
|
||||||
|
|
||||||
|
set(options)
|
||||||
|
set(oneValueArgs TARGET)
|
||||||
|
set(multiValueArgs OPTIONS DEPENDS)
|
||||||
|
|
||||||
|
cmake_parse_arguments(_WRAP_CPP "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||||
|
|
||||||
|
set(moc_files ${_WRAP_CPP_UNPARSED_ARGUMENTS})
|
||||||
|
set(moc_options ${_WRAP_CPP_OPTIONS})
|
||||||
|
set(moc_target ${_WRAP_CPP_TARGET})
|
||||||
|
set(moc_depends ${_WRAP_CPP_DEPENDS})
|
||||||
|
|
||||||
|
foreach(it ${moc_files})
|
||||||
|
get_filename_component(it ${it} ABSOLUTE)
|
||||||
|
qt5_make_output_file(${it} moc_ cpp outfile)
|
||||||
|
qt5_create_moc_command(${it} ${outfile} "${moc_flags}" "${moc_options}" "${moc_target}" "${moc_depends}")
|
||||||
|
list(APPEND ${outfiles} ${outfile})
|
||||||
|
endforeach()
|
||||||
|
set(${outfiles} ${${outfiles}} PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# _qt5_parse_qrc_file(infile _out_depends _rc_depends)
|
||||||
|
# internal
|
||||||
|
|
||||||
|
function(_QT5_PARSE_QRC_FILE infile _out_depends _rc_depends)
|
||||||
|
get_filename_component(rc_path ${infile} PATH)
|
||||||
|
|
||||||
|
if(EXISTS "${infile}")
|
||||||
|
# parse file for dependencies
|
||||||
|
# all files are absolute paths or relative to the location of the qrc file
|
||||||
|
file(READ "${infile}" RC_FILE_CONTENTS)
|
||||||
|
string(REGEX MATCHALL "<file[^<]+" RC_FILES "${RC_FILE_CONTENTS}")
|
||||||
|
foreach(RC_FILE ${RC_FILES})
|
||||||
|
string(REGEX REPLACE "^<file[^>]*>" "" RC_FILE "${RC_FILE}")
|
||||||
|
if(NOT IS_ABSOLUTE "${RC_FILE}")
|
||||||
|
set(RC_FILE "${rc_path}/${RC_FILE}")
|
||||||
|
endif()
|
||||||
|
set(RC_DEPENDS ${RC_DEPENDS} "${RC_FILE}")
|
||||||
|
endforeach()
|
||||||
|
# Since this cmake macro is doing the dependency scanning for these files,
|
||||||
|
# let's make a configured file and add it as a dependency so cmake is run
|
||||||
|
# again when dependencies need to be recomputed.
|
||||||
|
qt5_make_output_file("${infile}" "" "qrc.depends" out_depends)
|
||||||
|
configure_file("${infile}" "${out_depends}" COPYONLY)
|
||||||
|
else()
|
||||||
|
# The .qrc file does not exist (yet). Let's add a dependency and hope
|
||||||
|
# that it will be generated later
|
||||||
|
set(out_depends)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(${_out_depends} ${out_depends} PARENT_SCOPE)
|
||||||
|
set(${_rc_depends} ${RC_DEPENDS} PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
|
||||||
|
# qt5_add_binary_resources(target inputfiles ... )
|
||||||
|
|
||||||
|
function(QT5_ADD_BINARY_RESOURCES target )
|
||||||
|
|
||||||
|
set(options)
|
||||||
|
set(oneValueArgs DESTINATION)
|
||||||
|
set(multiValueArgs OPTIONS)
|
||||||
|
|
||||||
|
cmake_parse_arguments(_RCC "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||||
|
|
||||||
|
set(rcc_files ${_RCC_UNPARSED_ARGUMENTS})
|
||||||
|
set(rcc_options ${_RCC_OPTIONS})
|
||||||
|
set(rcc_destination ${_RCC_DESTINATION})
|
||||||
|
|
||||||
|
if(NOT rcc_destination)
|
||||||
|
set(rcc_destination ${CMAKE_CURRENT_BINARY_DIR}/${target}.rcc)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
foreach(it ${rcc_files})
|
||||||
|
get_filename_component(infile ${it} ABSOLUTE)
|
||||||
|
|
||||||
|
_QT5_PARSE_QRC_FILE(${infile} _out_depends _rc_depends)
|
||||||
|
set_source_files_properties(${infile} PROPERTIES SKIP_AUTORCC ON)
|
||||||
|
set(infiles ${infiles} ${infile})
|
||||||
|
set(out_depends ${out_depends} ${_out_depends})
|
||||||
|
set(rc_depends ${rc_depends} ${_rc_depends})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
add_custom_command(OUTPUT ${rcc_destination}
|
||||||
|
COMMAND ${Qt5Core_RCC_EXECUTABLE}
|
||||||
|
ARGS ${rcc_options} --binary --name ${target} --output ${rcc_destination} ${infiles}
|
||||||
|
DEPENDS ${rc_depends} ${out_depends} ${infiles} VERBATIM)
|
||||||
|
add_custom_target(${target} ALL DEPENDS ${rcc_destination})
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
|
||||||
|
# qt5_add_resources(outfiles inputfile ... )
|
||||||
|
|
||||||
|
function(QT5_ADD_RESOURCES outfiles )
|
||||||
|
|
||||||
|
set(options)
|
||||||
|
set(oneValueArgs)
|
||||||
|
set(multiValueArgs OPTIONS)
|
||||||
|
|
||||||
|
cmake_parse_arguments(_RCC "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||||
|
|
||||||
|
set(rcc_files ${_RCC_UNPARSED_ARGUMENTS})
|
||||||
|
set(rcc_options ${_RCC_OPTIONS})
|
||||||
|
|
||||||
|
if("${rcc_options}" MATCHES "-binary")
|
||||||
|
message(WARNING "Use qt5_add_binary_resources for binary option")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
foreach(it ${rcc_files})
|
||||||
|
get_filename_component(outfilename ${it} NAME_WE)
|
||||||
|
get_filename_component(infile ${it} ABSOLUTE)
|
||||||
|
set(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.cpp)
|
||||||
|
|
||||||
|
_QT5_PARSE_QRC_FILE(${infile} _out_depends _rc_depends)
|
||||||
|
set_source_files_properties(${infile} PROPERTIES SKIP_AUTORCC ON)
|
||||||
|
|
||||||
|
add_custom_command(OUTPUT ${outfile}
|
||||||
|
COMMAND ${Qt5Core_RCC_EXECUTABLE}
|
||||||
|
ARGS ${rcc_options} --name ${outfilename} --output ${outfile} ${infile}
|
||||||
|
MAIN_DEPENDENCY ${infile}
|
||||||
|
DEPENDS ${_rc_depends} "${_out_depends}" VERBATIM)
|
||||||
|
set_source_files_properties(${outfile} PROPERTIES SKIP_AUTOMOC ON)
|
||||||
|
set_source_files_properties(${outfile} PROPERTIES SKIP_AUTOUIC ON)
|
||||||
|
list(APPEND ${outfiles} ${outfile})
|
||||||
|
endforeach()
|
||||||
|
set(${outfiles} ${${outfiles}} PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
# qt5_add_big_resources(outfiles inputfile ... )
|
||||||
|
|
||||||
|
function(QT5_ADD_BIG_RESOURCES outfiles )
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.9)
|
||||||
|
message(FATAL_ERROR, "qt5_add_big_resources requires CMake 3.9 or newer")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(options)
|
||||||
|
set(oneValueArgs)
|
||||||
|
set(multiValueArgs OPTIONS)
|
||||||
|
|
||||||
|
cmake_parse_arguments(_RCC "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||||
|
|
||||||
|
set(rcc_files ${_RCC_UNPARSED_ARGUMENTS})
|
||||||
|
set(rcc_options ${_RCC_OPTIONS})
|
||||||
|
|
||||||
|
if("${rcc_options}" MATCHES "-binary")
|
||||||
|
message(WARNING "Use qt5_add_binary_resources for binary option")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
foreach(it ${rcc_files})
|
||||||
|
get_filename_component(outfilename ${it} NAME_WE)
|
||||||
|
get_filename_component(infile ${it} ABSOLUTE)
|
||||||
|
set(tmpoutfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}tmp.cpp)
|
||||||
|
set(outfile ${CMAKE_CURRENT_BINARY_DIR}/qrc_${outfilename}.o)
|
||||||
|
|
||||||
|
_QT5_PARSE_QRC_FILE(${infile} _out_depends _rc_depends)
|
||||||
|
set_source_files_properties(${infile} PROPERTIES SKIP_AUTORCC ON)
|
||||||
|
add_custom_command(OUTPUT ${tmpoutfile}
|
||||||
|
COMMAND ${Qt5Core_RCC_EXECUTABLE} ${rcc_options} --name ${outfilename} --pass 1 --output ${tmpoutfile} ${infile}
|
||||||
|
DEPENDS ${infile} ${_rc_depends} "${out_depends}" VERBATIM)
|
||||||
|
add_custom_target(big_resources_${outfilename} ALL DEPENDS ${tmpoutfile})
|
||||||
|
add_library(rcc_object_${outfilename} OBJECT ${tmpoutfile})
|
||||||
|
set_target_properties(rcc_object_${outfilename} PROPERTIES AUTOMOC OFF)
|
||||||
|
set_target_properties(rcc_object_${outfilename} PROPERTIES AUTOUIC OFF)
|
||||||
|
add_dependencies(rcc_object_${outfilename} big_resources_${outfilename})
|
||||||
|
# The modification of TARGET_OBJECTS needs the following change in cmake
|
||||||
|
# https://gitlab.kitware.com/cmake/cmake/commit/93c89bc75ceee599ba7c08b8fe1ac5104942054f
|
||||||
|
add_custom_command(OUTPUT ${outfile}
|
||||||
|
COMMAND ${Qt5Core_RCC_EXECUTABLE}
|
||||||
|
ARGS ${rcc_options} --name ${outfilename} --pass 2 --temp $<TARGET_OBJECTS:rcc_object_${outfilename}> --output ${outfile} ${infile}
|
||||||
|
DEPENDS rcc_object_${outfilename}
|
||||||
|
VERBATIM)
|
||||||
|
list(APPEND ${outfiles} ${outfile})
|
||||||
|
endforeach()
|
||||||
|
set(${outfiles} ${${outfiles}} PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
set(_Qt5_COMPONENT_PATH "${CMAKE_CURRENT_LIST_DIR}/..")
|
||||||
|
|
||||||
|
if (NOT CMAKE_VERSION VERSION_LESS 2.8.9)
|
||||||
|
macro(qt5_use_modules _target _link_type)
|
||||||
|
if(NOT CMAKE_MINIMUM_REQUIRED_VERSION VERSION_LESS 2.8.11)
|
||||||
|
if(CMAKE_WARN_DEPRECATED)
|
||||||
|
set(messageType WARNING)
|
||||||
|
endif()
|
||||||
|
if(CMAKE_ERROR_DEPRECATED)
|
||||||
|
set(messageType FATAL_ERROR)
|
||||||
|
endif()
|
||||||
|
if(messageType)
|
||||||
|
message(${messageType} "The qt5_use_modules macro is obsolete. Use target_link_libraries with IMPORTED targets instead.")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT TARGET ${_target})
|
||||||
|
message(FATAL_ERROR "The first argument to qt5_use_modules must be an existing target.")
|
||||||
|
endif()
|
||||||
|
if ("${_link_type}" STREQUAL "LINK_PUBLIC" OR "${_link_type}" STREQUAL "LINK_PRIVATE" )
|
||||||
|
set(_qt5_modules ${ARGN})
|
||||||
|
set(_qt5_link_type ${_link_type})
|
||||||
|
else()
|
||||||
|
set(_qt5_modules ${_link_type} ${ARGN})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if ("${_qt5_modules}" STREQUAL "")
|
||||||
|
message(FATAL_ERROR "qt5_use_modules requires at least one Qt module to use.")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
foreach(_module ${_qt5_modules})
|
||||||
|
if (NOT Qt5${_module}_FOUND)
|
||||||
|
find_package(Qt5${_module} PATHS "${_Qt5_COMPONENT_PATH}" NO_DEFAULT_PATH)
|
||||||
|
if (NOT Qt5${_module}_FOUND)
|
||||||
|
message(FATAL_ERROR "Can not use \"${_module}\" module which has not yet been found.")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
target_link_libraries(${_target} ${_qt5_link_type} ${Qt5${_module}_LIBRARIES})
|
||||||
|
set_property(TARGET ${_target} APPEND PROPERTY INCLUDE_DIRECTORIES ${Qt5${_module}_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET ${_target} APPEND PROPERTY COMPILE_DEFINITIONS ${Qt5${_module}_COMPILE_DEFINITIONS})
|
||||||
|
set_property(TARGET ${_target} APPEND PROPERTY COMPILE_DEFINITIONS_RELEASE QT_NO_DEBUG)
|
||||||
|
set_property(TARGET ${_target} APPEND PROPERTY COMPILE_DEFINITIONS_RELWITHDEBINFO QT_NO_DEBUG)
|
||||||
|
set_property(TARGET ${_target} APPEND PROPERTY COMPILE_DEFINITIONS_MINSIZEREL QT_NO_DEBUG)
|
||||||
|
if (Qt5_POSITION_INDEPENDENT_CODE
|
||||||
|
AND (CMAKE_VERSION VERSION_LESS 2.8.12
|
||||||
|
AND (NOT CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
|
||||||
|
OR CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0)))
|
||||||
|
set_property(TARGET ${_target} PROPERTY POSITION_INDEPENDENT_CODE ${Qt5_POSITION_INDEPENDENT_CODE})
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
endmacro()
|
||||||
|
endif()
|
180
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5DBus/Qt5DBusConfig.cmake
vendored
Normal file
180
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5DBus/Qt5DBusConfig.cmake
vendored
Normal file
|
@ -0,0 +1,180 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 DBus module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt5DBus_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt5DBus_VERSION instead.
|
||||||
|
set(Qt5DBus_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt5DBus_LIBRARIES Qt5::DBus)
|
||||||
|
|
||||||
|
macro(_qt5_DBus_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::DBus\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_DBus_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::DBus APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5DBus_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_DBus_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::DBus PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt5DBus_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt5DBus.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt5DBus_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::DBus)
|
||||||
|
|
||||||
|
set(_Qt5DBus_OWN_INCLUDE_DIRS "${_qt5DBus_install_prefix}/include/" "${_qt5DBus_install_prefix}/include/QtDBus")
|
||||||
|
set(Qt5DBus_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt5DBus_install_prefix}/include/QtDBus/5.12.5"
|
||||||
|
"${_qt5DBus_install_prefix}/include/QtDBus/5.12.5/QtDBus"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt5DBus_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_DBus_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt5DBus_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt5DBus_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_DBus_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5DBus_INCLUDE_DIRS ${_Qt5DBus_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt5DBus_DEFINITIONS -DQT_DBUS_LIB)
|
||||||
|
set(Qt5DBus_COMPILE_DEFINITIONS QT_DBUS_LIB)
|
||||||
|
set(_Qt5DBus_MODULE_DEPENDENCIES "Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt5DBus_OWN_PRIVATE_INCLUDE_DIRS ${Qt5DBus_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt5DBus_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt5DBus_FIND_REQUIRED)
|
||||||
|
set(_Qt5DBus_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt5DBus_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt5DBus_FIND_QUIETLY)
|
||||||
|
set(_Qt5DBus_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt5DBus_FIND_VERSION_EXACT)
|
||||||
|
if (Qt5DBus_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt5DBus_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5DBus_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt5DBus_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt5DBus_FIND_VERSION_EXACT}
|
||||||
|
${_Qt5DBus_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt5DBus_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt5DBus_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt5DBus_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5DBus_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5DBus_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt5DBus_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt5DBus_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt5DBus_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5DBus_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5DBus_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5DBus_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5DBus_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt5DBus_LIB_DEPENDENCIES "Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::DBus SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::DBus PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt5DBus_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::DBus PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_DBUS_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::DBus PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::DBus PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt5DBus_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt5DBus_PRIVATE_DIR ${Qt5DBus_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt5DBus_PRIVATE_DIR})
|
||||||
|
set(_Qt5DBus_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt5DBus_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::DBusPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::DBusPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt5DBus_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt5DBus_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt5DBus_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt5DBus_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::DBusPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::DBus ${_Qt5DBus_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_DBus_target_properties(RELEASE "libQt5DBus.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5DBus_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_DBus_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5DBus_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_DBus_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/Qt5DBusConfigExtras.cmake")
|
||||||
|
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/Qt5DBusMacros.cmake")
|
||||||
|
|
||||||
|
_qt5_DBus_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5DBusConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
25
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5DBus/Qt5DBusConfigExtras.cmake
vendored
Normal file
25
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5DBus/Qt5DBusConfigExtras.cmake
vendored
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::qdbuscpp2xml)
|
||||||
|
add_executable(Qt5::qdbuscpp2xml IMPORTED)
|
||||||
|
|
||||||
|
set(imported_location "/home/dorian/raspi/qt5/bin/qdbuscpp2xml")
|
||||||
|
_qt5_DBus_check_file_exists(${imported_location})
|
||||||
|
|
||||||
|
set_target_properties(Qt5::qdbuscpp2xml PROPERTIES
|
||||||
|
IMPORTED_LOCATION ${imported_location}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::qdbusxml2cpp)
|
||||||
|
add_executable(Qt5::qdbusxml2cpp IMPORTED)
|
||||||
|
|
||||||
|
set(imported_location "/home/dorian/raspi/qt5/bin/qdbusxml2cpp")
|
||||||
|
_qt5_DBus_check_file_exists(${imported_location})
|
||||||
|
|
||||||
|
set_target_properties(Qt5::qdbusxml2cpp PROPERTIES
|
||||||
|
IMPORTED_LOCATION ${imported_location}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5DBus_QDBUSCPP2XML_EXECUTABLE Qt5::qdbuscpp2xml)
|
||||||
|
set(Qt5DBus_QDBUSXML2CPP_EXECUTABLE Qt5::qdbusxml2cpp)
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5DBus/Qt5DBusConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5DBus/Qt5DBusConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
154
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5DBus/Qt5DBusMacros.cmake
vendored
Normal file
154
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5DBus/Qt5DBusMacros.cmake
vendored
Normal file
|
@ -0,0 +1,154 @@
|
||||||
|
#=============================================================================
|
||||||
|
# Copyright 2005-2011 Kitware, Inc.
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# Redistribution and use in source and binary forms, with or without
|
||||||
|
# modification, are permitted provided that the following conditions
|
||||||
|
# are met:
|
||||||
|
#
|
||||||
|
# * Redistributions of source code must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
#
|
||||||
|
# * Redistributions in binary form must reproduce the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer in the
|
||||||
|
# documentation and/or other materials provided with the distribution.
|
||||||
|
#
|
||||||
|
# * Neither the name of Kitware, Inc. nor the names of its
|
||||||
|
# contributors may be used to endorse or promote products derived
|
||||||
|
# from this software without specific prior written permission.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||||
|
# "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 COPYRIGHT
|
||||||
|
# HOLDER OR CONTRIBUTORS 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.
|
||||||
|
#=============================================================================
|
||||||
|
|
||||||
|
include(MacroAddFileDependencies)
|
||||||
|
|
||||||
|
include(CMakeParseArguments)
|
||||||
|
|
||||||
|
function(QT5_ADD_DBUS_INTERFACE _sources _interface _basename)
|
||||||
|
get_filename_component(_infile ${_interface} ABSOLUTE)
|
||||||
|
set(_header "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h")
|
||||||
|
set(_impl "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp")
|
||||||
|
set(_moc "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc")
|
||||||
|
|
||||||
|
get_source_file_property(_nonamespace ${_interface} NO_NAMESPACE)
|
||||||
|
if(_nonamespace)
|
||||||
|
set(_params -N -m)
|
||||||
|
else()
|
||||||
|
set(_params -m)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_source_file_property(_classname ${_interface} CLASSNAME)
|
||||||
|
if(_classname)
|
||||||
|
set(_params ${_params} -c ${_classname})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_source_file_property(_include ${_interface} INCLUDE)
|
||||||
|
if(_include)
|
||||||
|
set(_params ${_params} -i ${_include})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
add_custom_command(OUTPUT "${_impl}" "${_header}"
|
||||||
|
COMMAND ${Qt5DBus_QDBUSXML2CPP_EXECUTABLE} ${_params} -p ${_basename} ${_infile}
|
||||||
|
DEPENDS ${_infile} VERBATIM)
|
||||||
|
|
||||||
|
set_source_files_properties("${_impl}" "${_header}" PROPERTIES SKIP_AUTOMOC TRUE)
|
||||||
|
|
||||||
|
qt5_generate_moc("${_header}" "${_moc}")
|
||||||
|
|
||||||
|
list(APPEND ${_sources} "${_impl}" "${_header}" "${_moc}")
|
||||||
|
macro_add_file_dependencies("${_impl}" "${_moc}")
|
||||||
|
set(${_sources} ${${_sources}} PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
|
||||||
|
function(QT5_ADD_DBUS_INTERFACES _sources)
|
||||||
|
foreach(_current_FILE ${ARGN})
|
||||||
|
get_filename_component(_infile ${_current_FILE} ABSOLUTE)
|
||||||
|
get_filename_component(_basename ${_current_FILE} NAME)
|
||||||
|
# get the part before the ".xml" suffix
|
||||||
|
string(TOLOWER ${_basename} _basename)
|
||||||
|
string(REGEX REPLACE "(.*\\.)?([^\\.]+)\\.xml" "\\2" _basename ${_basename})
|
||||||
|
qt5_add_dbus_interface(${_sources} ${_infile} ${_basename}interface)
|
||||||
|
endforeach()
|
||||||
|
set(${_sources} ${${_sources}} PARENT_SCOPE)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
|
||||||
|
function(QT5_GENERATE_DBUS_INTERFACE _header) # _customName OPTIONS -some -options )
|
||||||
|
set(options)
|
||||||
|
set(oneValueArgs)
|
||||||
|
set(multiValueArgs OPTIONS)
|
||||||
|
|
||||||
|
cmake_parse_arguments(_DBUS_INTERFACE "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN})
|
||||||
|
|
||||||
|
set(_customName ${_DBUS_INTERFACE_UNPARSED_ARGUMENTS})
|
||||||
|
|
||||||
|
get_filename_component(_in_file ${_header} ABSOLUTE)
|
||||||
|
get_filename_component(_basename ${_header} NAME_WE)
|
||||||
|
|
||||||
|
if(_customName)
|
||||||
|
if(IS_ABSOLUTE ${_customName})
|
||||||
|
get_filename_component(_containingDir ${_customName} PATH)
|
||||||
|
if(NOT EXISTS ${_containingDir})
|
||||||
|
file(MAKE_DIRECTORY "${_containingDir}")
|
||||||
|
endif()
|
||||||
|
set(_target ${_customName})
|
||||||
|
else()
|
||||||
|
set(_target ${CMAKE_CURRENT_BINARY_DIR}/${_customName})
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
set(_target ${CMAKE_CURRENT_BINARY_DIR}/${_basename}.xml)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
add_custom_command(OUTPUT ${_target}
|
||||||
|
COMMAND ${Qt5DBus_QDBUSCPP2XML_EXECUTABLE} ${_DBUS_INTERFACE_OPTIONS} ${_in_file} -o ${_target}
|
||||||
|
DEPENDS ${_in_file} VERBATIM
|
||||||
|
)
|
||||||
|
endfunction()
|
||||||
|
|
||||||
|
|
||||||
|
function(QT5_ADD_DBUS_ADAPTOR _sources _xml_file _include _parentClass) # _optionalBasename _optionalClassName)
|
||||||
|
get_filename_component(_infile ${_xml_file} ABSOLUTE)
|
||||||
|
|
||||||
|
set(_optionalBasename "${ARGV4}")
|
||||||
|
if(_optionalBasename)
|
||||||
|
set(_basename ${_optionalBasename} )
|
||||||
|
else()
|
||||||
|
string(REGEX REPLACE "(.*[/\\.])?([^\\.]+)\\.xml" "\\2adaptor" _basename ${_infile})
|
||||||
|
string(TOLOWER ${_basename} _basename)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(_optionalClassName "${ARGV5}")
|
||||||
|
set(_header "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.h")
|
||||||
|
set(_impl "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.cpp")
|
||||||
|
set(_moc "${CMAKE_CURRENT_BINARY_DIR}/${_basename}.moc")
|
||||||
|
|
||||||
|
if(_optionalClassName)
|
||||||
|
add_custom_command(OUTPUT "${_impl}" "${_header}"
|
||||||
|
COMMAND ${Qt5DBus_QDBUSXML2CPP_EXECUTABLE} -m -a ${_basename} -c ${_optionalClassName} -i ${_include} -l ${_parentClass} ${_infile}
|
||||||
|
DEPENDS ${_infile} VERBATIM
|
||||||
|
)
|
||||||
|
else()
|
||||||
|
add_custom_command(OUTPUT "${_impl}" "${_header}"
|
||||||
|
COMMAND ${Qt5DBus_QDBUSXML2CPP_EXECUTABLE} -m -a ${_basename} -i ${_include} -l ${_parentClass} ${_infile}
|
||||||
|
DEPENDS ${_infile} VERBATIM
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
qt5_generate_moc("${_header}" "${_moc}")
|
||||||
|
set_source_files_properties("${_impl}" "${_header}" PROPERTIES SKIP_AUTOMOC TRUE)
|
||||||
|
macro_add_file_dependencies("${_impl}" "${_moc}")
|
||||||
|
|
||||||
|
list(APPEND ${_sources} "${_impl}" "${_header}" "${_moc}")
|
||||||
|
set(${_sources} ${${_sources}} PARENT_SCOPE)
|
||||||
|
endfunction()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5DataVisualization/Qt5DataVisualizationConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5DataVisualization/Qt5DataVisualizationConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 DataVisualization module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt5DataVisualization_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt5DataVisualization_VERSION instead.
|
||||||
|
set(Qt5DataVisualization_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt5DataVisualization_LIBRARIES Qt5::DataVisualization)
|
||||||
|
|
||||||
|
macro(_qt5_DataVisualization_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::DataVisualization\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_DataVisualization_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::DataVisualization APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5DataVisualization_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_DataVisualization_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::DataVisualization PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt5DataVisualization_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt5DataVisualization.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt5DataVisualization_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::DataVisualization)
|
||||||
|
|
||||||
|
set(_Qt5DataVisualization_OWN_INCLUDE_DIRS "${_qt5DataVisualization_install_prefix}/include/" "${_qt5DataVisualization_install_prefix}/include/QtDataVisualization")
|
||||||
|
set(Qt5DataVisualization_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt5DataVisualization_install_prefix}/include/QtDataVisualization/5.12.5"
|
||||||
|
"${_qt5DataVisualization_install_prefix}/include/QtDataVisualization/5.12.5/QtDataVisualization"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt5DataVisualization_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_DataVisualization_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt5DataVisualization_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt5DataVisualization_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_DataVisualization_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5DataVisualization_INCLUDE_DIRS ${_Qt5DataVisualization_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt5DataVisualization_DEFINITIONS -DQT_DATAVISUALIZATION_LIB)
|
||||||
|
set(Qt5DataVisualization_COMPILE_DEFINITIONS QT_DATAVISUALIZATION_LIB)
|
||||||
|
set(_Qt5DataVisualization_MODULE_DEPENDENCIES "Gui;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt5DataVisualization_OWN_PRIVATE_INCLUDE_DIRS ${Qt5DataVisualization_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt5DataVisualization_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt5DataVisualization_FIND_REQUIRED)
|
||||||
|
set(_Qt5DataVisualization_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt5DataVisualization_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt5DataVisualization_FIND_QUIETLY)
|
||||||
|
set(_Qt5DataVisualization_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt5DataVisualization_FIND_VERSION_EXACT)
|
||||||
|
if (Qt5DataVisualization_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt5DataVisualization_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5DataVisualization_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt5DataVisualization_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt5DataVisualization_FIND_VERSION_EXACT}
|
||||||
|
${_Qt5DataVisualization_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt5DataVisualization_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt5DataVisualization_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt5DataVisualization_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5DataVisualization_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5DataVisualization_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt5DataVisualization_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt5DataVisualization_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt5DataVisualization_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5DataVisualization_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5DataVisualization_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5DataVisualization_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5DataVisualization_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt5DataVisualization_LIB_DEPENDENCIES "Qt5::Gui;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::DataVisualization SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::DataVisualization PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt5DataVisualization_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::DataVisualization PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_DATAVISUALIZATION_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::DataVisualization PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::DataVisualization PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt5DataVisualization_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt5DataVisualization_PRIVATE_DIR ${Qt5DataVisualization_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt5DataVisualization_PRIVATE_DIR})
|
||||||
|
set(_Qt5DataVisualization_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt5DataVisualization_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::DataVisualizationPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::DataVisualizationPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt5DataVisualization_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt5DataVisualization_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt5DataVisualization_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt5DataVisualization_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::DataVisualizationPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::DataVisualization ${_Qt5DataVisualization_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_DataVisualization_target_properties(RELEASE "libQt5DataVisualization.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5DataVisualization_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_DataVisualization_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5DataVisualization_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_DataVisualization_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_DataVisualization_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5DataVisualizationConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gamepad/Qt5GamepadConfig.cmake
vendored
Normal file
178
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gamepad/Qt5GamepadConfig.cmake
vendored
Normal file
|
@ -0,0 +1,178 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 Gamepad module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt5Gamepad_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt5Gamepad_VERSION instead.
|
||||||
|
set(Qt5Gamepad_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt5Gamepad_LIBRARIES Qt5::Gamepad)
|
||||||
|
|
||||||
|
macro(_qt5_Gamepad_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::Gamepad\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_Gamepad_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::Gamepad APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Gamepad_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_Gamepad_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::Gamepad PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt5Gamepad_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt5Gamepad.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt5Gamepad_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::Gamepad)
|
||||||
|
|
||||||
|
set(_Qt5Gamepad_OWN_INCLUDE_DIRS "${_qt5Gamepad_install_prefix}/include/" "${_qt5Gamepad_install_prefix}/include/QtGamepad")
|
||||||
|
set(Qt5Gamepad_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt5Gamepad_install_prefix}/include/QtGamepad/5.12.5"
|
||||||
|
"${_qt5Gamepad_install_prefix}/include/QtGamepad/5.12.5/QtGamepad"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt5Gamepad_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_Gamepad_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt5Gamepad_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt5Gamepad_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_Gamepad_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Gamepad_INCLUDE_DIRS ${_Qt5Gamepad_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt5Gamepad_DEFINITIONS -DQT_GAMEPAD_LIB)
|
||||||
|
set(Qt5Gamepad_COMPILE_DEFINITIONS QT_GAMEPAD_LIB)
|
||||||
|
set(_Qt5Gamepad_MODULE_DEPENDENCIES "Gui;Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt5Gamepad_OWN_PRIVATE_INCLUDE_DIRS ${Qt5Gamepad_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt5Gamepad_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt5Gamepad_FIND_REQUIRED)
|
||||||
|
set(_Qt5Gamepad_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Gamepad_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt5Gamepad_FIND_QUIETLY)
|
||||||
|
set(_Qt5Gamepad_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Gamepad_FIND_VERSION_EXACT)
|
||||||
|
if (Qt5Gamepad_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt5Gamepad_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Gamepad_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt5Gamepad_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt5Gamepad_FIND_VERSION_EXACT}
|
||||||
|
${_Qt5Gamepad_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt5Gamepad_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt5Gamepad_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt5Gamepad_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Gamepad_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Gamepad_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Gamepad_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Gamepad_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt5Gamepad_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Gamepad_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Gamepad_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Gamepad_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Gamepad_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt5Gamepad_LIB_DEPENDENCIES "Qt5::Gui;Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::Gamepad SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Gamepad PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt5Gamepad_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::Gamepad PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_GAMEPAD_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Gamepad PROPERTY INTERFACE_QT_ENABLED_FEATURES )
|
||||||
|
set_property(TARGET Qt5::Gamepad PROPERTY INTERFACE_QT_DISABLED_FEATURES )
|
||||||
|
|
||||||
|
set(_Qt5Gamepad_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt5Gamepad_PRIVATE_DIR ${Qt5Gamepad_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt5Gamepad_PRIVATE_DIR})
|
||||||
|
set(_Qt5Gamepad_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt5Gamepad_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::GamepadPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::GamepadPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt5Gamepad_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt5Gamepad_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt5Gamepad_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt5Gamepad_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::GamepadPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::Gamepad ${_Qt5Gamepad_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_Gamepad_target_properties(RELEASE "libQt5Gamepad.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5Gamepad_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_Gamepad_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Gamepad_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_Gamepad_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_Gamepad_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5GamepadConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gamepad/Qt5GamepadConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gamepad/Qt5GamepadConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QEvdevGamepadBackendPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gamepad_plugin_properties(QEvdevGamepadBackendPlugin RELEASE "gamepads/libevdevgamepad.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gamepad_PLUGINS Qt5::QEvdevGamepadBackendPlugin)
|
179
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake
vendored
Normal file
179
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake
vendored
Normal file
|
@ -0,0 +1,179 @@
|
||||||
|
|
||||||
|
if (CMAKE_VERSION VERSION_LESS 3.1.0)
|
||||||
|
message(FATAL_ERROR "Qt 5 Gui module requires at least CMake version 3.1.0")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
get_filename_component(_qt5Gui_install_prefix "${CMAKE_CURRENT_LIST_DIR}/../../../" ABSOLUTE)
|
||||||
|
|
||||||
|
# For backwards compatibility only. Use Qt5Gui_VERSION instead.
|
||||||
|
set(Qt5Gui_VERSION_STRING 5.12.5)
|
||||||
|
|
||||||
|
set(Qt5Gui_LIBRARIES Qt5::Gui)
|
||||||
|
|
||||||
|
macro(_qt5_Gui_check_file_exists file)
|
||||||
|
if(NOT EXISTS "${file}" )
|
||||||
|
message(FATAL_ERROR "The imported target \"Qt5::Gui\" references the file
|
||||||
|
\"${file}\"
|
||||||
|
but this file does not exist. Possible reasons include:
|
||||||
|
* The file was deleted, renamed, or moved to another location.
|
||||||
|
* An install or uninstall procedure did not complete successfully.
|
||||||
|
* The installation package was faulty and contained
|
||||||
|
\"${CMAKE_CURRENT_LIST_FILE}\"
|
||||||
|
but not all the files it references.
|
||||||
|
")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
macro(_populate_Gui_target_properties Configuration LIB_LOCATION IMPLIB_LOCATION)
|
||||||
|
set_property(TARGET Qt5::Gui APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Gui_install_prefix}/lib/${LIB_LOCATION}")
|
||||||
|
_qt5_Gui_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::Gui PROPERTIES
|
||||||
|
"INTERFACE_LINK_LIBRARIES" "${_Qt5Gui_LIB_DEPENDENCIES}"
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
"IMPORTED_SONAME_${Configuration}" "libQt5Gui.so.5"
|
||||||
|
# For backward compatibility with CMake < 2.8.12
|
||||||
|
"IMPORTED_LINK_INTERFACE_LIBRARIES_${Configuration}" "${_Qt5Gui_LIB_DEPENDENCIES}"
|
||||||
|
)
|
||||||
|
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (NOT TARGET Qt5::Gui)
|
||||||
|
|
||||||
|
set(_Qt5Gui_OWN_INCLUDE_DIRS "${_qt5Gui_install_prefix}/include/" "${_qt5Gui_install_prefix}/include/QtGui")
|
||||||
|
set(Qt5Gui_PRIVATE_INCLUDE_DIRS
|
||||||
|
"${_qt5Gui_install_prefix}/include/QtGui/5.12.5"
|
||||||
|
"${_qt5Gui_install_prefix}/include/QtGui/5.12.5/QtGui"
|
||||||
|
)
|
||||||
|
|
||||||
|
foreach(_dir ${_Qt5Gui_OWN_INCLUDE_DIRS})
|
||||||
|
_qt5_Gui_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
# Only check existence of private includes if the Private component is
|
||||||
|
# specified.
|
||||||
|
list(FIND Qt5Gui_FIND_COMPONENTS Private _check_private)
|
||||||
|
if (NOT _check_private STREQUAL -1)
|
||||||
|
foreach(_dir ${Qt5Gui_PRIVATE_INCLUDE_DIRS})
|
||||||
|
_qt5_Gui_check_file_exists(${_dir})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Gui_INCLUDE_DIRS ${_Qt5Gui_OWN_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(Qt5Gui_DEFINITIONS -DQT_GUI_LIB)
|
||||||
|
set(Qt5Gui_COMPILE_DEFINITIONS QT_GUI_LIB)
|
||||||
|
set(_Qt5Gui_MODULE_DEPENDENCIES "Core")
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt5Gui_OWN_PRIVATE_INCLUDE_DIRS ${Qt5Gui_PRIVATE_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set(_Qt5Gui_FIND_DEPENDENCIES_REQUIRED)
|
||||||
|
if (Qt5Gui_FIND_REQUIRED)
|
||||||
|
set(_Qt5Gui_FIND_DEPENDENCIES_REQUIRED REQUIRED)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Gui_FIND_DEPENDENCIES_QUIET)
|
||||||
|
if (Qt5Gui_FIND_QUIETLY)
|
||||||
|
set(_Qt5Gui_DEPENDENCIES_FIND_QUIET QUIET)
|
||||||
|
endif()
|
||||||
|
set(_Qt5Gui_FIND_VERSION_EXACT)
|
||||||
|
if (Qt5Gui_FIND_VERSION_EXACT)
|
||||||
|
set(_Qt5Gui_FIND_VERSION_EXACT EXACT)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(Qt5Gui_EXECUTABLE_COMPILE_FLAGS "")
|
||||||
|
|
||||||
|
foreach(_module_dep ${_Qt5Gui_MODULE_DEPENDENCIES})
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
find_package(Qt5${_module_dep}
|
||||||
|
5.12.5 ${_Qt5Gui_FIND_VERSION_EXACT}
|
||||||
|
${_Qt5Gui_DEPENDENCIES_FIND_QUIET}
|
||||||
|
${_Qt5Gui_FIND_DEPENDENCIES_REQUIRED}
|
||||||
|
PATHS "${CMAKE_CURRENT_LIST_DIR}/.." NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if (NOT Qt5${_module_dep}_FOUND)
|
||||||
|
set(Qt5Gui_FOUND False)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_INCLUDE_DIRS "${Qt5${_module_dep}_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Gui_PRIVATE_INCLUDE_DIRS "${Qt5${_module_dep}_PRIVATE_INCLUDE_DIRS}")
|
||||||
|
list(APPEND Qt5Gui_DEFINITIONS ${Qt5${_module_dep}_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Gui_COMPILE_DEFINITIONS ${Qt5${_module_dep}_COMPILE_DEFINITIONS})
|
||||||
|
list(APPEND Qt5Gui_EXECUTABLE_COMPILE_FLAGS ${Qt5${_module_dep}_EXECUTABLE_COMPILE_FLAGS})
|
||||||
|
endforeach()
|
||||||
|
list(REMOVE_DUPLICATES Qt5Gui_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Gui_PRIVATE_INCLUDE_DIRS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Gui_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Gui_COMPILE_DEFINITIONS)
|
||||||
|
list(REMOVE_DUPLICATES Qt5Gui_EXECUTABLE_COMPILE_FLAGS)
|
||||||
|
|
||||||
|
set(_Qt5Gui_LIB_DEPENDENCIES "Qt5::Core")
|
||||||
|
|
||||||
|
|
||||||
|
add_library(Qt5::Gui SHARED IMPORTED)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Gui PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${_Qt5Gui_OWN_INCLUDE_DIRS})
|
||||||
|
set_property(TARGET Qt5::Gui PROPERTY
|
||||||
|
INTERFACE_COMPILE_DEFINITIONS QT_GUI_LIB)
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Gui PROPERTY INTERFACE_QT_ENABLED_FEATURES accessibility;action;opengles2;clipboard;colornames;cssparser;cursor;desktopservices;imageformat_xpm;draganddrop;opengl;imageformatplugin;highdpiscaling;im;image_heuristic_mask;image_text;imageformat_bmp;imageformat_jpeg;imageformat_png;imageformat_ppm;imageformat_xbm;movie;openvg;pdf;picture;sessionmanager;shortcut;standarditemmodel;systemtrayicon;tabletevent;texthtmlparser;textodfwriter;validator;whatsthis;wheelevent)
|
||||||
|
set_property(TARGET Qt5::Gui PROPERTY INTERFACE_QT_DISABLED_FEATURES angle;combined-angle-lib;dynamicgl;opengles3;opengles31;opengles32;vulkan)
|
||||||
|
|
||||||
|
set(_Qt5Gui_PRIVATE_DIRS_EXIST TRUE)
|
||||||
|
foreach (_Qt5Gui_PRIVATE_DIR ${Qt5Gui_OWN_PRIVATE_INCLUDE_DIRS})
|
||||||
|
if (NOT EXISTS ${_Qt5Gui_PRIVATE_DIR})
|
||||||
|
set(_Qt5Gui_PRIVATE_DIRS_EXIST FALSE)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
|
if (_Qt5Gui_PRIVATE_DIRS_EXIST)
|
||||||
|
add_library(Qt5::GuiPrivate INTERFACE IMPORTED)
|
||||||
|
set_property(TARGET Qt5::GuiPrivate PROPERTY
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES ${Qt5Gui_OWN_PRIVATE_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
|
set(_Qt5Gui_PRIVATEDEPS)
|
||||||
|
foreach(dep ${_Qt5Gui_LIB_DEPENDENCIES})
|
||||||
|
if (TARGET ${dep}Private)
|
||||||
|
list(APPEND _Qt5Gui_PRIVATEDEPS ${dep}Private)
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
set_property(TARGET Qt5::GuiPrivate PROPERTY
|
||||||
|
INTERFACE_LINK_LIBRARIES Qt5::Gui ${_Qt5Gui_PRIVATEDEPS}
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
_populate_Gui_target_properties(RELEASE "libQt5Gui.so.5.12.5" "" )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
file(GLOB pluginTargets "${CMAKE_CURRENT_LIST_DIR}/Qt5Gui_*Plugin.cmake")
|
||||||
|
|
||||||
|
macro(_populate_Gui_plugin_properties Plugin Configuration PLUGIN_LOCATION)
|
||||||
|
set_property(TARGET Qt5::${Plugin} APPEND PROPERTY IMPORTED_CONFIGURATIONS ${Configuration})
|
||||||
|
|
||||||
|
set(imported_location "${_qt5Gui_install_prefix}/plugins/${PLUGIN_LOCATION}")
|
||||||
|
_qt5_Gui_check_file_exists(${imported_location})
|
||||||
|
set_target_properties(Qt5::${Plugin} PROPERTIES
|
||||||
|
"IMPORTED_LOCATION_${Configuration}" ${imported_location}
|
||||||
|
)
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
if (pluginTargets)
|
||||||
|
foreach(pluginTarget ${pluginTargets})
|
||||||
|
include(${pluginTarget})
|
||||||
|
endforeach()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/Qt5GuiConfigExtras.cmake")
|
||||||
|
|
||||||
|
|
||||||
|
_qt5_Gui_check_file_exists("${CMAKE_CURRENT_LIST_DIR}/Qt5GuiConfigVersion.cmake")
|
||||||
|
|
||||||
|
endif()
|
102
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake
vendored
Normal file
102
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake
vendored
Normal file
|
@ -0,0 +1,102 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(_GL_INCDIRS "/opt/vc/include" "/opt/vc/include/interface/vcos/pthreads" "/opt/vc/include/interface/vmcs_host/linux")
|
||||||
|
find_path(_qt5gui_OPENGL_INCLUDE_DIR GLES2/gl2.h
|
||||||
|
PATHS ${_GL_INCDIRS}
|
||||||
|
)
|
||||||
|
if (NOT _qt5gui_OPENGL_INCLUDE_DIR)
|
||||||
|
message(FATAL_ERROR "Failed to find \"GLES2/gl2.h\" in \"${_GL_INCDIRS}\".")
|
||||||
|
endif()
|
||||||
|
unset(_GL_INCDIRS)
|
||||||
|
|
||||||
|
# Don't check for existence of the _qt5gui_OPENGL_INCLUDE_DIR because it is
|
||||||
|
# optional.
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_INCLUDE_DIRS ${_qt5gui_OPENGL_INCLUDE_DIR})
|
||||||
|
set_property(TARGET Qt5::Gui APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${_qt5gui_OPENGL_INCLUDE_DIR})
|
||||||
|
|
||||||
|
unset(_qt5gui_OPENGL_INCLUDE_DIR CACHE)
|
||||||
|
|
||||||
|
|
||||||
|
macro(_qt5gui_find_extra_libs Name Libs LibDir IncDirs)
|
||||||
|
set(Qt5Gui_${Name}_LIBRARIES)
|
||||||
|
set(Qt5Gui_${Name}_INCLUDE_DIRS ${IncDirs})
|
||||||
|
foreach(_lib ${Libs})
|
||||||
|
if (IS_ABSOLUTE ${_lib})
|
||||||
|
get_filename_component(_libFile ${_lib} NAME_WE)
|
||||||
|
if (_libFile MATCHES "^${CMAKE_SHARED_LIBRARY_PREFIX}(.*)")
|
||||||
|
set(_libFile ${CMAKE_MATCH_1})
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
set(_libFile ${_lib})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
string(REGEX REPLACE [^_A-Za-z0-9] _ _cmake_lib_name ${_libFile})
|
||||||
|
if (NOT TARGET Qt5::Gui_${_cmake_lib_name} AND NOT _Qt5Gui_${_cmake_lib_name}_LIBRARY_DONE)
|
||||||
|
if (IS_ABSOLUTE ${_lib})
|
||||||
|
set(Qt5Gui_${_cmake_lib_name}_LIBRARY ${_lib})
|
||||||
|
else()
|
||||||
|
find_library(Qt5Gui_${_cmake_lib_name}_LIBRARY ${_lib}
|
||||||
|
PATHS "${LibDir}"
|
||||||
|
NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
if (NOT Qt5Gui_${_cmake_lib_name}_LIBRARY)
|
||||||
|
# The above find_library call doesn't work for finding
|
||||||
|
# libraries in Windows SDK paths outside of the proper
|
||||||
|
# environment, even if the libraries are present. In other
|
||||||
|
# cases it is OK for the libraries to not be found
|
||||||
|
# because they are optional dependencies of Qt5Gui, needed
|
||||||
|
# only if the qopengl.h header is used.
|
||||||
|
# We try to find the libraries in the first place because Qt may be
|
||||||
|
# compiled with another set of GL libraries (such as coming
|
||||||
|
# from ANGLE). The point of these find calls is to try to
|
||||||
|
# find the same binaries as Qt is compiled with (as they are
|
||||||
|
# in the interface of QtGui), so an effort is made to do so
|
||||||
|
# above with paths known to qmake.
|
||||||
|
set(_Qt5Gui_${_cmake_lib_name}_LIBRARY_DONE TRUE)
|
||||||
|
unset(Qt5Gui_${_cmake_lib_name}_LIBRARY CACHE)
|
||||||
|
else()
|
||||||
|
add_library(Qt5::Gui_${_cmake_lib_name} SHARED IMPORTED)
|
||||||
|
set_property(TARGET Qt5::Gui_${_cmake_lib_name} APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${Qt5Gui_${Name}_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
set_property(TARGET Qt5::Gui_${_cmake_lib_name} APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
||||||
|
_qt5_Gui_check_file_exists("${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
|
||||||
|
set_property(TARGET Qt5::Gui_${_cmake_lib_name} PROPERTY IMPORTED_LOCATION_RELEASE "${Qt5Gui_${_cmake_lib_name}_LIBRARY}")
|
||||||
|
|
||||||
|
unset(Qt5Gui_${_cmake_lib_name}_LIBRARY CACHE)
|
||||||
|
|
||||||
|
find_library(Qt5Gui_${_cmake_lib_name}_LIBRARY_DEBUG ${_lib}d
|
||||||
|
PATHS "${LibDir}"
|
||||||
|
NO_DEFAULT_PATH
|
||||||
|
)
|
||||||
|
if (Qt5Gui_${_cmake_lib_name}_LIBRARY_DEBUG)
|
||||||
|
set_property(TARGET Qt5::Gui_${_cmake_lib_name} APPEND PROPERTY IMPORTED_CONFIGURATIONS DEBUG)
|
||||||
|
_qt5_Gui_check_file_exists("${Qt5Gui_${_cmake_lib_name}_LIBRARY_DEBUG}")
|
||||||
|
set_property(TARGET Qt5::Gui_${_cmake_lib_name} PROPERTY IMPORTED_LOCATION_DEBUG "${Qt5Gui_${_cmake_lib_name}_LIBRARY_DEBUG}")
|
||||||
|
endif()
|
||||||
|
unset(Qt5Gui_${_cmake_lib_name}_LIBRARY_DEBUG CACHE)
|
||||||
|
list(APPEND Qt5Gui_${Name}_LIBRARIES Qt5::Gui_${_cmake_lib_name})
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
|
||||||
|
_qt5gui_find_extra_libs(EGL "/home/dorian/raspi/sysroot/opt/vc/lib/libEGL.so;/home/dorian/raspi/sysroot/opt/vc/lib/libGLESv2.so" "/opt/vc/lib" "/home/dorian/raspi/sysroot/opt/vc/include;/home/dorian/raspi/sysroot/opt/vc/include/interface/vcos/pthreads;/home/dorian/raspi/sysroot/opt/vc/include/interface/vmcs_host/linux")
|
||||||
|
|
||||||
|
_qt5gui_find_extra_libs(OPENGL "/home/dorian/raspi/sysroot/opt/vc/lib/libGLESv2.so" "/home/dorian/raspi/sysroot/opt/vc/lib" "/home/dorian/raspi/sysroot/opt/vc/include;/home/dorian/raspi/sysroot/opt/vc/include/interface/vcos/pthreads;/home/dorian/raspi/sysroot/opt/vc/include/interface/vmcs_host/linux")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(Qt5Gui_OPENGL_IMPLEMENTATION GLESv2)
|
||||||
|
|
||||||
|
get_target_property(_configs Qt5::Gui IMPORTED_CONFIGURATIONS)
|
||||||
|
foreach(_config ${_configs})
|
||||||
|
set_property(TARGET Qt5::Gui APPEND PROPERTY
|
||||||
|
IMPORTED_LINK_DEPENDENT_LIBRARIES_${_config}
|
||||||
|
${Qt5Gui_EGL_LIBRARIES} ${Qt5Gui_OPENGL_LIBRARIES}
|
||||||
|
)
|
||||||
|
endforeach()
|
||||||
|
unset(_configs)
|
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5GuiConfigVersion.cmake
vendored
Normal file
11
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5GuiConfigVersion.cmake
vendored
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
|
||||||
|
set(PACKAGE_VERSION 5.12.5)
|
||||||
|
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QComposePlatformInputContextPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QComposePlatformInputContextPlugin RELEASE "platforminputcontexts/libcomposeplatforminputcontextplugin.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QComposePlatformInputContextPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEglFSBrcmIntegrationPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEglFSBrcmIntegrationPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QEglFSBrcmIntegrationPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QEglFSBrcmIntegrationPlugin RELEASE "egldeviceintegrations/libqeglfs-brcm-integration.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QEglFSBrcmIntegrationPlugin)
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QEglFSEmulatorIntegrationPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QEglFSEmulatorIntegrationPlugin RELEASE "egldeviceintegrations/libqeglfs-emu-integration.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QEglFSEmulatorIntegrationPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEglFSIntegrationPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEglFSIntegrationPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QEglFSIntegrationPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QEglFSIntegrationPlugin RELEASE "platforms/libqeglfs.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QEglFSIntegrationPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEvdevKeyboardPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEvdevKeyboardPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QEvdevKeyboardPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QEvdevKeyboardPlugin RELEASE "generic/libqevdevkeyboardplugin.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QEvdevKeyboardPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEvdevMousePlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEvdevMousePlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QEvdevMousePlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QEvdevMousePlugin RELEASE "generic/libqevdevmouseplugin.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QEvdevMousePlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEvdevTabletPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEvdevTabletPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QEvdevTabletPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QEvdevTabletPlugin RELEASE "generic/libqevdevtabletplugin.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QEvdevTabletPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEvdevTouchScreenPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QEvdevTouchScreenPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QEvdevTouchScreenPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QEvdevTouchScreenPlugin RELEASE "generic/libqevdevtouchplugin.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QEvdevTouchScreenPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QGifPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QGifPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QGifPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QGifPlugin RELEASE "imageformats/libqgif.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QGifPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QICNSPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QICNSPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QICNSPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QICNSPlugin RELEASE "imageformats/libqicns.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QICNSPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QICOPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QICOPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QICOPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QICOPlugin RELEASE "imageformats/libqico.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QICOPlugin)
|
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QIbusPlatformInputContextPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QIbusPlatformInputContextPlugin RELEASE "platforminputcontexts/libibusplatforminputcontextplugin.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QIbusPlatformInputContextPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QJpegPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QJpegPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QJpegPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QJpegPlugin RELEASE "imageformats/libqjpeg.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QJpegPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QLinuxFbIntegrationPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QLinuxFbIntegrationPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QLinuxFbIntegrationPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QLinuxFbIntegrationPlugin RELEASE "platforms/libqlinuxfb.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QLinuxFbIntegrationPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QMinimalEglIntegrationPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QMinimalEglIntegrationPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QMinimalEglIntegrationPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QMinimalEglIntegrationPlugin RELEASE "platforms/libqminimalegl.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QMinimalEglIntegrationPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QMinimalIntegrationPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QMinimalIntegrationPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QMinimalIntegrationPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QMinimalIntegrationPlugin RELEASE "platforms/libqminimal.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QMinimalIntegrationPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QMngPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QMngPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QMngPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QMngPlugin RELEASE "imageformats/libqmng.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QMngPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QOffscreenIntegrationPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QOffscreenIntegrationPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QOffscreenIntegrationPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QOffscreenIntegrationPlugin RELEASE "platforms/libqoffscreen.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QOffscreenIntegrationPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QTgaPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QTgaPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QTgaPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QTgaPlugin RELEASE "imageformats/libqtga.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QTgaPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QTiffPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QTiffPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QTiffPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QTiffPlugin RELEASE "imageformats/libqtiff.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QTiffPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QTsLibPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QTsLibPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QTsLibPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QTsLibPlugin RELEASE "generic/libqtslibplugin.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QTsLibPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QTuioTouchPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QTuioTouchPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QTuioTouchPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QTuioTouchPlugin RELEASE "generic/libqtuiotouchplugin.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QTuioTouchPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QVirtualKeyboardPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QVirtualKeyboardPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QVirtualKeyboardPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QVirtualKeyboardPlugin RELEASE "platforminputcontexts/libqtvirtualkeyboardplugin.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QVirtualKeyboardPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QVncIntegrationPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QVncIntegrationPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QVncIntegrationPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QVncIntegrationPlugin RELEASE "platforms/libqvnc.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QVncIntegrationPlugin)
|
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QWbmpPlugin.cmake
vendored
Normal file
6
debian/usr/local/qt5raspi-5.12.5/lib/cmake/Qt5Gui/Qt5Gui_QWbmpPlugin.cmake
vendored
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
|
||||||
|
add_library(Qt5::QWbmpPlugin MODULE IMPORTED)
|
||||||
|
|
||||||
|
_populate_Gui_plugin_properties(QWbmpPlugin RELEASE "imageformats/libqwbmp.so")
|
||||||
|
|
||||||
|
list(APPEND Qt5Gui_PLUGINS Qt5::QWbmpPlugin)
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue