This is a basic plugin template for use with CommonLibSSE
- CMake
- Add this to your
PATH
- Add this to your
- The Elder Scrolls V: Skyrim Special Edition
- Add the environment variable
Skyrim64Path
to point to the root installation of your game directory (the one containingSkyrimSE.exe
).
- Add the environment variable
- Vcpkg
- Add the environment variable
VCPKG_ROOT
with the value as the path to the folder containing vcpkg
- Add the environment variable
- Visual Studio Community 2022
- Desktop development with C++
git clone https://github.com/Ryan-rsm-McKenzie/ExamplePlugin-CommonLibSSE
cd ExamplePlugin-CommonLibSSE
git submodule init
git submodule update
cmake --preset vs2022-windows
cmake --build build --config Release
- Set
COPY_OUTPUT
toON
to automatically copy the built dll to the game directory, i.e.cmake --preset vs2022-windows -DCOPY_OUTPUT=ON
- Build the
package
target to automatically build and zip up your dll in a ready-to-distribute format.