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
- Vcpkg
- Add the environment variable
VCPKG_ROOTwith 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/Exit-9B/ExamplePlugin-CommonLibSSE
cd ExamplePlugin-CommonLibSSE
git submodule init
git submodule update
cmake --preset vs2022-windows
cmake --build build --config Release
- Run
cmake-gui buildto configure project variables - Configure
CMAKE_INSTALL_PREFIXto install files to a virtual directory in Mod Organizer 2 - Set
CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILDtoONto automatically install the mod when building in Visual Studio - Build the
packagetarget to automatically build and zip up your dll in a ready-to-distribute format