summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@qt.io>2021-02-18 18:50:11 +0100
committerCristian Adam <cristian.adam@qt.io>2021-02-19 17:54:45 +0000
commitcc0fa86ffd6c202aeb7ee091bbf8a91d7623718c (patch)
tree2e57cfb1b544a9cb679d3065b87d9d3b39de9925 /README.md
parent813d020fa5fbc10bdbc3220e417f5da8bcaff4b5 (diff)
downloadqt-creator-cc0fa86ffd6c202aeb7ee091bbf8a91d7623718c.tar.gz
CMakeProjectManager: Add package manager auto-setup
Adds CMAKE_PROJECT_INCLUDE_BEFORE as initial CMake parameters with a path to a auto-setup.cmake script that will run conan install if a conanfile.txt is found in the prject. A project can have a local QtCreatorPackageManager.cmake file that will be loaded if exists. The auto setup can be controlled via the following CMake variables: * QT_CREATOR_SKIP_PACKAGE_MANAGER_SETUP * QT_CREATOR_SKIP_CONAN_SETUP * QT_CREATOR_SKIP_VCPKG_SETUP conan.cmake is taken from https://github.com/conan-io/cmake-conan which takes care of the conan specific compiler cruft. License is MIT. Fixes: QTCREATORBUG-25362 Change-Id: I70a6e1abc5600851d048f1590ca24204ce52a503 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1c3d4e6df9..8cc77302aa 100644
--- a/README.md
+++ b/README.md
@@ -649,3 +649,33 @@ SQLite (https://www.sqlite.org) is in the Public Domain.
Qt Creator installations deliver Qbs. Its licensing and third party
attributions are listed in Qbs Manual at
https://doc.qt.io/qbs/attributions.html
+
+ ### conan.cmake
+
+ CMake script used by Qt Creator's auto setup of package manager dependencies.
+
+ The sources can be found in:
+ * QtCreator/src/share/3rdparty/package-manager/conan.cmake
+ * https://github.com/conan-io/cmake-conan
+
+ The MIT License (MIT)
+
+ Copyright (c) 2018 JFrog
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.