- Download latest version from visualstudio.microsoft.com
- Launch downloaded Visual Studio installer
- Select "Desktop development with C++" before installation
- Add "C++ Clang tools for Windows" inside Installation details (optional)
- Unselect "vcpkg package manager" inside Installation details we will use our own! <---
- Finally click Install button to begin installation
- Download and install latest version from git-cms.com
You may use default Git install options or chose any other default Git editor instead of Vim.
- Download latest release version of installer from cmake.org
- Select "Add CMake to the system PATH for the current user" during installation
- Download and install latest version from vulkan.lunarg.com for Windows
To build the project you will only need The Vulkan SDK Core components.
- Open Terminal or CMD app to execute following commands
- Change current working directory using
cd
command where to clone repository. (Google it) - Run
git clone --recursive https://github.com/cfnptr/garden
command to download repository - Run
cd garden/
to enter repository directory
Note! Use appropriate github link if Garden engine is used as a third-party library.
- Repoen CMD or Terminal app as Administrator. (Right click the app)
- Run
scripts/update-vcpkg.bat
command from the repository scripts/ directory - Reopen CMD or Terminal app to get updated system environment variables.
Or
- Follow installation steps from learn.microsoft.com (Better to choose C:\vcpkg path)
- Run
vcpkg integrate install
command using Terminal or CMD app to make packages available user-wide - Add vcpkg to the System Environment Variables. (Google it)
- Run
vcpkg install zlib:x64-windows-static openssl:x64-windows-static
using Terminal or CMD app
Alternatively run install-packages.bat
from the repository scripts/ directory
- Download and install latest version from code.visualstudio.com
- Install "C/C++" And "CMake Tools" extensions inside Visual Studio Code
- Run
sudo apt-get update
command using Terminal app - And
sudo apt-get install git cmake gcc g++ gdb clang lld lldb zlib1g-dev libssl-dev xorg-dev
- Install latest version from vulkan.lunarg.com for Linux
Use "Ubuntu Packages" tab and "Latest Supported Release" instructions for that.
- Download and install latest version from App Store app
- Run
xcode-select --install
command using Terminal app to install Xcode tools
- Install Homebrew package manager from brew.sh
- Run
brew update
command using Terminal app - And
brew install git cmake zlib openssl
- Download latest version from vulkan.lunarg.com for macOS
- During Select Components screen "System Global Installation" should be checked
To build the project you will only need The Vulkan SDK Core components.
To build the project run one of the scripts using Terminal, Git Bash or build it using IDE.
- Open Visual Studio 2022 IDE
- Click "Open a local folder" and open the repository folder
- Click Build -> Build All to build the project
- Open Visual Studio Code IDE
- Install "C/C++" And "CMake Tools" extensions
- Click File -> Open Folder... and open the repository folder
- Click Yes in "Would you like to configure project..."
- Select one of the compiler Kits in the opened window
- Click Build button at the bottom bar to build the project