This is a minimal, build-ready C++ project scaffold using CMake. It includes a clean directory layout and a built-in CLI tool (gold) to streamline setup, building, and execution.
To use this project (via gold or manual build), you’ll need:
- CMake: must be installed and available in your PATH
- GTest: must be installed in order to run tests
- Python 3: required to run the
goldCLI tool
Use the included gold CLI to set up, build, and run your project.
-
Run install:
./goldpkg/install.sh
-
Run project setup:
gold setup
-
Run your project:
gold run
For more info, see the gold tool README:
https://github.com/JamieWells1/cpp_skeleton/blob/main/goldpkg/README.md
If you prefer to build manually:
- Replace all instances of
PROJECT_NAMEwith your actual project name. - Create and enter a build directory:
mkdir build cd build - Configure and build:
cmake .. cmake --build . - Run your binary:
./bin/{PROJECT_NAME}