Conan 1.56 Documentation
17.20 How to capture package version from SCM: git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378 17.21 How to capture package version from SCM: svn . . . . . . . . . . . . . . . . . . includedirs[0] using cpp_info.libdir, cpp_info.bindir and cpp_info.includedir 2.1.7 The scm attribute The scm attribute won’t exist in Conan 2.0. You have to start using the export() and source() methods is responsible for capturing the “coordinates” of the current URL and commit. The new conan.tools.scm.Git can be used for this (do not use the legacy Git helper but this one) • The export() method, after0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.54 Documentation
17.20 How to capture package version from SCM: git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378 17.21 How to capture package version from SCM: svn . . . . . . . . . . . . . . . . . . includedirs[0] using cpp_info.libdir, cpp_info.bindir and cpp_info.includedir 2.1.7 The scm attribute The scm attribute won’t exist in Conan 2.0. You have to start using the export() and source() methods is responsible for capturing the “coordinates” of the current URL and commit. The new conan.tools.scm.Git can be used for this (do not use the legacy Git helper but this one) • The export() method, after0 码力 | 953 页 | 7.65 MB | 1 年前3Conan 1.55 Documentation
17.20 How to capture package version from SCM: git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378 17.21 How to capture package version from SCM: svn . . . . . . . . . . . . . . . . . . includedirs[0] using cpp_info.libdir, cpp_info.bindir and cpp_info.includedir 2.1.7 The scm attribute The scm attribute won’t exist in Conan 2.0. You have to start using the export() and source() methods is responsible for capturing the “coordinates” of the current URL and commit. The new conan.tools.scm.Git can be used for this (do not use the legacy Git helper but this one) • The export() method, after0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.53 Documentation
17.20 How to capture package version from SCM: git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378 17.21 How to capture package version from SCM: svn . . . . . . . . . . . . . . . . . . includedirs[0] using cpp_info.libdir, cpp_info.bindir and cpp_info.includedir 2.1.7 The scm attribute The scm attribute won’t exist in Conan 2.0. You have to start using the export() and source() methods is responsible for capturing the “coordinates” of the current URL and commit. The new conan.tools.scm.Git can be used for this (do not use the legacy Git helper but this one) • The export() method, after0 码力 | 953 页 | 7.64 MB | 1 年前3Conan 1.52 Documentation
17.20 How to capture package version from SCM: git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376 17.21 How to capture package version from SCM: svn . . . . . . . . . . . . . . . . . . information is relative to the self.source_folder self.cpp.source.includedirs = ["."] 2.1.7 The scm attribute The scm attribute won’t exist in Conan 2.0. You have to start using the export() and source() methods is responsible for capturing the “coordinates” of the current URL and commit. The new conan.tools.scm.Git can be used for this (do not use the legacy Git helper but this one) • The export() method, after0 码力 | 943 页 | 7.62 MB | 1 年前3Conan 1.46 Documentation
17.20 How to capture package version from SCM: git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365 17.21 How to capture package version from SCM: svn . . . . . . . . . . . . . . . . . . model for the cpp_info in Conan 2.0 generators . . . . . . . . . . . . . . . . . . . . 876 23.15 scm is removed, replaced by export() and source() methods . . . . . . . . . . . . . . . . . . . . 880 individual hashes of the conanfile.py and all the files exported with exports and exports_sources. If the scm feature is used, Conan can also formulate the recipe revision directly from the version control system0 码力 | 893 页 | 7.46 MB | 1 年前3Conan 1.26 Documentation
15.20 How to capture package version from SCM: git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 15.21 How to capture package version from SCM: svn . . . . . . . . . . . . . . . . . . Git(folder="hello") git.clone("https://github.com/conan-io/hello.git", "master") ... 2. Using the scm attribute of the ConanFile: Warning: This is an experimental feature subject to breaking changes in HelloConan(ConanFile): scm = { "type": "git", "subfolder": "hello", "url": "https://github.com/conan-io/hello.git", "revision": "master" } ... Conan will clone the scm url and will checkout the scm revision. Head0 码力 | 669 页 | 5.51 MB | 1 年前3Conan 1.51 Documentation
17.20 How to capture package version from SCM: git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 374 17.21 How to capture package version from SCM: svn . . . . . . . . . . . . . . . . . . information is relative to the self.source_folder self.cpp.source.includedirs = ["."] 2.1.7 The scm attribute The scm attribute won’t exist in Conan 2.0. You have to start using the export() and source() methods is responsible for capturing the “coordinates” of the current URL and commit. The new conan.tools.scm.Git can be used for this (do not use the legacy Git helper but this one) • The export() method, after0 码力 | 933 页 | 7.58 MB | 1 年前3Conan 1.60 Documentation
17.20 How to capture package version from SCM: git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385 17.21 How to capture package version from SCM: svn . . . . . . . . . . . . . . . . . . includedir 2.1. Migrating the recipes 13 Conan Documentation, Release 1.60.2 2.1.7 The scm attribute The scm attribute won’t exist in Conan 2.0. You have to start using the export() and source() methods is responsible for capturing the “coordinates” of the current URL and commit. The new conan.tools.scm.Git can be used for this (do not use the legacy Git helper but this one) • The export() method, after0 码力 | 983 页 | 7.51 MB | 1 年前3Conan 1.63 Documentation
17.20 How to capture package version from SCM: git . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 17.21 How to capture package version from SCM: svn . . . . . . . . . . . . . . . . . . includedir 2.1. Migrating the recipes 13 Conan Documentation, Release 1.63.0 2.1.7 The scm attribute The scm attribute won’t exist in Conan 2.0. You have to start using the export() and source() methods is responsible for capturing the “coordinates” of the current URL and commit. The new conan.tools.scm.Git can be used for this (do not use the legacy Git helper but this one) • The export() method, after0 码力 | 995 页 | 7.54 MB | 1 年前3
共 813 条
- 1
- 2
- 3
- 4
- 5
- 6
- 82