An package-based build system for C++ that leverages premake5 as a generator.
Installation | Quick Start | Contributing |
---|---|---|
Goals | Examples | Documentation |
Create two files:
Main.cpp
#include <iostream>
int main()
{
std::cout << "Hello with CppBuild";
}
Then create package.lua
in the same folder:
return {
name = "MyApp",
type = "ConsoleApp",
cppStandard = "C++17",
files = {
"Main.cpp"
}
}
Run following command in the project root.
cppbuild vs2019
You can select one of the following generators:
vs2019
vs2017
vs2015
gmake
gmake2
xcode
- and more (for complete documentation look here)
Manual:
- Download premake5
- Make it available as
premake5
from console (usePATH
environmental variable)
- Make it available as
- Download CppBuild repository, unpack to any available folder and run
install-cppbuild
script.
Installer:
// TODO
The main goal is to allow easy and powerful C++ project (package) management. CppBuild wants to be a better and more user friendly replacement to CMake. CMake is powerful but its script language is a pain in the ass :(
Visit Examples for more examples.
Visit Documentation for a documentation.
All contributions are appreciated.
Remember that the purpose of this project