summaryrefslogtreecommitdiff
path: root/tests/test_cases/deps/components/TARGETS
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cases/deps/components/TARGETS')
-rw-r--r--tests/test_cases/deps/components/TARGETS55
1 files changed, 55 insertions, 0 deletions
diff --git a/tests/test_cases/deps/components/TARGETS b/tests/test_cases/deps/components/TARGETS
new file mode 100644
index 0000000..62a599c
--- /dev/null
+++ b/tests/test_cases/deps/components/TARGETS
@@ -0,0 +1,55 @@
+{ "combined_static_lib":
+ { "type": ["@", "rules", "CC", "library"]
+ , "name": ["combstatic"]
+ , "components": ["foo", "bar"]
+ }
+, "combined_shared_lib":
+ { "type": ["@", "rules", "CC", "library"]
+ , "name": ["combshared"]
+ , "shared": [""]
+ , "components": ["foo", "bar"]
+ }
+, "foo":
+ { "type": ["@", "rules", "CC", "library"]
+ , "name": ["foo"]
+ , "hdrs": ["foo.hpp"]
+ , "srcs": ["foo.cpp"]
+ , "deps": ["foodep"]
+ }
+, "foodep":
+ { "type": ["@", "rules", "CC", "library"]
+ , "name": ["foodep"]
+ , "hdrs": ["foodep.hpp"]
+ , "srcs": ["foodep.cpp"]
+ }
+, "bar":
+ { "type": ["@", "rules", "CC", "library"]
+ , "name": ["bar"]
+ , "hdrs": ["bar.hpp"]
+ , "srcs": ["bar.cpp"]
+ }
+, "main":
+ { "type": ["@", "rules", "CC", "binary"]
+ , "name": ["main"]
+ , "srcs": ["main.cpp"]
+ , "private-deps": ["combined_static_lib"]
+ }
+, "main-shared":
+ { "type": ["@", "rules", "CC", "binary"]
+ , "name": ["main"]
+ , "srcs": ["main.cpp"]
+ , "private-deps": ["combined_shared_lib"]
+ }
+, "main-dynamic":
+ { "type": ["@", "rules", "CC", "install-with-deps"]
+ , "targets": ["main-shared"]
+ }
+, "installed_static":
+ { "type": ["@", "rules", "CC", "install-with-deps"]
+ , "targets": ["combined_static_lib"]
+ }
+, "installed_shared":
+ { "type": ["@", "rules", "CC", "install-with-deps"]
+ , "targets": ["combined_shared_lib"]
+ }
+}