Skip to content

Basic template for creating a C++ library with header and source files

License

Notifications You must be signed in to change notification settings

hayesHowYaDoin/cpp_source_template

Repository files navigation

C++ Library Template

This repository hosts a template to be used as a starting point for creating standard C++ libraries. The layout is inspired by the Pitchfork Layout (PFL), and uses a Docker Dev Container with VSCode. The included example code provides an example of how to utilize the layout in order to create a split between private and public headers using the pImpl pattern.

Prerequisites

The following instructions assume that Docker, VSCode and Git are installed on the host computer. The VSCode extension Remote Development (ms-vscode-remote.vscode-remote-extensionpack) is required to open the project in a Dev Container.

Setting Up The Development Environment

  1. Clone the repository onto the host computer with the following command:
     git clone https://github.com/hayesHowYaDoin/cpp_source_template.git
    
  2. Open the folder in VSCode. In the Command Palette (Ctrl+Shift+P), execute the command "Dev Containers: Open Folder In Container..."

And... that's it!

About

Basic template for creating a C++ library with header and source files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published