build.gn 可以编译 链接失败

This commit is contained in:
2025-01-16 19:52:28 +08:00
parent 639024a1a6
commit 83882c7ac2
7 changed files with 33 additions and 7 deletions

View File

@@ -1,6 +1,19 @@
import("//build/buildcfg.gni")
module_name = get_path_info(rebase_path("."), "name")
executable("out"){
deps=[":$module_name"]
}
module_group(module_name) {
modules = [
"ap",