summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2024-12-19 13:51:05 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2024-12-20 10:29:13 +0100
commit1e9080be33a18dd672d2cb035a18ba1d1aba0fb6 (patch)
tree680f00d66a1e6ff4c81e31d975df7acae2fc0c51
parentbebd7dd76266db1379fea2687b84cc59d8f139a2 (diff)
downloadjustbuild-1e9080be33a18dd672d2cb035a18ba1d1aba0fb6.tar.gz
catch2: Make catch2-main a proper export target
-rw-r--r--etc/import/TARGETS.catch222
1 files changed, 21 insertions, 1 deletions
diff --git a/etc/import/TARGETS.catch2 b/etc/import/TARGETS.catch2
index 1182d854..1e83d329 100644
--- a/etc/import/TARGETS.catch2
+++ b/etc/import/TARGETS.catch2
@@ -40,13 +40,33 @@
, "TOOLCHAIN_CONFIG"
]
}
+, "catch2-main":
+ { "type": "export"
+ , "target": "catch2-main_internal"
+ , "flexible_config":
+ [ "ADD_CFLAGS"
+ , "ADD_CXXFLAGS"
+ , "AR"
+ , "ARCH"
+ , "CC"
+ , "CFLAGS"
+ , "CXX"
+ , "CXXFLAGS"
+ , "DEBUG"
+ , "ENV"
+ , "HOST_ARCH"
+ , "OS"
+ , "TARGET_ARCH"
+ , "TOOLCHAIN_CONFIG"
+ ]
+ }
, "catch2_internal":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["Catch2"]
, "hdrs": [["./", "src/catch2", "hdrs"], "catch2-config-header"]
, "srcs": [["./", "src/catch2", "srcs"]]
}
-, "catch2-main":
+, "catch2-main_internal":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["Catch2Main"]
, "hdrs": ["catch2-config-header"]