summaryrefslogtreecommitdiff
path: root/TARGETS
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2022-03-21 14:41:36 +0100
committerAlberto Sartori <alberto.sartori@huawei.com>2022-03-23 16:38:09 +0100
commit128df24bebbfe0049b2367fdd662059ae837df7c (patch)
treea0ec504111ec475a734f3e3c7ad4cf7c5aa2b92e /TARGETS
parent611f77184d80e7bb553b1d5b2a1d0a265b7dbfe1 (diff)
downloadjustbuild-128df24bebbfe0049b2367fdd662059ae837df7c.tar.gz
add just-ext-hdrs target to stage external headers is a given folder
This is useful when e.g. using an IDE to get access to the definition/ declaration of the symbols of external dependencies
Diffstat (limited to 'TARGETS')
-rw-r--r--TARGETS7
1 files changed, 7 insertions, 0 deletions
diff --git a/TARGETS b/TARGETS
index 585e784e..957b0f3f 100644
--- a/TARGETS
+++ b/TARGETS
@@ -23,4 +23,11 @@
, "flexible_config":
["OS", "ARCH", "HOST_ARCH", "TARGET_ARCH", "CXX", "AR", "ENV"]
}
+, "just-ext-hdrs":
+ { "type": ["@", "rules", "CC", "configure"]
+ , "arguments_config": ["OS", "ARCH"]
+ , "os": [{"type": "var", "name": "OS", "default": "linux"}]
+ , "arch": [{"type": "var", "name": "ARCH", "default": "x86_64"}]
+ , "target": [["etc/dev", "just-ext-hdrs"]]
+ }
}