summaryrefslogtreecommitdiff
path: root/etc/import/TARGETS.catch2
blob: 80bfcac876e25a959d6e6d8529b3ea07f9fc4a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ "catch2-config-header-blueprint":
  { "type": ["@", "rules", "CC/auto", "config_file"]
  , "input": [["./", "src/catch2", "catch_user_config.hpp.in"]]
  , "output": ["catch2", "catch_user_config.hpp"]
  , "magic_string": ["cmakedefine"]
  , "@only": ["true"]
  }
, "catch2-config-header":
  { "type": "configure"
  , "target": "catch2-config-header-blueprint"
  , "config":
    { "type": "let*"
    , "bindings":
      [ [ "defines"
        , [ ["CATCH_CONFIG_DEFAULT_REPORTER", "console"]
          , ["CATCH_CONFIG_CONSOLE_WIDTH", "80"]
          ]
        ]
      ]
    , "body": {"type": "env", "vars": ["defines"]}
    }
  }
, "catch2":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["Catch2"]
  , "hdrs": [["./", "src/catch2", "hdrs"], "catch2-config-header"]
  , "srcs": [["./", "src/catch2", "srcs"]]
  }
, "catch2-main":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["Catch2Main"]
  , "hdrs": ["catch2-config-header"]
  , "srcs": [["./", "src/catch2", "main"]]
  , "deps": ["catch2"]
  }
}