https://github.com/hugsy/modern-cpp-template
A template repository for my C++ projects, with docs and CI
https://github.com/hugsy/modern-cpp-template
cmake cplusplus cplusplus-23
Last synced: 2 months ago
JSON representation
A template repository for my C++ projects, with docs and CI
- Host: GitHub
- URL: https://github.com/hugsy/modern-cpp-template
- Owner: hugsy
- License: mit
- Created: 2022-04-02T00:20:09.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T16:33:11.000Z (10 months ago)
- Last Synced: 2025-03-24T07:11:33.679Z (3 months ago)
- Topics: cmake, cplusplus, cplusplus-23
- Language: CMake
- Homepage:
- Size: 37.1 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: docs/README.md
- License: LICENSE
Awesome Lists containing this project
README
# ChangeMe
### Start
- with [`gh`](https://github.com/cli/cli) (preferred)
```console
gh repo create ChangeMe --template hugsy/modern-cpp-template --clone # --private
```- with `git`
```console
git clone --depth 1 -q https://github.com/hugsy/modern-cpp-template ChangeMe
```### Configure
Replace all `ChangeMe` values
```console
cd ChangeMe
```Then
```console
cmake -S . -B build -T host=x64 -A x64
cmake --build build
```### Build
```console
cmake --build ./build
```