summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2023-12-21 12:20:38 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2023-12-21 17:36:25 +0100
commit8f55914a9879c4687696d8da57bb9dc5e261e2df (patch)
treec1fbbe57abc03878ea9a271aeef85cf945921bb5
parent061b72b8e3b1511ebdbde9c826cd57dacecc6757 (diff)
downloadjustbuild-8f55914a9879c4687696d8da57bb9dc5e261e2df.tar.gz
Export ["@", "json", "", "json"]
... to allow target-level caching.
-rw-r--r--etc/import/TARGETS.json20
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/import/TARGETS.json b/etc/import/TARGETS.json
index 56022d43..f43a6653 100644
--- a/etc/import/TARGETS.json
+++ b/etc/import/TARGETS.json
@@ -1,4 +1,24 @@
{ "json":
+ { "type": "export"
+ , "target": "json library"
+ , "flexible_config":
+ [ "ADD_CFLAGS"
+ , "ADD_CXXFLAGS"
+ , "AR"
+ , "ARCH"
+ , "CC"
+ , "CFLAGS"
+ , "CXX"
+ , "CXXFLAGS"
+ , "DEBUG"
+ , "ENV"
+ , "HOST_ARCH"
+ , "OS"
+ , "TARGET_ARCH"
+ , "TOOLCHAIN_CONFIG"
+ ]
+ }
+, "json library":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["nlohmann_json"]
, "hdrs": ["json headers"]