Difference between revisions of "Conan new"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
  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
 +
  
  

Revision as of 09:49, 4 May 2021

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

Advertising: