Skip to content

Latest commit

 

History

History
38 lines (33 loc) · 995 Bytes

README.md

File metadata and controls

38 lines (33 loc) · 995 Bytes

Advent of Code 2019 🎄

My entry for Advent Of Code 2019.

How to build

macOS

Use the command line to build the code. cd into the root directory using terminal and run this command:

cmake -H. -B_builds && cmake --build _builds

The build executables are available in subdirectory '_builds' and runnable.

You can run an executable using

./_builds/01-December

You can run a test using

./_builds/01-DecemberTest

or by running

cd _builds
ctest run

Windows

Use the command line to build the code. cd into the root directory using cmd and run this command:

cmake -H. -B_builds && cmake --build _builds

The build executables are available in subdirectory '_builds' and runnable.

You can run an executable using

/_builds/01-December.exe

NOTE: Since I use macOS dlls for googletest for Windows are not available. You can build them yourself and alter the CMakeLists.txt if you want to run the tests on Windows.