Conan 2.5 Documentationsystem integrations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 2.5 New custom user commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . achieve a better IDE integration, for example via CMakeP- resets.json. See also: • Tools reference 2.5 New custom user commands Conan 2 allows extending Conan with custom user commands, written in python include versions 1.3 and 1.8.1, but will exclude versions like 0.8 or 2.0. Likewise requires = "pkg/[~2.5]" will include 2.5.0 and 2.5.3, but exclude 2.1, 2.7, 2.8. The caret ^ operator is very similar to0 码力 | 769 页 | 4.70 MB | 1 年前3
Conan 1.6 Documentationbinaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.5 Initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . installer. You don’t need to install python. 8 Chapter 2. Install conan Documentation, Release 1.6.1 2.5 Initial configuration Check if Conan is installed correctly. Run the following command in your console: main main(sys.argv[1:]) Test your conan script. $ conan You should see the Conan commands help. 2.5. Initial configuration 9 conan Documentation, Release 1.6.1 2.7 Python 2 Deprecation Notice Before0 码力 | 428 页 | 2.87 MB | 1 年前3
Conan 1.7 Documentationbinaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.5 Initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . installer. You don’t need to install python. 8 Chapter 2. Install conan Documentation, Release 1.7.4 2.5 Initial configuration Check if Conan is installed correctly. Run the following command in your console: main main(sys.argv[1:]) Test your conan script. $ conan You should see the Conan commands help. 2.5. Initial configuration 9 conan Documentation, Release 1.7.4 2.7 Python 2 Deprecation Notice Before0 码力 | 433 页 | 2.95 MB | 1 年前3
Conan 1.8 Documentationbinaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.5 Initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . installer. You don’t need to install python. 8 Chapter 2. Install conan Documentation, Release 1.8.4 2.5 Initial configuration Check if Conan is installed correctly. Run the following command in your console: main main(sys.argv[1:]) Test your conan script. $ conan You should see the Conan commands help. 2.5. Initial configuration 9 conan Documentation, Release 1.8.4 2.7 Update If installed via pip, Conan0 码力 | 458 页 | 3.03 MB | 1 年前3
Conan 1.9 Documentationbinaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.5 Initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . installer. You don’t need to install python. 8 Chapter 2. Install conan Documentation, Release 1.9.2 2.5 Initial configuration Check if Conan is installed correctly. Run the following command in your console: main main(sys.argv[1:]) Test your conan script. $ conan You should see the Conan commands help. 2.5. Initial configuration 9 conan Documentation, Release 1.9.2 2.7 Update If installed via pip, Conan0 码力 | 470 页 | 3.05 MB | 1 年前3
Conan 1.10 Documentationbinaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.5 Initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . installer. You don’t need to install python. 8 Chapter 2. Install conan Documentation, Release 1.10.2 2.5 Initial configuration Check if Conan is installed correctly. Run the following command in your console: main main(sys.argv[1:]) Test your conan script. $ conan You should see the Conan commands help. 2.5. Initial configuration 9 conan Documentation, Release 1.10.2 2.7 Update If installed via pip, Conan0 码力 | 479 页 | 3.09 MB | 1 年前3
Conan 1.3 Documentationplatform, build system agnostic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.5 Stable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . depend on packages created with other build system than the one you are using to build your project. 2.5 Stable From conan 1.0, there is a commitment to stability, not breaking user space while evolving configure() and config_options() methods. class MyLibConan(ConanFile): name = "MyLib" version = "2.5" settings = "os", "compiler", "build_type", "arch" options = {"static": [True, False], "header_only":0 码力 | 397 页 | 2.77 MB | 1 年前3
Conan 1.4 Documentationplatform, build system agnostic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.5 Stable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . depend on packages created with other build system than the one you are using to build your project. 2.5 Stable From conan 1.0, there is a commitment to stability, not breaking user space while evolving configure() and config_options() methods. class MyLibConan(ConanFile): name = "MyLib" version = "2.5" settings = "os", "compiler", "build_type", "arch" options = {"static": [True, False], "header_only":0 码力 | 421 页 | 2.84 MB | 1 年前3
Conan 1.5 Documentationplatform, build system agnostic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.5 Stable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . depend on packages created with other build system than the one you are using to build your project. 2.5 Stable From Conan 1.0, there is a commitment to stability, not breaking user space while evolving configure() and config_options() methods. class MyLibConan(ConanFile): name = "MyLib" version = "2.5" settings = "os", "compiler", "build_type", "arch" options = {"static": [True, False], "header_only":0 码力 | 422 页 | 2.85 MB | 1 年前3
Conan 1.11 Documentationbinaries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.5 Initial configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . download the installer for your platform! Execute the installer. You don’t need to install python. 2.5 Initial configuration Check if Conan is installed correctly. Run the following command in your console: configure() and config_options() methods. class MyLibConan(ConanFile): name = "MyLib" version = "2.5" settings = "os", "compiler", "build_type", "arch" options = {"static": [True, False], "header_only":0 码力 | 490 页 | 4.05 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













