Skip to content
/ rpp-p Public template
generated from eheperson/rpp-n

Cross-platform C++ development template using CMake build system. Supports macOS and Debian-based Linux distributions. Future updates will include Windows support.

License

Notifications You must be signed in to change notification settings

eheperson/rpp-p

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RPP-P (Rec-Play-Pause Pico)

Template repository for cross-platform C++ development based on the CMake build system.

Resources

Note: This repository has been tested on macOS and Debian-based Linux distributions. Windows support will be added in the future.

Who is this repository for?

  • Projects based on the CMake build system.
  • Projects with only a few source files like main.cpp, mylib.cpp, etc.
  • Projects that require third-party dependencies like SDL3.
  • Projects that need additional libraries like TestLib.h, which may also require third-party dependencies.
  • Developers who need a C++ development laboratory to test simple libraries that require third-party dependencies.

Requirements:

  • CMake
  • Make (optional)
  • Git
  • Compiler

Usage

Generate the build files using CMake (Release configuration):

For Windows:

cmake -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=out/app -S . -B out/build

For Unix/Linux:

cmake -DCMAKE_INSTALL_PREFIX=out/app -S . -B out/build

Build the project (Release configuration will be used by default):

cmake --build out/build -j 12 -v

Install the project (Release configuration will be used by default):

cmake --install out/build --verbose

Package the project:

cpack out/build -c Debug --verbose

TODOs

  • Include compiler options in the CMake configuration.
  • Update the bake.sh file to automate develop/build/test/clean process on Linux/Unix systems
  • Implement the bake.bat file to automate develop/build/test/clean process on Windows systems

About

Cross-platform C++ development template using CMake build system. Supports macOS and Debian-based Linux distributions. Future updates will include Windows support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published