Difference between revisions of "Conan create"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>conan create</code> builds a binary package for a recipe ([[conanfile.py]]).
+
{{lowercase}}
 +
<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
  
 
  conan create . "${CI_COMMIT_TAG}@dev/stable"
 
  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 ==
 
== See also ==

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: