/
CMakePresets.json
69 lines (68 loc) · 2.17 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
{
"version": 1,
"cmakeMinimumRequired": {
"major": 3,
"minor": 19,
"patch": 0
},
"configurePresets": [
{
"name": "dev-gnu",
"inherits": "gnu",
"displayName": "Sofware Development Config (GNU)",
"description": "Default config for software development with GNU compilers.",
"binaryDir": "build-dev-gnu",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_Fortran_FLAGS_DEBUG": "-g -O0 -Wall -Wextra -Wcharacter-truncation -Wno-maybe-uninitialized -fcheck=all -fbacktrace"
}
},
{
"name": "dev-intel",
"inherits": "intel",
"displayName": "Sofware Development Config (Intel)",
"description": "Config for software development with Intel Compilers.",
"binaryDir": "build-dev-intel",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_Fortran_FLAGS_DEBUG": "-g -O0 -warn all,nointerfaces -check all -traceback"
}
},
{
"name": "deploy-nas",
"inherits": "intel",
"displayName": "NAS Deployment Config",
"description": "Deploy Intel build to development module in /swbuild/tsa.",
"binaryDir": "build-deploy-nas",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "/swbuild/tsa/apps/cfdtools/develop"
}
},
{
"name": "gnu",
"displayName": "Baseline GNU Compiler Config",
"description": "Default config for GNU compiliers. See also: cmake/cfdtools_compile_options.cmake",
"binaryDir": "build-gnu",
"generator": "Unix Makefiles",
"cacheVariables": {
"CMAKE_Fortran_COMPILER": "gfortran",
"CMAKE_C_COMPILER": "gcc",
"CMAKE_CXX_COMPILER": "g++",
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "intel",
"displayName": "Baseline Intel Compiler Config",
"description": "Default config for Intel compilier. See also: cmake/cfdtools_compile_options.cmake",
"binaryDir": "build-intel",
"generator": "Unix Makefiles",
"cacheVariables": {
"CMAKE_Fortran_COMPILER": "ifort",
"CMAKE_C_COMPILER": "icc",
"CMAKE_CXX_COMPILER": "icpc",
"CMAKE_BUILD_TYPE": "Release"
}
}
]
}