Windows, make portable version + NSIS installer

This commit is contained in:
Vladislav Khorev committed 2026-07-20 21:54:43 +03:00
1 parent d39f5ca68b
commit 8a0a8390b2
21 files changed
+186 -55

No files matched your search

+19 -1
View File
@@ -184,4 +184,22 @@ make -j$(nproc) -C build #Компилируем
Для постройки без звука
rm -rf build #Очищаем build папку
cmake -B build -DAUDIO=1 #Пересоздаём конфигурацию CMake
cmake -B build -DAUDIO=1 #Пересоздаём конфигурацию CMake
# Cmake Build NSIS and Portable for Windows:
```
cmake --build . --config Release
cpack -C Release
```
Если есть такая ошибка:
CPack Error: Cannot find NSIS compiler makensis: likely it is not installed, or not in your PATH
CPack Error: Could not read NSIS registry value. This is usually caused by NSIS not being installed. Please install NSIS from http://nsis.sourceforge.net
CPack Error: Cannot initialize the generator NSIS
То нужно установить nsis отсюда: https://nsis.sourceforge.io/Download