![]() ![]() Produces debug information for the resulting binary. Links statically in order to create a standalone binary that does not perform any loading of dynamic libraries. Then conanbuildfile.txt is used to properly compile & link to any dependencies in the Conanfile. (unless conanbuildfile.txt already exists). If a conanfile.txt exists, it will run conan install. Nothing else yet, but the following is planned: global configuration (like local, but system-wide), and vcpkg (for Windows).įor example, to link with SFML, we can add -pkg sfml, as long as sfml can be resolved by one of the package sources.Īdditionally, if Conan is installed, it may be used as a way to manage packages.pkgconfig: If you have pkg-config installed on your system, it will be checking for packages from there.Local configuration: If you have a qb.toml file, this will check for packages defined there.Listed here are the sources, in the order that they will be searched for: qb will try to resolve the package by itself, using a variety of sources. pkgĪdds a package to link to by its name. This is specified using the keywords exe, dll, or lib.įor example, to create a dynamic library, you would pass -type dll. Sets the type of the project, which can be an executable or a (dynamic) library. If no name is passed, the name of the current directory will be used.įor example, -name foo will produce a binary foo on Linux, and foo.exe on Windows. You should not provide any file extension here as it will be added automatically. Sets the name of the project and controls the output filename. ![]()
0 Comments
Leave a Reply. |