forked from swat-model/swatplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakePresets.json
84 lines (84 loc) · 2.89 KB
/
CMakePresets.json
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"version": 3,
"configurePresets": [
{
"name": "ifort_debug",
"displayName": "ifort debug version",
"description": "Preset to builds ifort debug executable for swatplus",
"binaryDir": "build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "build/debug",
"CMAKE_Fortran_COMPILER": "ifort"
}
},
{
"name": "ifx_debug",
"displayName": "ifx debug version",
"description": "Preset to builds a ifx debug executable for swatplus",
"binaryDir": "build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "build/debug",
"CMAKE_Fortran_COMPILER": "ifx"
}
},
{
"name": "gfortran_debug_windows",
"displayName": "gfortran debug version",
"description": "Builds a gfortran debug executable for swatplus for windows",
"binaryDir": "build/debug",
"generator": "Ninja",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"architecture": {
"value": "x86",
"strategy": "external"
},
"toolset": {
"value": "host=x86",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "build/debug",
"CMAKE_Fortran_COMPILER": "gfortran"
}
},
{
"name": "gfortran_debug_linux",
"displayName": "gfortran debug version",
"description": "Builds a gfortran debug executable for swatplus for linux",
"binaryDir": "build/debug",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "build/debug",
"CMAKE_Fortran_COMPILER": "gfortran"
}
},
{
"name": "gfortran_debug_macbook",
"displayName": "gfortran debug version",
"description": "Builds a gfortran debug executable for swatplus for macbook",
"binaryDir": "build/debug",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_INSTALL_PREFIX": "build/debug",
"CMAKE_Fortran_COMPILER": "gfortran"
}
}
]
}