Unicorn-plus-plus is a packet manager that boosts your .cpp projects with ✨magic✨.
- Requirements -
- Install npm
- Execute the command
npm install unicorn-plus-plus-cli -g
UPP is a wrapper for CMAKE. It aims to standardize the development of cpp libraries.
The main feature is the upp.json configuration file. At the moment, the available features are only the ones shown in this example:
{
"name": "Unicorn",
"namespace": "Magicland",
"version": "4.0.4",
"description": "This Unicorn packet is awersome.",
"modules": [
{
"name": "MagiclandCat",
"tag": "HEAD",
"path": "https://github.com/unicorn-plus-plus/cat",
},
{
"name": "MagiclandGuineapig",
"tag": "HEAD",
"path": "https://github.com/unicorn-plus-plus/guineapig",
},
]
}
If you want to see help just press
upp
in console.
Here is the list of all commands available:
new:simple [name]
Create a new simple project. Use this if you want to build a simple main to test stuff.new:executable [name] -n [namespace]
Create a new executable project with namespace. Use this for standard project. You must specify a namespace to avoid problems with hierarchy.new:interface [name] -n [namespace]
Create a new interface project with namespace. Similar to executable but you need this version if you use full templates and you don't have .cpp file to compile.help [command]
Display help for command.
- Icon: made by Freepik from www.flaticon.com