mkdir papyrus-vm-build
cd papyrus-vm-build
cmake ../papyrus-vm -DSKYRIM_DIR="C:\Program Files (x86)\Steam\steamapps\common\Skyrim"
CMake will generate .sln
file in papyrus-vm-build
directory.
You need to re-generate project files when:
- New
.cpp
/.h
files are added. - New tests are added.
cmake ../papyrus-vm
cd papyrus-vm-build
ctest -C Debug -V
ctest -R IntTest -C Debug -V
See also CTest docs