Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wrren/aoc2019
Advent of Code 2019 Solutions
https://github.com/wrren/aoc2019
Last synced: about 1 month ago
JSON representation
Advent of Code 2019 Solutions
- Host: GitHub
- URL: https://github.com/wrren/aoc2019
- Owner: wrren
- License: mit
- Created: 2019-11-30T15:41:53.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-04T08:16:03.000Z (about 5 years ago)
- Last Synced: 2024-06-06T13:44:46.588Z (6 months ago)
- Language: C++
- Size: 15.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-xmake - aoc2019
README
# Advent of Code 2019
Welcome to my Advent of Code 2019 solutions repository. This year I'll be tackling the AoC challenges
using C++20 in order to get up to speed on the new features that have been added to the language since
C++11.## Building the Solutions
I'll be using [Xmake](https://xmake.io/#/), a new build system for C++, to build and run each solution. Check out the [installation page](https://xmake.io/#/getting_started) for instructions on setting it up. From my short time with it, I've found that it's far less confusing than CMake and overall lets me get things done faster.
## Running the Solutions
By default, each solution binary will read from the correct input file from the `inputs` directory of the repository. However
you can substitute your own input files by providing a path to an input file as the first argument to the binary.```shell
# Run solution with default input file
xmake run day1# Run solution with provided input file path
xmake run day1 /path/to/input/file
```