Overview

module url N/A
git repository https://bitbucket.org/arrizza-public/devcpp-lib-template
git command git clone git@bitbucket.org:arrizza-public/devcpp-lib-template.git
verification report https://arrizza.com/web-ver/devcpp-lib-template-report.html
version info
OS Language #Runs Last Run Cov%
macOS 14.5 Python 3.10 - - -
macOS 14.5 Python 3.12 3 2025-06-23 100.0%
macOS 15.5 Python 3.12 20 2025-08-06 100.0%
macOS 15.6 Python 3.12 43 2026-07-14 100.0%
macOS 26.6 Python 3.12 9 2026-08-11 0.0%
macOS 26.6.1 Python 3.12 11 2026-09-04 100.0%
win32 Windows 10 Python 3.10 - - -
win32 Windows 11 Python 3.12 108 2026-09-05 100.0%
Ubuntu 20.04 focal Python 3.10 - - -
Ubuntu 22.04 jammy Python 3.10 - - -
Ubuntu 24.04 noble Python 3.10 20 2025-05-27 100.0%
Ubuntu 24.04 noble Python 3.12 95 2026-09-05 100.0%

Summary

This is a template for a C++ library. It contains a set of scripts and configuration files that make creating, developing and maintaining a C++ library easier.

How to use

  • create a git for your library
  • use a diff tool like bcompare/meld, and copy contents from this repo into your library.
  • Use the contents as a starting point or replace completely with your library's content

Commands

# clean it
zpm clean full       # start from scratch
zpm clean            # leave venv and python caches

# install it
zpm xplat-install    # first time install of cross-platform zpm tool
zpm env-install full # first time install environment needed
zpm install full     # first time for OS and any pip modules
zpm install          # ...thereafter

# doc it
zpm doc              # generate doxygen html and PDF

# check it
zpm check            # check configs and files are okay
zpm lint             # cppcheck
zpm lint clang-tidy  # clang-tidy
./do_update          # for dev of local python modules or xplat

# build it
zpm mk-gen           # generate Makefile for this OS
zpm mk-build         # build using make

# run it
zpm doit             # run the sample code to use the library
zpm doit arg1 ...    # pass parameters
zpm ver              # run verification (if implemented)
zpm ut               # run gtest unit tests (if implemented)

- John Arrizza