From 128df24bebbfe0049b2367fdd662059ae837df7c Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Mon, 21 Mar 2022 14:41:36 +0100 Subject: 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 --- TARGETS | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'TARGETS') 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"]] + } } -- cgit v1.2.3