-
Notifications
You must be signed in to change notification settings - Fork 12
Building SPMod on Windows
Karol Szuster edited this page Aug 4, 2018
·
6 revisions
Instructions for building SPMod on Windows using MSVC.
- Meson 0.44+
- Ninja (Bundled with meson)
- Git
- Visual Studio Build Tools
- Clone SPMod repository
git clone --recursive https://github.com/Amaroq7/SPMod.git
- Create folder inside SPMod repository called build
-
Run x86 Native Tools Command Prompt for VS 2017
-
Change dir to your SPMod build dir
cd <spmod_repo_dir>\build
-
Generate initial build files
meson .. . --buildtype plain
-
(Optional) If you wish to build SPMod by linking it dynamically which results in smaller size
*Warning* Requires to have Microsoft Visual C++ Redistributable for Visual Studio 2017 installed
default: false
meson configure -D linktype=dynamic
-
(Optional) To change build type to release
default: true (debug)
meson configure -Dwindebug=false
-
Check configuration
meson configure
-
If everything's ok, build
ninja