Skip to content

Getting Started: CLI (Windows)

Wonsup Yoon edited this page Jan 4, 2024 · 17 revisions

Caution

KENS under Windows native environment is obsolete. Please, do not use.

Prerequisites

  • Install Visual Studio 2019. Other versions are not tested.
  • Install "Desktop development with C++" workload using Visual Studio Installer.
  • Install CMake

Build

  1. Download and extract latest version.
  2. Open cmd and go to the extracted directory
  3. Prepare build files or use CMake GUI
$ cmake -B build .
  1. Move to build directory
$ cd build
  1. Build
$ cmake --build .

Test

  • Running parts
$ app\kens\Debug\kens-part1.exe
$ app\kens\Debug\kens-part2.exe
$ app\kens\Debug\kens-part3.exe
$ app\kens\Debug\kens-part4.exe
$ app\kens\Debug\kens-part1-unreliable.exe
$ app\kens\Debug\kens-part2-unreliable.exe
$ app\kens\Debug\kens-part3-unreliable.exe
$ app\kens\Debug\kens-part4-unreliable.exe
$ app\routing\Debug\routing-all.exe
  • Running prebuilt solutions
$ app\kens\Debug\kens-part1-run-solution.exe
$ app\kens\Debug\kens-part2-run-solution.exe 
$ app\kens\Debug\kens-part3-run-solution.exe
$ app\kens\Debug\kens-part4-run-solution.exe
$ app\kens\Debug\kens-part1-unreliable-run-solution.exe
$ app\kens\Debug\kens-part2-unreliable-run-solution.exe 
$ app\kens\Debug\kens-part3-unreliable-run-solution.exe
$ app\kens\Debug\kens-part4-unreliable-run-solution.exe