https://github.com/epinter/sfse-clib-template
Template Project for SFSE - CommonLibSF
https://github.com/epinter/sfse-clib-template
Last synced: 9 months ago
JSON representation
Template Project for SFSE - CommonLibSF
- Host: GitHub
- URL: https://github.com/epinter/sfse-clib-template
- Owner: epinter
- Created: 2024-07-24T22:25:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-01T20:31:37.000Z (over 1 year ago)
- Last Synced: 2025-05-16T05:08:31.506Z (12 months ago)
- Language: C++
- Homepage:
- Size: 22.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ***Template Project for SFSE - CommonLibSF***
## ***Runtime requirements***
- [Starfield Script Extender (SFSE)](https://sfse.silverlock.org/)
- [Address Library for SFSE Plugins](https://www.nexusmods.com/starfield/mods/3256)
## ***Build requirements***
- [CMake](https://cmake.org/)
- [vcpkg](https://vcpkg.io/en/)
- [Visual Studio Community 2022](https://visualstudio.microsoft.com/vs/community/)
- [CommonLibSF](https://github.com/Starfield-Reverse-Engineering/CommonLibSF)
#### ***CommonLibSF***
To use CommonLibSF as a git-submodule instead of overlay-ports, clone it to extern/CommonLibSF and edit vcpkg.json removing "commonlibsf" and adding its dependencies.
## ***Building***
In `Developer Command Prompt for VS 2022` or `Developer PowerShell for VS 2022`, run:
~~~
git clone https://github.com/epinter/sfse-clib-template.git
cd sfse-clib-template
~~~
then
~~~
.\cmake\build.ps1
~~~
or
~~~
.\cmake\build.ps1 -buildPreset ALL-relwithdebinfo
~~~
or
~~~
.\cmake\build.ps1 -buildPreset ALL-debug
~~~
or
~~~
cmake -B build -S . --preset ALL --fresh
cmake --build build --preset ALL-release
~~~
Then get the .dll in build/Release, or the .zip (ready to install using mod manager) in build.