mirror of
https://github.com/jakcron/nstool.git
synced 2026-01-07 11:22:52 +00:00
1.6 KiB
1.6 KiB
Building
Git Submodules
This project makes use of git submodules to import dependencies into the source tree. After cloning this repository using git, prior to building NSTool the dependencies need to be downloaded. Run these two commands to initialise and download the dependencies:
git submodule init
git submodule update
Linux (including Windows Subsystem for Linux) & MacOS - Makefile
Requirements
make- Terminal access
- Typical GNU compatible development tools (e.g.
clang,g++,c++,aretc) with C++11 support
Using Makefile
make(default) - Compile program- Compiling the program requires local dependencies to be compiled via
make depsbeforehand make clean- Remove executable and object filesmake deps- Compile locally included dependency librariesmake clean_deps- Remove compiled library binaries and object files
Native Windows - Visual Studio
Requirements
- Visual Studio Community 2015 / 2017 / 2019 / 2022
Compiling using the Visual Studio GUI
- Open
build/visualstudio/nstool.slnin Visual Studio - Select Target (e.g
Debug|Release&x86|x64) - Navigate to
Build->Build Solution
Compiling using the command line
- Open PowerShell
- Paste and run the following command after double-checking the paths.
& "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\MSBuild\Current\Bin\MSBuild.exe" `
"{full path to the cloned repository}\nstool\build\visualstudio\nstool.sln" `
/p:Platform=x64 `
/p:Configuration=Release