初始化仓库

This commit is contained in:
2026-03-18 16:20:46 +08:00
parent 8ebf63008e
commit 20221fac5f
79 changed files with 35257 additions and 0 deletions

21
cjpm.toml Normal file
View File

@ -0,0 +1,21 @@
[package]
name = "LuaCangjia_api"
version = "0.0.0"
description = "Lua C API bindings for Cangjie"
license = "GPLv3"
[dependencies]
[ffi.c]
# C 库头文件路径
include = ["lib/lua"]
# 编译好的库文件路径
library = ["liboutput"]
# 链接的库名(去掉 lib 前缀和 .so/.a 后缀)
link = ["my_clib"]
[scripts]
# 构建钩子,指向你的 build.cj
pre-build = "cjpm run build.cj pre-build"
post-build = "cjpm run build.cj post-build"
pre-clean = "cjpm run build.cj pre-clean"