 Conan 1.42 DocumentationCopy the relevant contents from Conan 1.42 DocumentationCopy the relevant contents from
- to the user's ~/. ˓→conan directory. $ conan config install ./my_config.conf Alternatively, copying files and editing conan.conf can be done manually. Set up configurations: /bin # Copies all dll files from packages bin folder to my "bin" folder lib, *.dylib* -> ./bin # Copies all dylib files from packages lib folder to my "bin"␣ ˓→folder Note: You can explore the package folder profiles applied in the order they are specified: $ conan install .. -pr=../poco_clang_3.5 -pr=my_build_tool1 -pr=my_build_tool2 See also: Read more about Profiles for full reference. There is a Conan command0 码力 | 841 页 | 7.12 MB | 1 年前3
 Conan 1.25 Documentation/bin # Copies all dll files from packages bin folder to my "bin" folder lib, *.dylib* -> ./bin # Copies all dylib files from packages lib folder to my "bin"␣ ˓→folder Note: You can explore the package folder profiles applied in the order they are specified: $ conan install .. -pr=../poco_clang_3.5 -pr=my_build_tool1 -pr=my_build_tool2 See also: Read more about Profiles for full reference. There is a Conan command build_type=Debug $ conan create . demo/testing -o hello:shared=True -s arch=x86 $ conan create . demo/testing -pr my_gcc49_debug_profile ... $ conan create ... Omitting user/channel Warning: This is an experimental0 码力 | 655 页 | 5.45 MB | 1 年前3 Conan 1.25 Documentation/bin # Copies all dll files from packages bin folder to my "bin" folder lib, *.dylib* -> ./bin # Copies all dylib files from packages lib folder to my "bin"␣ ˓→folder Note: You can explore the package folder profiles applied in the order they are specified: $ conan install .. -pr=../poco_clang_3.5 -pr=my_build_tool1 -pr=my_build_tool2 See also: Read more about Profiles for full reference. There is a Conan command build_type=Debug $ conan create . demo/testing -o hello:shared=True -s arch=x86 $ conan create . demo/testing -pr my_gcc49_debug_profile ... $ conan create ... Omitting user/channel Warning: This is an experimental0 码力 | 655 页 | 5.45 MB | 1 年前3
 Conan 1.26 Documentation/bin # Copies all dll files from packages bin folder to my "bin" folder lib, *.dylib* -> ./bin # Copies all dylib files from packages lib folder to my "bin"␣ ˓→folder Note: You can explore the package folder profiles applied in the order they are specified: $ conan install .. -pr=../poco_clang_3.5 -pr=my_build_tool1 -pr=my_build_tool2 See also: Read more about Profiles for full reference. There is a Conan command build_type=Debug $ conan create . demo/testing -o hello:shared=True -s arch=x86 $ conan create . demo/testing -pr my_gcc49_debug_profile ... $ conan create ... Omitting user/channel Warning: This is an experimental0 码力 | 669 页 | 5.51 MB | 1 年前3 Conan 1.26 Documentation/bin # Copies all dll files from packages bin folder to my "bin" folder lib, *.dylib* -> ./bin # Copies all dylib files from packages lib folder to my "bin"␣ ˓→folder Note: You can explore the package folder profiles applied in the order they are specified: $ conan install .. -pr=../poco_clang_3.5 -pr=my_build_tool1 -pr=my_build_tool2 See also: Read more about Profiles for full reference. There is a Conan command build_type=Debug $ conan create . demo/testing -o hello:shared=True -s arch=x86 $ conan create . demo/testing -pr my_gcc49_debug_profile ... $ conan create ... Omitting user/channel Warning: This is an experimental0 码力 | 669 页 | 5.51 MB | 1 年前3
 Conan 1.24 Documentation/bin # Copies all dll files from packages bin folder to my "bin" folder lib, *.dylib* -> ./bin # Copies all dylib files from packages lib folder to my "bin"␣ ˓→folder Note: You can explore the package folder profiles applied in the order they are specified: $ conan install .. -pr=../poco_clang_3.5 -pr=my_build_tool1 -pr=my_build_tool2 See also: Read more about Profiles for full reference. There is a Conan command build_type=Debug $ conan create . demo/testing -o hello:shared=True -s arch=x86 $ conan create . demo/testing -pr my_gcc49_debug_profile ... $ conan create ... Omitting user/channel Warning: This is an experimental0 码力 | 647 页 | 5.31 MB | 1 年前3 Conan 1.24 Documentation/bin # Copies all dll files from packages bin folder to my "bin" folder lib, *.dylib* -> ./bin # Copies all dylib files from packages lib folder to my "bin"␣ ˓→folder Note: You can explore the package folder profiles applied in the order they are specified: $ conan install .. -pr=../poco_clang_3.5 -pr=my_build_tool1 -pr=my_build_tool2 See also: Read more about Profiles for full reference. There is a Conan command build_type=Debug $ conan create . demo/testing -o hello:shared=True -s arch=x86 $ conan create . demo/testing -pr my_gcc49_debug_profile ... $ conan create ... Omitting user/channel Warning: This is an experimental0 码力 | 647 页 | 5.31 MB | 1 年前3
 Conan 1.56 Documentationimport os from conans import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. There are two generators0 码力 | 963 页 | 7.67 MB | 1 年前3 Conan 1.56 Documentationimport os from conans import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. There are two generators0 码力 | 963 页 | 7.67 MB | 1 年前3
 Conan 1.55 Documentationimport os from conans import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. There are two generators0 码力 | 963 页 | 7.67 MB | 1 年前3 Conan 1.55 Documentationimport os from conans import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. There are two generators0 码力 | 963 页 | 7.67 MB | 1 年前3
 Conan 1.54 Documentationimport os from conans import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. There are two generators0 码力 | 953 页 | 7.65 MB | 1 年前3 Conan 1.54 Documentationimport os from conans import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. There are two generators0 码力 | 953 页 | 7.65 MB | 1 年前3
 Conan 1.52 Documentationimport os from conans import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. 2.1. Migrating the0 码力 | 943 页 | 7.62 MB | 1 年前3 Conan 1.52 Documentationimport os from conans import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. 2.1. Migrating the0 码力 | 943 页 | 7.62 MB | 1 年前3
 Conan 1.53 Documentationimport os from conans import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. There are two generators0 码力 | 953 页 | 7.64 MB | 1 年前3 Conan 1.53 Documentationimport os from conans import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. There are two generators0 码力 | 953 页 | 7.64 MB | 1 年前3
 Conan 1.63 Documentationimport os from conan import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. There are two generators0 码力 | 995 页 | 7.54 MB | 1 年前3 Conan 1.63 Documentationimport os from conan import ConanFile class Pkg(ConanFile): requires = "pkg/1.0" def generate(self): my_value = self.dependencies[pkg].conf_info.get("user.myconf:foo") ... Note: The consumer recipes will generate a my_launcher.sh but also will create a "conan_build.sh"␣ ˓→calling "my_launcher.sh" envvars.save_script("my_launcher") def build(self): # by default env="conanbuild" self.run("my_build_system something like: $ conan_build.sh && my_build_system.exe So the environment variable foo declared in the generate() method will be automatically passed to the my_build_system.exe. There are two generators0 码力 | 995 页 | 7.54 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













