How I run the code on Linux:
- Setup an Ubuntu Server 24.04
- Install Clang
- Install Ninja
- Install TBB for
execution::par_unseq
- Install CMake from Kitware APT Repository
- Run CMake workflows
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install clang clang-format clang-tools
sudo apt-get install ninja-build
sudo apt-get install libtbb-dev
# Install CMake from Kitware APT Repository
cmake --workflow --preset linux-default-debug
../cpplab-build-linux-default-debug/modules/modules
How I run the code on Windows:
- Install latest Git
- Install latest CMake
- Install Visual Studio 2022
- Install Clang-format with LLVM
- Install Intel's TBB
After the installations are completed:
cmake --workflow --preset windows-default-debug
..\cpplab-build-windows-default-debug\modules\Debug\modules.exe
You can skip installing TBB and LLVM. Just remember to comment out the relevant lines in the CMakeLists.txt files.