Giter VIP home page Giter VIP logo

cpp-project-template's Introduction

Cpp Project Template

About

This is a small project to be used as the base for C++ projects. The goal is to have a useful tool for quickly and easily starting a C++ project.

Building

run:

cmake .
cmake --build .

Tests

after building, run:

./SimpleLibrary/tests/simpleTestHost

cpp-project-template's People

Contributors

sabjorn avatar

Watchers

 avatar  avatar

cpp-project-template's Issues

Docker container is a slow method to build

A container with the build tools can be built. This container can be inherited, build the app, and then a new container made which copies the app over.

This will save installing build tools every time you want to build the app.

However, the build container will be quite large.

Running `make test` runs without full test output

Generally we want to see all of the test output (each specific test in each test group).

Currently, the test groups are run with make test but only displays an aggregate output (pass/fail #) of each test group (instead of each test from each test group). This is problematic for figuring out which individual test failed.

Test should run as a Docker run command

currently the tests run as part of the Docker build process.

Ideally a testing docker image could be generated that has the compiled code ready for tests. This will require modifying the CMakeLists.txt to build the tests (but not run them) and then copy the test files into the new container.

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.