- 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
- 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/nets
command to download repository - Run
cd nets/
to enter repository directory
Note! Use appropriate github link if Nets is used as a third-party library.
- Open CMD or Terminal app as Administrator. (Right click the app)
- Run
scripts/update-vcpkg.bat
command from the repository scripts/ directory
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
- 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++ zlib1g-dev libssl-dev
- 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
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