An open API service indexing awesome lists of open source software.

https://github.com/zetavg/sampleconsoleapplication


https://github.com/zetavg/sampleconsoleapplication

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Console Application

A cross-platform C++ console application for `g++` & `make` on \*nix or Visual Studio on Windows.

This repo contains submodules, please add Add the `--recursive` flag while cloning this repo (e.g. `git clone REPO_URL --recursive`), or run `git submodule init && git submodule update` after cloning it.

## System Requirements

### \*nix

- `make`
- `g++`
- `lcov` (if you want to generate coverage reports)

### Windows 10

- Visual Studio 2017

## Build & Run

### On \*nix

First, build the project with GNU make:

```bash
$ make
```

Then run the built executable:

```bash
$ bin/main
```

#### Run the Tests

```bash
$ make test
```

To view the test coverage report, run `make coverage` then open `coverage/index.html`.

### On Windows

Open the Visual Studio Solution file: `ConsoleApplication.sln`, then use Visual Studio to do the work.