Skip to content

Instantly share code, notes, and snippets.

@k0mp1ex
Created September 18, 2022 01:20
Show Gist options
  • Save k0mp1ex/de2aa7a3e7f8c30da07a50479c3ab52e to your computer and use it in GitHub Desktop.
Save k0mp1ex/de2aa7a3e7f8c30da07a50479c3ab52e to your computer and use it in GitHub Desktop.
Build SKSE with Debug config for Skyrim 1.5.67 and Skyrim 1.6.xxx
set Skyrim64Path=C:\Development\MO2\Portable\mods\SKSE64 - AE - Debug\Root
git clone https://github.com/ianpatt/common AE/common
git clone https://github.com/ianpatt/skse64 AE/skse64
cd AE
cmake -B common/build -S common -DCMAKE_INSTALL_PREFIX=extern common
cmake --build common/build --config Debug --target install
cmake -B skse64/build -S skse64 -DCMAKE_INSTALL_PREFIX=extern -DSKSE_COPY_OUTPUT=ON
cmake --build skse64/build --config Debug
cd ..
pause
set Skyrim64Path=C:\Development\MO2\Portable\mods\SKSE64 - AE - Debug\Root
cd AE
git -C common pull
git -C skse64 pull
cmake -B common/build -S common -DCMAKE_INSTALL_PREFIX=extern common
cmake --build common/build --config Debug --target install
cmake -B skse64/build -S skse64 -DCMAKE_INSTALL_PREFIX=extern -DSKSE_COPY_OUTPUT=ON
cmake --build skse64/build --config Debug
cd ..
pause
set Skyrim64Path=C:\Development\MO2\Portable\mods\SKSE64 - SE - Debug\Root
git clone https://github.com/ianpatt/common SE/common
git clone https://github.com/ianpatt/skse64 SE/skse64
cd SE/skse64
git checkout tags/v2.0.20 -b v2.0.20
cd ..
cmake -B common/build -S common -DCMAKE_INSTALL_PREFIX=extern common
cmake --build common/build --config Debug --target install
cmake -B skse64/build -S skse64 -DCMAKE_INSTALL_PREFIX=extern -DSKSE_COPY_OUTPUT=ON
cmake --build skse64/build --config Debug
cd ..
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment