-
Notifications
You must be signed in to change notification settings - Fork 25
Getting Started: CLI (macOS)
Wonsup Yoon edited this page Apr 13, 2021
·
9 revisions
- Command Line Tools:
xcode-select --install
- Xcode
- via CMake Homepage
- via Homebrew:
brew install cmake
- Download and extract latest version.
- Open terminal and go to the extracted directory
- Prepare build files
$ cmake -B build .
- Move to build directory
$ cd build
- Build
$ make -j$(nproc)
- Running parts
$ ./app/kens/kens-part1
$ ./app/kens/kens-part2
$ ./app/kens/kens-part3
$ ./app/kens/kens-part4
$ ./app/kens/kens-part1-unreliable
$ ./app/kens/kens-part2-unreliable
$ ./app/kens/kens-part3-unreliable
$ ./app/kens/kens-part4-unreliable
- Running prebuilt solutions
$ ./app/kens/kens-part1-run-solution
$ ./app/kens/kens-part2-run-solution
$ ./app/kens/kens-part3-run-solution
$ ./app/kens/kens-part4-run-solution
$ ./app/kens/kens-part1-unreliable-run-solution
$ ./app/kens/kens-part2-unreliable-run-solution
$ ./app/kens/kens-part3-unreliable-run-solution
$ ./app/kens/kens-part4-unreliable-run-solution