Difference between revisions of "Conan new"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
[[conan new --help]]
  
 
  conan new
 
  conan new
Line 10: Line 11:
 
  conan new my_test/0.1
 
  conan new my_test/0.1
 
  File saved: [[conanfile.py]]
 
  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
 +
  
  

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: