Compare commits

..

3 Commits

3 changed files with 17 additions and 4 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10) cmake_minimum_required(VERSION 3.10)
project(kgg-dec VERSION 0.5.1 LANGUAGES CXX) project(kgg-dec VERSION 0.6.0 LANGUAGES CXX)
add_subdirectory(third-party/aes) add_subdirectory(third-party/aes)
add_subdirectory(third-party/md5) add_subdirectory(third-party/md5)

4
Jenkinsfile vendored
View File

@ -29,8 +29,8 @@ pipeline {
stage('Prepare') { stage('Prepare') {
steps { steps {
dir('third-party/sqlite3/') { dir('third-party/sqlite3') {
sh 'sh -ex fetch_sqlite3.sh' sh './fetch_sqlite3.sh'
} }
} }
} }

View File

@ -40,8 +40,21 @@
在 Windows 下使用 CMake + Visual Studio 2022 构建。 在 Windows 下使用 CMake + Visual Studio 2022 构建。
第一次构建前请到 `third-party/sqlite3` 目录下执行 `fetch_sqlite3.sh`,或手动下载源码放置到对应的位置。
然后就可以利用 CMake 构建了:
```cmd ```cmd
cmake --preset vs -DCMAKE_BUILD_TYPE=Release cmake --preset vs -DCMAKE_BUILD_TYPE=Release
cmake --build --preset vs-release --config Release cmake --build --preset vs-release --config Release
copy /y README.MD .\\build\\vs2022\\ copy /y README.MD .\\build\\vs2022\\
``` ```
## 第三方软件
该程序用到了以下第三方软件:
- [SQLite3](https://www.sqlite.org/) (Public Domain)
- [Tiny AES in C](https://github.com/kokke/tiny-AES-c) (Public Domain)
- [MD5.c](https://github.com/freebsd/freebsd-src/blob/release/14.2.0/sys/kern/md5c.c) (from FreeBSD)
- Derived from the "RSA Data Security, Inc. MD5 Message-Digest Algorithm".