build: 迁移构建系统至 CMake 并清理旧的二进制文件

- 删除过时的 Makefile 和 bin/ 目录下的二进制文件
- 新增 CMakeLists.txt 以支持更标准的跨平台构建
- 更新 README.md 中的编译步骤和依赖说明
- 调整 main.c 中的注释和 installer.iss 中的源文件路径
- 构建输出现在位于 build/ 目录,DLL 文件在构建后自动复制
This commit is contained in:
2026-03-19 12:18:51 +08:00
parent 3302132644
commit 1219a53391
22 changed files with 93 additions and 78 deletions
+2 -2
View File
@@ -37,8 +37,8 @@ Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "d:\Code\doing_exercises\programs\PathEditor\bin\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "d:\Code\doing_exercises\programs\PathEditor\bin\*.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "d:\Code\doing_exercises\programs\PathEditor\build\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
Source: "d:\Code\doing_exercises\programs\PathEditor\build\*.dll"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]