A skeleton project aimed at starting C++ projects as quickly as possible.
- CMake
- Conan
- Ninja
-
Clone the repository:
git clone https://github.com/bigcat26/cxx-starter.git cd cxx-starter -
Open in VSCode:
# If the editor's command-line tool (e.g., 'code', 'cursor') is in your PATH code .
-
Set up the project:
Run the following commands in the VSCode integrated terminal:
# Create a build directory and navigate into it mkdir build && cd build # Install dependencies using Conan conan install .. --output-folder=. --build=missing
-
Configure and Build:
Use the VSCode Command Palette (
Cmd + Shift + Pon macOS,Ctrl + Shift + Pon Windows/Linux):- Run
CMake: Configure - Run
CMake: Build
- Run
-
Debug:
- Press
F5to start a debugging session.
- Press