Building from source
Requirements: Visual Studio 2022 Build Tools with the C++ workload (MSVC, Windows SDK, CMake and
Ninja come with it). Scintilla 5.6, Lexilla 5.5, Lua 5.5, the WebView2 SDK's header and loader, Mermaid
and KaTeX are in third_party (see its README).
build.cmd builds build\Release\TriPad.exe
build.cmd Release installer also builds dist\TriPad-<version>-setup.exe and the portable zip
build.cmd Release msix also builds the Microsoft Store's package (see packaging\README.md)
build.cmd Release test also builds and runs the Markdown converter, core, Git and language server tests
build.cmd <name> a release build in build\<name>, to build in a second folder
Every build writes compile_commands.json in its folder, so clangd works on TriPad's own sources in TriPad.
Window tests that drive the built TriPad are in tests\ui; see tests/README.md.
The installer needs Inno Setup 6 (winget install JRSoftware.InnoSetup) and Python, which makes its
list of file types from the language table (tools\gen_filetypes.py).