Conan 1.19 Documentation
Inspecting Dependencies The retrieved packages are installed to your local user cache (typically .conan/data), and can be reused from this location for other projects. This allows to clean your current project [options] cxx_14: False enable_apacheconnector: False enable_cppparser: False enable_crypto: True enable_data: True ... There is also the possibility to generate a table for all package binaries available in folder to my "bin"␣ ˓→folder Note: You can explore the package folder in your local cache (~/.conan/data) and see where the shared libraries are. It is common that *.dll are copied to /bin. The rest of the0 码力 | 609 页 | 4.88 MB | 1 年前3Conan 1.20 Documentation
Inspecting Dependencies The retrieved packages are installed to your local user cache (typically .conan/data), and can be reused from this location for other projects. This allows to clean your current project [options] cxx_14: False enable_apacheconnector: False enable_cppparser: False enable_crypto: True enable_data: True ... There is also the possibility to generate a table for all package binaries available in folder to my "bin"␣ ˓→folder Note: You can explore the package folder in your local cache (~/.conan/data) and see where the shared libraries are. It is common that *.dll are copied to /bin. The rest of the0 码力 | 611 页 | 4.89 MB | 1 年前3Conan 1.18 Documentation
Inspecting Dependencies The retrieved packages are installed to your local user cache (typically .conan/data), and can be reused from this location for other projects. This allows to clean your current project [options] cxx_14: False enable_apacheconnector: False enable_cppparser: False enable_crypto: True enable_data: True ... There is also the possibility to generate a table for all package binaries available in folder to my "bin"␣ ˓→folder Note: You can explore the package folder in your local cache (~/.conan/data) and see where the shared libraries are. It is common that *.dll are copied to /bin. The rest of the0 码力 | 584 页 | 4.80 MB | 1 年前3Conan 1.56 Documentation
of the default_options attribute has changed when referring to a dependency. It is related to the unified patterns in the command line. Listing 5: From: from conans import ConanFile class Pkg(Conanfile): def _source_subfolder(self): return "source_subfolder" def source(self): tools.get(**self.conan_data["sources"][self.version], destination=self._source_subfolder, strip_root=True) Listing 13: To: from Documentation, Release 1.56.0 (continued from previous page) def source(self): get(self, **self.conan_data["sources"][self.version], strip_root=True) When declaring the layout, the variables self.source_folder0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.55 Documentation
of the default_options attribute has changed when referring to a dependency. It is related to the unified patterns in the command line. Listing 5: From: from conans import ConanFile class Pkg(Conanfile): def _source_subfolder(self): return "source_subfolder" def source(self): tools.get(**self.conan_data["sources"][self.version], destination=self._source_subfolder, strip_root=True) Listing 13: To: from Documentation, Release 1.55.0 (continued from previous page) def source(self): get(self, **self.conan_data["sources"][self.version], strip_root=True) Declaring the layout, the variables self.source_folder0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.52 Documentation
of the default_options attribute has changed when referring to a dependency. It is related to the unified patterns in the command line. Listing 5: From: from conans import ConanFile class Pkg(Conanfile): def _source_subfolder(self): return "source_subfolder" def source(self): tools.get(**self.conan_data["sources"][self.version], destination=self._source_subfolder, strip_root=True) Listing 12: To: from def layout(self): basic_layout(self, src_folder="source") def source(self): get(self, **self.conan_data["sources"][self.version], strip_root=True) Declaring the layout, the variables self.source_folder0 码力 | 943 页 | 7.62 MB | 1 年前3Conan 1.53 Documentation
of the default_options attribute has changed when referring to a dependency. It is related to the unified patterns in the command line. Listing 5: From: from conans import ConanFile class Pkg(Conanfile): def _source_subfolder(self): return "source_subfolder" def source(self): tools.get(**self.conan_data["sources"][self.version], destination=self._source_subfolder, strip_root=True) Listing 13: To: from Documentation, Release 1.53.0 (continued from previous page) def source(self): get(self, **self.conan_data["sources"][self.version], strip_root=True) Declaring the layout, the variables self.source_folder0 码力 | 953 页 | 7.64 MB | 1 年前3Conan 1.54 Documentation
of the default_options attribute has changed when referring to a dependency. It is related to the unified patterns in the command line. Listing 5: From: from conans import ConanFile class Pkg(Conanfile): def _source_subfolder(self): return "source_subfolder" def source(self): tools.get(**self.conan_data["sources"][self.version], destination=self._source_subfolder, strip_root=True) Listing 13: To: from Documentation, Release 1.54.0 (continued from previous page) def source(self): get(self, **self.conan_data["sources"][self.version], strip_root=True) Declaring the layout, the variables self.source_folder0 码力 | 953 页 | 7.65 MB | 1 年前3Conan 1.51 Documentation
of the default_options attribute has changed when referring to a dependency. It is related to the unified patterns in the command line. Listing 5: From: from conans import ConanFile class Pkg(Conanfile): def _source_subfolder(self): return "source_subfolder" def source(self): tools.get(**self.conan_data["sources"][self.version], destination=self._source_subfolder, strip_root=True) Listing 12: To: from Documentation, Release 1.51.3 (continued from previous page) def source(self): get(self, **self.conan_data["sources"][self.version], strip_root=True) Declaring the layout, the variables self.source_folder0 码力 | 933 页 | 7.58 MB | 1 年前3Conan 1.47 Documentation
setting See conan install reference. The local cache The local package cache is located at ~/.conan/data by default (but this is configurable). Clear packages from cache: $ conan remove "" --force Inspecting Dependencies The retrieved packages are installed to your local user cache (typically .conan/data), and can be reused from this location for other projects. This allows to clean your current project [options] cxx_14: False enable_apacheconnector: False enable_cppparser: False enable_crypto: True enable_data: True ... The @ symbol at the end of the package name is important to search for a specific package 0 码力 | 907 页 | 7.50 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8