- CMake v3.19 or higher. Download the latest version from https://cmake.org/download/.
- Visual Studio. You can download Visual Studio Community for free here: https://visualstudio.microsoft.com/vs/community/. You will also need the "Desktop development with C++" package.
- Git. https://git-scm.com/
- Navigate to your favourit development directory. E.g.:
D:\dev\cpp\gw\
- Open
Git Bash
by rightclicking in the empty space. - Clone repo with:
git clone https://github.com/Zvendson/GWCA-Project-Template
- Navigate to the new folder:
cd GWCA-Project-Template
- Build Project:
cmake -A Win32 -B build -DProjectName=YourProjectName
(No spaces, no quotes) - Open the project:
cmake --open build
- Build the project:
cmake --build build
- Build release with:
cmake --build build --config Release
Have fun.