Difference between revisions of "Conan create"

From wikieduonline
Jump to navigation Jump to search
 
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
<code>conan create</code> builds a binary package for a recipe ([[conanfile.py]]).
+
<code>conan create</code> [[builds]] a binary package for a recipe ([[conanfile.py]]).
 
* https://docs.conan.io/en/latest/reference/commands/creator/create.html
 
* https://docs.conan.io/en/latest/reference/commands/creator/create.html
  

Latest revision as of 13:47, 2 November 2021

conan create builds a binary package for a recipe (conanfile.py).

conan create . "${CI_COMMIT_TAG}@dev/stable"


conan create . demo/testing is equivalent to:

$ conan export . demo/testing
$ conan install hello/0.1@demo/testing --build=hello
# package is created now, use test to test it
$ cd test_package
$ conan test . hello/0.1@demo/testing

See also[edit]

Advertising: