-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
49 lines (49 loc) · 1.77 KB
/
Copy pathCMakePresets.json
File metadata and controls
49 lines (49 loc) · 1.77 KB
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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 30,
"patch": 0
},
"configurePresets": [
{
"name": "ninja-gfortran",
"displayName": "Ninja Multi-Config (gfortran + clang)",
"description": "Default: gfortran + clang/clang++ (GNU ABI), outputs to build/ and bin/",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build",
"toolchainFile": "${sourceDir}/cmake/gfortran-toolchain.cmake"
},
{
"name": "ninja-ifx",
"displayName": "Ninja Multi-Config (ifx + MSVC)",
"description": "ifx + cl.exe (MSVC ABI), outputs to build-ifx/ and bin-ifx/",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build-ifx",
"cacheVariables": {
"CMAKE_Fortran_COMPILER": "ifx",
"CMAKE_C_COMPILER": "cl",
"CMAKE_CXX_COMPILER": "cl"
}
},
{
"name": "ninja-ifx-clangcl",
"displayName": "Ninja Multi-Config (ifx + clang-cl)",
"description": "ifx + clang-cl (MSVC ABI), outputs to build-ifx/ and bin-ifx/",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build-ifx",
"cacheVariables": {
"CMAKE_Fortran_COMPILER": "ifx",
"CMAKE_C_COMPILER": "clang-cl",
"CMAKE_CXX_COMPILER": "clang-cl"
}
},
{
"name": "ninja-unix",
"displayName": "Ninja Multi-Config (Linux/macOS)",
"description": "Default for non-Windows platforms",
"generator": "Ninja Multi-Config",
"binaryDir": "${sourceDir}/build"
}
]
}