Coder Social home page Coder Social logo

yukula / cpp-blueprint Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3 KB

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

Nix 47.53% C++ 16.32% CMake 36.14%
cpp cpp-template dev-environment nix cpp-dev-denvironment

cpp-blueprint's Introduction

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
  • ...

cpp-blueprint's People

Contributors

yukula avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.