feat: NSIS 安装包脚本 (62MB, 含 LLVM+clang+lld)

This commit is contained in:
2026-06-05 21:51:22 +08:00
parent 143174ee4f
commit 1e161ecfff
3 changed files with 185 additions and 2 deletions
+12 -2
View File
@@ -140,8 +140,8 @@ graph TB
### 从源码构建
```bash
git clone <repo-url>
cd "L Language"
git clone git@lhy-git.liuhangyv.top:Serendipity/l-language.git
cd l-language
mkdir build && cd build
cmake .. -G "MinGW Makefiles" -DCMAKE_PREFIX_PATH="D:/settings/Language/LLVM"
mingw32-make -j4
@@ -149,6 +149,16 @@ mingw32-make -j4
生成 `l_lang.exe`
### 安装包(Windows
下载 [L-Language-x.x.x-setup.exe](https://github.com/LHY0125/l-language/releases),双击安装。包含编译器、LLVM 运行时和 8 个示例程序,无需额外安装 GCC 或 LLVM。
安装包构建:
```bash
cd scripts && build_installer.bat
```
需要 NSIS 3.x。
## 使用
```bash