Conan 2.5 Documentationio/en/stable/, or https://pypi.org/project/virtualenvwrapper-win/ in Windows) With Python 3, the built-in module venv can also be used instead (check https://docs.python.org/3/ library/venv.html). If not using a very simple C++ language project with this structure: . MODULE.bazel conanfile.txt main BUILD demo.cpp This project contains a MODULE.bazel file loading the Conan dependencies (in this case only Package Manager!\n", "Conan"); return EXIT_SUCCESS; } Listing 23: MODULE.bazel load_conan_dependencies = use_extension("//conan:conan_deps_module_extension.bzl", ˓→"conan_extension") use_repo(load_conan_dependencies0 码力 | 769 页 | 4.70 MB | 1 年前3
Conan 2.4 Documentationio/en/stable/, or https://pypi.org/project/virtualenvwrapper-win/ in Windows) With Python 3, the built-in module venv can also be used instead (check https://docs.python.org/3/ library/venv.html). If not using a very simple C++ language project with this structure: . MODULE.bazel conanfile.txt main BUILD demo.cpp This project contains a MODULE.bazel file loading the Conan dependencies (in this case only Package Manager!\n", "Conan"); return EXIT_SUCCESS; } Listing 23: MODULE.bazel load_conan_dependencies = use_extension("//conan:conan_deps_module_extension.bzl", ˓→"conan_extension") use_repo(load_conan_dependencies0 码力 | 769 页 | 4.69 MB | 1 年前3
Conan 2.6 Documentationio/en/stable/, or https://pypi.org/project/virtualenvwrapper-win/ in Windows) With Python 3, the built-in module venv can also be used instead (check https://docs.python.org/3/ library/venv.html). If not using a very simple C++ language project with this structure: . MODULE.bazel conanfile.txt main BUILD demo.cpp This project contains a MODULE.bazel file loading the Conan dependencies (in this case only Package Manager!\n", "Conan"); return EXIT_SUCCESS; } Listing 23: MODULE.bazel load_conan_dependencies = use_extension("//conan:conan_deps_module_extension.bzl", ˓→"conan_extension") use_repo(load_conan_dependencies0 码力 | 777 页 | 4.91 MB | 10 月前3
Conan 2.7 Documentationio/en/stable/, or https://pypi.org/project/virtualenvwrapper-win/ in Windows) With Python 3, the built-in module venv can also be used instead (check https://docs.python.org/3/ library/venv.html). If not using a very simple C++ language project with this structure: . MODULE.bazel conanfile.txt main BUILD demo.cpp This project contains a MODULE.bazel file loading the Conan dependencies (in this case only Package Manager!\n", "Conan"); return EXIT_SUCCESS; } Listing 23: MODULE.bazel load_conan_dependencies = use_extension("//conan:conan_deps_module_extension.bzl", ˓→"conan_extension") use_repo(load_conan_dependencies0 码力 | 779 页 | 4.93 MB | 10 月前3
Conan 2.10 Documentationio/en/stable/, or https://pypi.org/project/virtualenvwrapper-win/ in Windows) With Python 3, the built-in module venv can also be used instead (check https://docs.python.org/3/ library/venv.html). If not using a very simple C++ language project with this structure: . MODULE.bazel conanfile.txt main BUILD demo.cpp This project contains a MODULE.bazel file loading the Conan dependencies (in this case only Package Manager!\n", "Conan"); return EXIT_SUCCESS; } Listing 23: MODULE.bazel load_conan_dependencies = use_extension("//conan:conan_deps_module_extension.bzl", ˓→"conan_extension") use_repo(load_conan_dependencies0 码力 | 803 页 | 5.02 MB | 10 月前3
Conan 2.9 Documentationio/en/stable/, or https://pypi.org/project/virtualenvwrapper-win/ in Windows) With Python 3, the built-in module venv can also be used instead (check https://docs.python.org/3/ library/venv.html). If not using a very simple C++ language project with this structure: . MODULE.bazel conanfile.txt main BUILD demo.cpp This project contains a MODULE.bazel file loading the Conan dependencies (in this case only Package Manager!\n", "Conan"); return EXIT_SUCCESS; } Listing 23: MODULE.bazel load_conan_dependencies = use_extension("//conan:conan_deps_module_extension.bzl", ˓→"conan_extension") use_repo(load_conan_dependencies0 码力 | 795 页 | 4.99 MB | 10 月前3
Conan 2.8 Documentationio/en/stable/, or https://pypi.org/project/virtualenvwrapper-win/ in Windows) With Python 3, the built-in module venv can also be used instead (check https://docs.python.org/3/ library/venv.html). If not using a very simple C++ language project with this structure: . MODULE.bazel conanfile.txt main BUILD demo.cpp This project contains a MODULE.bazel file loading the Conan dependencies (in this case only Package Manager!\n", "Conan"); return EXIT_SUCCESS; } Listing 23: MODULE.bazel load_conan_dependencies = use_extension("//conan:conan_deps_module_extension.bzl", ˓→"conan_extension") use_repo(load_conan_dependencies0 码力 | 785 页 | 4.95 MB | 10 月前3
Conan 2.0 Documentationio/en/stable/, or https://pypi.org/project/virtualenvwrapper-win/ in Windows) With Python 3, the built-in module venv can also be used instead (check https://docs.python.org/3/ library/venv.html). If not using file checks for a C++ compiler using the AC_PROG_CXX macro and also checks for the fmt.pc pkg-config module using the PKG_CHECK_MODULES macro. Listing 22: configure.ac AC_INIT([stringformatter], [0.1.0]) myfunction() from the dependency module: $ conan build . ... Hello myfunction!!!! If for some reason the consumer wants to force the usage from the tool_requires() as a CMake module, the consumer could do deps0 码力 | 652 页 | 4.00 MB | 1 年前3
Conan 2.1 Documentationio/en/stable/, or https://pypi.org/project/virtualenvwrapper-win/ in Windows) With Python 3, the built-in module venv can also be used instead (check https://docs.python.org/3/ library/venv.html). If not using file checks for a C++ compiler using the AC_PROG_CXX macro and also checks for the fmt.pc pkg-config module using the PKG_CHECK_MODULES macro. Listing 23: configure.ac AC_INIT([stringformatter], [0.1.0]) myfunction() from the dependency module: $ conan build . ... Hello myfunction!!!! If for some reason the consumer wants to force the usage from the tool_requires() as a CMake module, the consumer could do deps0 码力 | 694 页 | 4.13 MB | 1 年前3
Conan 1.56 Documentationdifferent target names for both config and module CMake generated files. For example, you have a package named myssl and you want to generate a Findmyssl.cmake module that declares the target MySSL::SSL, but You can do that using the cmake_module_target_name property. Also, when setting this property, remember to set cmake_find_mode so that CMakeDeps generates those module files. Let’s see an example: class package_info(self): self.cpp_info.set_property("cmake_target_name", "MySSL") self.cpp_info.set_property("cmake_module_target_name", "MySSL::SSL") self.cpp_info.set_property("cmake_find_mode", "both") ... Migrating0 码力 | 963 页 | 7.67 MB | 1 年前3
共 74 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













