Here's my official Sigil release build cmake config:
Code:
cmake -G "Ninja" ^
-DTRY_NEWER_FINDPYTHON3=1 ^
-DINNO_COMP=lzma2/ultra64 ^
-DPython3_EXECUTABLE=C:/Users/Doug/AppData/Local/Programs/Python/Python311/python.exe ^
-DPython3_LIBRARIES=C:/Users/Doug/AppData/Local/Programs/Python/Python311/libs/python311.lib ^
-DPython3_INCLUDE_DIRS=C:/Users/Doug/AppData/Local/Programs/Python/Python311/include ^
-DQt6_DIR=C:/MyQtx64/Qt6.7.2ltcg/lib/cmake/Qt6 ^
-DCMAKE_BUILD_TYPE=Release ^
C:/Users/Doug/Documents/github/sigil
I'm sure the %LOCALAPPDATA% variable would not cause any problem. The INNO_COMP define is only available post-Sigil 2.3.0. If you leave it out altogether, The Sigil installer will be built with lower/faster compression (defaults to zip/7). I got tired of waiting forever to test stuff. The lzma2/ultra64 is now for releases only.
Also note that post 2.3.0, Sigil no longer bundles the VCRedist2015+ (nor checks to see if it's installed). The redist is standard on Windows 10 (1809)+ -- and that's the minimum OS requirement for building Sigil on Windows.