In Developer Command Prompt for VS 2022
or Developer PowerShell for VS 2022
, run:
git clone https://github.com/epinter/skse-clibng-template.git
cd skse-clibng-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.