My solutions to the Advent of Code 2022 (C++).
From a terminal
, as administrator:
$> sudo apt-get -qq update $> sudo apt-get -qq upgrade $> sudo apt-get -qq -y install \ ccache \ cmake \ curl \ g++-12 \ gcc-12 \ git \ ninja-build \ pkg-config \ python3-pip tar \ unzip \ wget \ zip $> sudo pip install conan $> sudo update-alternatives \ --install /usr/bin/gcc gcc /usr/bin/gcc-12 100 \ --slave /usr/bin/g++ g++ /usr/bin/g++-12 \ --slave /usr/bin/gcov gcov /usr/bin/gcov-12
From a terminal
:
~/projects> git clone https://github.com/rturrado/aoc_2022
The example below builds the project for the unixlike-gcc-debug-github
Conan profile.
From a terminal
:
~/projects/aoc_2022/> conan install . -if=cmake-build-unixlike-gcc-debug-github -pr=conan/profiles/unixlike-gcc-debug-github -b=missing ~/projects/aoc_2022/> conan build . -c -b -bf=cmake-build-unixlike-gcc-debug-github
From a terminal
:
~/projects/aoc_2022> ./cmake-build-unixlike-gcc-debug-github/bin/aoc_2022
Tests are built with the following Conan profiles:
unixlike-gcc-debug-tests
.unixlike-gcc-debug-github
.unixlike-gcc-release-tests
.unixlike-gcc-release-github
.From a terminal
:
~/projects/aoc_2022> ./cmake-build-unixlike-gcc-debug-github/bin/aoc_2022_test
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4