tools/corrosion/CMakePresets.json
branchtransitional_engine
changeset 16038 d903f8d2395a
equal deleted inserted replaced
16036:7b8d96fc8799 16038:d903f8d2395a
       
     1 {
       
     2     "version": 3,
       
     3     "cmakeMinimumRequired": {
       
     4         "major": 3,
       
     5         "minor": 22,
       
     6         "patch": 0
       
     7     },
       
     8     "configurePresets": [
       
     9         {
       
    10             "name": "ninja",
       
    11             "hidden": true,
       
    12             "generator": "Ninja"
       
    13         },
       
    14         {
       
    15             "name": "ninja-mc",
       
    16             "hidden": true,
       
    17             "generator": "Ninja Multi-Config"
       
    18         },
       
    19         {
       
    20             "name": "make",
       
    21             "hidden": true,
       
    22             "generator": "Unix Makefiles"
       
    23         },
       
    24         {
       
    25             "name": "vs-2019",
       
    26             "hidden": true,
       
    27             "generator": "Visual Studio 16 2019"
       
    28         },
       
    29         {
       
    30             "name": "vs-2022",
       
    31             "hidden": true,
       
    32             "generator": "Visual Studio 17 2022"
       
    33         },
       
    34         {
       
    35             "name": "windows-only",
       
    36             "hidden": true,
       
    37             "condition": {
       
    38                 "type": "equals",
       
    39                 "lhs": "${hostSystemName}",
       
    40                 "rhs": "Windows"
       
    41             }
       
    42         },
       
    43         {
       
    44             "name": "windows-10-cross",
       
    45             "hidden": true,
       
    46             "cacheVariables": {
       
    47                 "CMAKE_SYSTEM_NAME": "Windows",
       
    48                 "CMAKE_SYSTEM_VERSION": "10.0"
       
    49             },
       
    50             "condition": {
       
    51                 "type": "equals",
       
    52                 "lhs": "${hostSystemName}",
       
    53                 "rhs": "Windows"
       
    54             }
       
    55         },
       
    56         {
       
    57             "name": "x86_64-pc-windows-msvc",
       
    58             "hidden": true,
       
    59             "inherits": ["windows-only"],
       
    60             "cacheVariables": {
       
    61                 "Rust_CARGO_TARGET": "x86_64-pc-windows-msvc"
       
    62             }
       
    63         },
       
    64         {
       
    65             "name": "i686-pc-windows-msvc",
       
    66             "hidden": true,
       
    67             "cacheVariables": {
       
    68                 "Rust_CARGO_TARGET": "i686-pc-windows-msvc"
       
    69             }
       
    70         },
       
    71         {
       
    72             "name": "aarch64-pc-windows-msvc",
       
    73             "hidden": true,
       
    74             "cacheVariables": {
       
    75                 "Rust_CARGO_TARGET": "aarch64-pc-windows-msvc"
       
    76             }
       
    77         },
       
    78         {
       
    79             "name": "x86_64-unknown-linux-gnu",
       
    80             "hidden": true,
       
    81             "cacheVariables": {
       
    82                 "Rust_CARGO_TARGET": "x86_64-unknown-linux-gnu"
       
    83             }
       
    84         },
       
    85         {
       
    86             "name": "i686-unknown-linux-gnu",
       
    87             "hidden": true,
       
    88             "cacheVariables": {
       
    89                 "Rust_CARGO_TARGET": "i686-unknown-linux-gnu"
       
    90             }
       
    91         },
       
    92         {
       
    93             "name": "aarch64-unknown-linux-gnu",
       
    94             "hidden": true,
       
    95             "cacheVariables": {
       
    96                 "Rust_CARGO_TARGET": "aarch64-unknown-linux-gnu"
       
    97             }
       
    98         },
       
    99         {
       
   100             "name": "x86_64-apple-darwin",
       
   101             "hidden": true,
       
   102             "cacheVariables": {
       
   103                 "Rust_CARGO_TARGET": "x86_64-apple-darwin"
       
   104             }
       
   105         },
       
   106         {
       
   107             "name": "aarch64-apple-darwin",
       
   108             "hidden": true,
       
   109             "cacheVariables": {
       
   110                 "Rust_CARGO_TARGET": "aarch64-apple-darwin"
       
   111             }
       
   112         },
       
   113         {
       
   114             "name": "vs-platform-arm64",
       
   115             "hidden": true,
       
   116             "inherits": ["aarch64-pc-windows-msvc","windows-10-cross"],
       
   117             "architecture": {
       
   118                 "value": "ARM64"
       
   119             }
       
   120         },
       
   121         {
       
   122             "name": "vs-platform-x64",
       
   123             "hidden": true,
       
   124             "inherits": ["x86_64-pc-windows-msvc"],
       
   125             "architecture": {
       
   126                 "value": "x64"
       
   127             }
       
   128         },
       
   129         {
       
   130             "name": "vs-platform-i686",
       
   131             "hidden": true,
       
   132             "inherits": ["i686-pc-windows-msvc", "windows-10-cross"],
       
   133             "architecture": {
       
   134                 "value": "Win32"
       
   135             }
       
   136         },
       
   137         {
       
   138             "name": "vs-2019-x86_64",
       
   139             "inherits": ["vs-platform-x64", "vs-2019"]
       
   140         },
       
   141         {
       
   142             "name": "vs-2022-x86_64",
       
   143             "inherits": ["vs-platform-x64", "vs-2022"]
       
   144         },
       
   145         {
       
   146             "name": "vs-2019-i686",
       
   147             "inherits": ["vs-platform-i686", "vs-2019"]
       
   148         },
       
   149         {
       
   150             "name": "vs-2022-i686",
       
   151             "inherits": ["vs-platform-i686", "vs-2022"]
       
   152         },
       
   153         {
       
   154             "name": "vs-2019-aarch64",
       
   155             "inherits": ["vs-platform-arm64", "vs-2019"]
       
   156         },
       
   157         {
       
   158             "name": "vs-2022-aarch64",
       
   159             "inherits": ["vs-platform-arm64", "vs-2022"]
       
   160         },
       
   161         {
       
   162             "name": "clang",
       
   163             "hidden": true,
       
   164             "cacheVariables": {
       
   165                 "CMAKE_C_COMPILER": "clang",
       
   166                 "CMAKE_CXX_COMPILER": "clang++"
       
   167             }
       
   168         },
       
   169         {
       
   170             "name": "host-gcc",
       
   171             "hidden": true,
       
   172             "cacheVariables": {
       
   173                 "CMAKE_C_COMPILER": "gcc",
       
   174                 "CMAKE_CXX_COMPILER": "g++"
       
   175             }
       
   176         },
       
   177         {
       
   178             "name": "clang-cl",
       
   179             "hidden": true,
       
   180             "inherits": ["windows-only"],
       
   181             "cacheVariables": {
       
   182                 "CMAKE_C_COMPILER": "clang-cl",
       
   183                 "CMAKE_CXX_COMPILER": "clang-cl"
       
   184             }
       
   185         },
       
   186         {
       
   187             "name": "cl",
       
   188             "hidden": true,
       
   189             "inherits": ["windows-only"],
       
   190             "cacheVariables": {
       
   191                 "CMAKE_C_COMPILER": "cl",
       
   192                 "CMAKE_CXX_COMPILER": "cl"
       
   193             }
       
   194         },
       
   195         {
       
   196             "name": "ninja-x86_64-pc-windows-msvc-cl",
       
   197             "inherits": ["ninja", "x86_64-pc-windows-msvc", "cl"]
       
   198         },
       
   199         {
       
   200             "name": "ninja-x86_64-pc-windows-msvc-clang-cl",
       
   201             "inherits": ["ninja", "x86_64-pc-windows-msvc", "clang-cl"]
       
   202         },
       
   203         {
       
   204             "name": "ninja-x86_64-pc-windows-msvc-clang",
       
   205             "inherits": ["ninja", "x86_64-pc-windows-msvc", "clang"]
       
   206         },
       
   207         {
       
   208             "name": "ninja-i686-pc-windows-msvc-cl",
       
   209             "inherits": ["ninja", "i686-pc-windows-msvc", "cl", "windows-10-cross"]
       
   210         },
       
   211         {
       
   212             "name": "ninja-i686-pc-windows-msvc-clang-cl",
       
   213             "inherits": ["ninja", "i686-pc-windows-msvc", "clang-cl", "windows-10-cross"]
       
   214         },
       
   215         {
       
   216             "name": "ninja-i686-pc-windows-msvc-clang",
       
   217             "inherits": ["ninja", "i686-pc-windows-msvc", "clang", "windows-10-cross"]
       
   218         },
       
   219         {
       
   220             "name": "ninja-aarch64-pc-windows-msvc-cl",
       
   221             "inherits": ["ninja", "aarch64-pc-windows-msvc", "cl", "windows-10-cross"]
       
   222         },
       
   223         {
       
   224             "name": "ninja-aarch64-pc-windows-msvc-clang-cl",
       
   225             "inherits": ["ninja", "aarch64-pc-windows-msvc", "clang-cl", "windows-10-cross"]
       
   226         },
       
   227         {
       
   228             "name": "ninja-aarch64-pc-windows-msvc-clang",
       
   229             "inherits": ["ninja", "aarch64-pc-windows-msvc", "clang", "windows-10-cross"]
       
   230         },
       
   231         {
       
   232             "name": "ninja-x86_64-pc-windows-gnullvm",
       
   233             "inherits": ["ninja", "windows-only", "clang"],
       
   234             "toolchainFile": "${sourceDir}/.github/scripts/toolchains/x86_64-pc-windows-gnullvm.cmake"
       
   235         },
       
   236         {
       
   237             "name": "make-x86_64-pc-windows-gnullvm",
       
   238             "inherits": ["make", "windows-only", "clang"],
       
   239             "toolchainFile": "${sourceDir}/.github/scripts/toolchains/x86_64-pc-windows-gnullvm.cmake"
       
   240         },
       
   241         {
       
   242             "name": "ninja-x86_64-pc-windows-gnu-gcc",
       
   243             "inherits": ["ninja", "host-gcc", "windows-only"]
       
   244         },
       
   245         {
       
   246             "name": "make-x86_64-pc-windows-gnu-gcc",
       
   247             "inherits": ["make", "host-gcc", "windows-only"]
       
   248         },
       
   249         {
       
   250             "name": "x86_64-unknown-linux-gnu-clang",
       
   251             "inherits": ["x86_64-unknown-linux-gnu"],
       
   252             "toolchainFile": "${sourceDir}/.github/scripts/toolchains/${presetName}.cmake"
       
   253         },
       
   254         {
       
   255             "name": "x86_64-unknown-linux-gnu-gcc",
       
   256             "inherits": ["x86_64-unknown-linux-gnu"],
       
   257             "toolchainFile": "${sourceDir}/.github/scripts/toolchains/${presetName}.cmake"
       
   258         },
       
   259         {
       
   260             "name": "i686-unknown-linux-gnu-clang",
       
   261             "inherits": ["i686-unknown-linux-gnu"],
       
   262             "toolchainFile": "${sourceDir}/.github/scripts/toolchains/${presetName}.cmake"
       
   263         },
       
   264         {
       
   265             "name": "i686-unknown-linux-gnu-gcc",
       
   266             "inherits": ["i686-unknown-linux-gnu"],
       
   267             "toolchainFile": "${sourceDir}/.github/scripts/toolchains/${presetName}.cmake"
       
   268         },
       
   269         {
       
   270             "name": "aarch64-unknown-linux-gnu-clang",
       
   271             "inherits": ["aarch64-unknown-linux-gnu"],
       
   272             "toolchainFile": "${sourceDir}/.github/scripts/toolchains/${presetName}.cmake"
       
   273         },
       
   274         {
       
   275             "name": "aarch64-unknown-linux-gnu-gcc",
       
   276             "inherits": ["aarch64-unknown-linux-gnu"],
       
   277             "toolchainFile": "${sourceDir}/.github/scripts/toolchains/${presetName}.cmake"
       
   278         },
       
   279         {
       
   280             "name": "x86_64-apple-darwin-clang",
       
   281             "inherits": ["x86_64-apple-darwin", "clang"],
       
   282             "toolchainFile": "${sourceDir}/.github/scripts/toolchains/${presetName}.cmake"
       
   283         },
       
   284         {
       
   285             "name": "aarch64-apple-darwin-clang",
       
   286             "inherits": ["aarch64-apple-darwin"],
       
   287             "toolchainFile": "${sourceDir}/.github/scripts/toolchains/${presetName}.cmake"
       
   288         }
       
   289     ]
       
   290 }