Difference between revisions of "Conan new"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[conan new --help]]
  
 
  conan new
 
  conan new
Line 4: Line 5:
 
  conan new: error: the following arguments are required: name
 
  conan new: error: the following arguments are required: name
 
  ERROR: Exiting with code: 2
 
  ERROR: Exiting with code: 2
 +
 +
conan new my_test
 +
ERROR: Specify the 'name' and the 'version'
 +
 +
conan new my_test/0.1
 +
File saved: [[conanfile.py]]
 +
 +
conan new my_test/0.1 -t
 +
File saved: conanfile.py
 +
File saved: test_package/CMakeLists.txt
 +
File saved: test_package/conanfile.py
 +
File saved: test_package/example.cpp
 +
 +
  
 
== See also ==
 
== See also ==

Latest revision as of 09:50, 4 May 2021

conan new --help
conan new
usage: conan new [-h] [-t] [-i] [-c] [-s] [-b] [-m TEMPLATE] [-cis] [-cilg] [-cilc] [-cio] [-ciw] [-ciglg] [-ciglc] [-ciccg] [-ciccc] [-cicco] [-gi] [-ciu CI_UPLOAD_URL] [-d DEFINE] name
conan new: error: the following arguments are required: name
ERROR: Exiting with code: 2
conan new my_test
ERROR: Specify the 'name' and the 'version'
conan new my_test/0.1
File saved: conanfile.py
conan new my_test/0.1 -t
File saved: conanfile.py
File saved: test_package/CMakeLists.txt
File saved: test_package/conanfile.py
File saved: test_package/example.cpp


See also[edit]

Advertising: