Conan 1.16 Documentation
environment. You can fix it by upgrading pip this way: $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py $ python3.4 get-pip.py $ pip install conan • When Conan is installed with pip install --userconanfile (.py or .txt). config Manages configuration. Edits the conan.conf or installs config files. get Gets a file or list a directory of a given reference or package. info Gets information about the dependency tracker or write us to info@conan.io. 10 Chapter 2. Install CHAPTER THREE GETTING STARTED Let’s get started with an example: We are going to create a an MD5 encrypter app that uses one of the most popular 0 码力 | 545 页 | 4.34 MB | 1 年前3Conan 1.15 Documentation
environment. You can fix it by upgrading pip this way: $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py $ python3.4 get-pip.py $ pip install conan 2.2 Install from brew (OSX) There is a brew recipe conanfile (.py or .txt). config Manages configuration. Edits the conan.conf or installs config files. get Gets a file or list a directory of a given reference or package. info Gets information about the dependency tracker or write us to info@conan.io. 10 Chapter 2. Install CHAPTER THREE GETTING STARTED Let’s get started with an example: We are going to create a an MD5 encrypter app that uses one of the most popular0 码力 | 540 页 | 4.22 MB | 1 年前3Conan 1.56 Documentation
be updated to be compatible with Conan 2.0. There are 2.0 features ported to Conan 1.X so you can get a compatible recipe with 2.0 using Conan 1.X. • The conan commands have also changed, but there are Pkg(Conanfile): @property 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 from conan import ConanFile from conan.tools.layout import basic_layout from conan.tools.files import get class Pkg(Conanfile): def layout(self): basic_layout(self, src_folder="source") (continues on next0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.55 Documentation
be updated to be compatible with Conan 2.0. There are 2.0 features ported to Conan 1.X so you can get a compatible recipe with 2.0 using Conan 1.X. • The conan commands have also changed, but there are Pkg(Conanfile): @property 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 from conan import ConanFile from conan.tools.layout import basic_layout from conan.tools.files import get class Pkg(Conanfile): def layout(self): basic_layout(self, src_folder="source") (continues on next0 码力 | 963 页 | 7.67 MB | 1 年前3Conan 1.13 Documentation
environment. You can fix it by upgrading pip this way: $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py $ python3.4 get-pip.py $ pip install conan 2.2 Install from brew (OSX) There is a brew recipe conanfile (.py or .txt). config Manages configuration. Edits the conan.conf or installs config files. get Gets a file or list a directory of a given reference or package. info Gets information about the dependency tracker or write us to info@conan.io. 10 Chapter 2. Install CHAPTER THREE GETTING STARTED Let’s get started with an example: We are going to create a an MD5 encrypter app that uses one of the most popular0 码力 | 518 页 | 4.14 MB | 1 年前3Conan 1.14 Documentation
environment. You can fix it by upgrading pip this way: $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py $ python3.4 get-pip.py $ pip install conan 2.2 Install from brew (OSX) There is a brew recipe conanfile (.py or .txt). config Manages configuration. Edits the conan.conf or installs config files. get Gets a file or list a directory of a given reference or package. info Gets information about the dependency tracker or write us to info@conan.io. 10 Chapter 2. Install CHAPTER THREE GETTING STARTED Let’s get started with an example: We are going to create a an MD5 encrypter app that uses one of the most popular0 码力 | 528 页 | 4.17 MB | 1 年前3Conan 1.54 Documentation
be updated to be compatible with Conan 2.0. There are 2.0 features ported to Conan 1.X so you can get a compatible recipe with 2.0 using Conan 1.X. • The conan commands have also changed, but there are Pkg(Conanfile): @property 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 from conan import ConanFile from conan.tools.layout import basic_layout from conan.tools.files import get class Pkg(Conanfile): def layout(self): basic_layout(self, src_folder="source") (continues on next0 码力 | 953 页 | 7.65 MB | 1 年前3Conan 1.53 Documentation
be updated to be compatible with Conan 2.0. There are 2.0 features ported to Conan 1.X so you can get a compatible recipe with 2.0 using Conan 1.X. • The conan commands have also changed, but there are Pkg(Conanfile): @property 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 from conan import ConanFile from conan.tools.layout import basic_layout from conan.tools.files import get class Pkg(Conanfile): def layout(self): basic_layout(self, src_folder="source") (continues on next0 码力 | 953 页 | 7.64 MB | 1 年前3Conan 1.52 Documentation
be updated to be compatible with Conan 2.0. There are 2.0 features ported to Conan 1.X so you can get a compatible recipe with 2.0 using Conan 1.X. • The conan commands have also changed, but there are Pkg(Conanfile): @property 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 import basic_layout from conan.tools.files import get class Pkg(Conanfile): def layout(self): basic_layout(self, src_folder="source") def source(self): get(self, **self.conan_data["sources"][self.version]0 码力 | 943 页 | 7.62 MB | 1 年前3Conan 1.18 Documentation
environment. You can fix it by upgrading pip this way: $ curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py $ python3.4 get-pip.py $ pip install conan • When Conan is installed with pip install --userrequirements specified in a recipe (conanfile.py or conanfile. ˓→txt). config Manages Conan configuration. get Gets a file or list a directory of a given reference or package. info Gets information about the dependency tracker or write us to info@conan.io. 10 Chapter 2. Install CHAPTER THREE GETTING STARTED Let’s get started with an example: We are going to create an MD5 encrypter app that uses one of the most popular 0 码力 | 584 页 | 4.80 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8