- 以 D:\SmartSenior 生产工程为源,纳入 AppScope、entry、cjagent、hvigor 及根配置 - 移除 build-profile.json5 的 signingConfigs(p12/p7b/cer 路径与加密口令)及 products.signingConfig 引用 - 不纳入本地与开发产物:local.properties、.idea、.hvigor、.codegenie、demo、backup_a2a_native、SESSION_LOG.md、build_err.txt、build/、oh_modules - .gitignore 追加 .codegenie 与密钥文件通配(*.p12/*.p7b/*.cer/*.jks/*.keystore/*.pem)
38 lines
1.9 KiB
TOML
38 lines
1.9 KiB
TOML
[package]
|
|
cjc-version = "1.2.0"
|
|
compile-option = "--dy-std --cfg=\"${COMPILE_CONDITION}\""
|
|
override-compile-option = "${OVERRIDE_COMPILE_OPTION}"
|
|
description = "CangjieUI Application"
|
|
name = "ohos_app_cangjie_cjagent"
|
|
output-type = "dynamic"
|
|
src-dir = "./src/main/cangjie"
|
|
target-dir = ""
|
|
version = "1.0.0"
|
|
|
|
[profile]
|
|
[profile.build]
|
|
incremental = true
|
|
lto = ""
|
|
[profile.build.combined]
|
|
ohos_app_cangjie_cjagent = "dynamic"
|
|
[profile.customized-option]
|
|
debug = "-g -Woff all -Won apilevel-check"
|
|
release = "--fast-math -O2 -s -Woff all -Won apilevel-check"
|
|
asan = "--sanitize=address -lclang_rt.asan"
|
|
[profile.test]
|
|
|
|
[target.aarch64-linux-ohos]
|
|
compile-option = "-B \"${DEVECO_CANGJIE_HOME}/build-tools/third_party/llvm/bin\" -B \"${DEVECO_OH_NATIVE_HOME}/sysroot/usr/lib/aarch64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/sysroot/usr/lib/aarch64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/llvm/lib/clang/15.0.4/lib/aarch64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/llvm/lib/aarch64-linux-ohos\" --sysroot \"${DEVECO_OH_NATIVE_HOME}/sysroot\""
|
|
[target.aarch64-linux-ohos.bin-dependencies]
|
|
path-option = ["${AARCH64_LIBS}", "${AARCH64_MACRO_LIBS}", "${AARCH64_KIT_LIBS}"]
|
|
package-option = { }
|
|
|
|
[target.x86_64-linux-ohos]
|
|
compile-option = "-B \"${DEVECO_CANGJIE_HOME}/build-tools/third_party/llvm/bin\" -B \"${DEVECO_OH_NATIVE_HOME}/sysroot/usr/lib/x86_64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/sysroot/usr/lib/x86_64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/llvm/lib/clang/15.0.4/lib/x86_64-linux-ohos\" -L \"${DEVECO_OH_NATIVE_HOME}/llvm/lib/x86_64-linux-ohos\" --sysroot \"${DEVECO_OH_NATIVE_HOME}/sysroot\""
|
|
[target.x86_64-linux-ohos.bin-dependencies]
|
|
path-option = ["${X86_64_OHOS_LIBS}", "${X86_64_OHOS_MACRO_LIBS}", "${X86_64_OHOS_KIT_LIBS}"]
|
|
|
|
[target.x86_64-w64-mingw32.bin-dependencies]
|
|
path-option = ["${X86_64_LIBS}", "${X86_64_MACRO_LIBS}", "${X86_64_KIT_LIBS}"]
|
|
package-option = { }
|