A modern, opinionated C++ project template designed to help you quickly start your next project.
- Configured for Visual Studio Code.
- Consistent development environments with Development Containers. environments.
- Build system with CMake.
- Unit testing with GoogleTest.
- Code formatting with Clang-Format.
.
├── src/ # Source files
├── test/ # Test files
└── third_party/ # External dependencies
- Clone the repository:
git clone https://github.com/milesbarr/cpp-project-template.git cd cpp-project-template
- Initialize and update submodules:
git submodule update --init --recursive
- Launch Visual Studio Code and open the project folder.
- When prompted, click "Reopen in Container"
- Start coding!
mkdir build
cd build
cmake ..
cmake --build .
cd build
ctest
This project is licensed under the MIT License.