How do I use this?
Requirements
- -std=c++20
- gcc 10.1
msvc
hasn't implementedstd::ranges
yet andclang
'sstd::ranges
/concepts
seem to be yet incomplete.
- External dependencies:
range-v3
andfmtlib
(optional for output display).
Build Instructions
cd path/to/your/folder
git clone https://github.com/Ayenem/Project-Euler.git --recursive
cd Project-Euler
cmake -B build
If you wish to build all targets:
cmake --build build/
If you wish to build a specific single or multiple targets e.g. P1
and P2
:
cmake --build build/ --target P1 P2
You may then execute your <target>
with
./build/src/<target>