diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..00bdb19 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,32 @@ +# Generated from qtivi.pro. + +cmake_minimum_required(VERSION 3.15.0) + +include(.cmake.conf) +project(QtIvi + VERSION "${QT_REPO_MODULE_VERSION}" + DESCRIPTION "Qt Ivi Libraries" + HOMEPAGE_URL "https://qt.io/" + LANGUAGES CXX C +) + +find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case +find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Gui Qml Quick RemoteObjects Multimedia Sql) # special case + +if(INTEGRITY) + message(NOTICE "Skipping the build as the condition \"NOT INTEGRITY\" is not met.") + return() +endif() +if(WINRT) + message(NOTICE "Skipping the build as the condition \"NOT WINRT\" is not met.") + return() +endif() +if(QNX) + message(NOTICE "Skipping the build as the condition \"NOT QNX\" is not met.") + return() +endif() +if(WASM) + message(NOTICE "Skipping the build as the condition \"NOT WASM\" is not met.") + return() +endif() +qt_build_repo() |