summaryrefslogtreecommitdiff
path: root/test/end-to-end/target-cache/data/samplelib/TARGETS
blob: ee123a713f995760abbc5d2ea5b98b11dfaf4555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ "": {"type": "export", "target": "lib"}
, "lib":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["foo"]
  , "srcs": ["foo.cpp"]
  , "hdrs": ["foo.hpp"]
  }
, "foo.hpp":
  { "type": "generic"
  , "outs": ["foo.hpp"]
  , "cmds":
    ["echo '// generated file' > foo.hpp", "echo 'int foo(int x);' >> foo.hpp"]
  }
}