Skip to content

sjbeskur/cargo-newcpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo newcpp

This tool extends Cargo to allow for the creation of new C++ projects in the spirit of cargo new <project>

Ensure that you have a fairly recent version of rust/cargo installed. On Ubuntu you might also want to install cmake and gcc or g++ so that you can actually build project.

cargo install cargo-newcpp

Create a new project

Create a new CPP project with the following command.

cargo newcpp <your_project_name>

This will output to the following default project scaffolding.

scaffolding

Building the CPP project with cargo

Once you've create the project, you can use the following example to build the project.

cd <your_project_name> 
cargo buildcpp

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published