summaryrefslogtreecommitdiff
path: root/etc/import/TARGETS.catch2
blob: 1182d854582a6a3f918cda3c26a5790822c5e111 (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{ "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": "export"
  , "target": "catch2_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":
  { "type": ["@", "rules", "CC", "library"]
  , "name": ["Catch2Main"]
  , "hdrs": ["catch2-config-header"]
  , "srcs": [["./", "src/catch2", "main"]]
  , "deps": ["catch2"]
  }
}