Visual Studio
Xcode
On Debian and derivatives like Ubuntu and Linux Mint
sudo apt install xorg-dev
On Fedora and derivatives like Red Hat
sudo dnf install libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel
On FreeBSD
pkg install xorgproto
Build in release mode
cmake -S . -B build -D CMAKE_BUILD_TYPE=Release
cmake --build build --config Release --parallel 8
cd bin
./HW2
Build in debug mode
cmake -S . -B build -D CMAKE_BUILD_TYPE=Debug
cmake --build build --config Debug --parallel 8
cd bin
./HW2
- Open
vs2019/HW2.sln
- Select config then build (CTRL+SHIFT+B)
- Use F5 to debug or CTRL+F5 to run.