Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

yukula/cpp-blueprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro:

C++ development can be fraught with challenges. From wrangling dependencies to navigating compiler inconsistencies, setting up a new project often feels like navigating a minefield. Here are some of the common pain points:

  • Dependency Hell: Traditional C++ package managers (CPM, Conan, vcpkg) often fall short when a required dependency isn't available. This forces you to cobble together solutions from various sources, resulting in complex and fragile CMake configurations.
  • Compiler Conundrum: Changing the compiler or standard library version for your project can be a Herculean task, often leading to conflicts with your system's existing C++ environment.
  • Inconsistent Development Environments: Ensuring consistent development environments across a team can be a nightmare. Different operating systems, package versions, and compiler flags can lead to frustrating "works on my machine" scenarios.

Goal:

This project provides a robust and reproducible C++ project template, leveraging the power of Nix to eliminate these headaches and provide a streamlined development experience.

Dependencies:

#compiler toolchain
clang #18

# build
ninja
cmake

# libraries
fmt
doctest

ToDo:

  • Wrap the project to nix package.
  • Add compiler and standard library change configuration option
  • ...

About

This C++ project template simplifies development with reproducible builds using Nix.

Topics

Resources

Stars

Watchers

Forks

Morty Proxy This is a proxified and sanitized view of the page, visit original site.