|
| 1 | +{ |
| 2 | + "version": 1, |
| 3 | + "cmakeMinimumRequired": { |
| 4 | + "major": 3, |
| 5 | + "minor": 19, |
| 6 | + "patch": 0 |
| 7 | + }, |
| 8 | + "configurePresets": [ |
| 9 | + { |
| 10 | + "name": "dev", |
| 11 | + "inherits": "gnu", |
| 12 | + "displayName": "Sofware Development Config (GNU)", |
| 13 | + "description": "Default configuration for software development with gfortran.", |
| 14 | + "binaryDir": "build-dev", |
| 15 | + "cacheVariables": { |
| 16 | + "CMAKE_BUILD_TYPE": "Debug", |
| 17 | + "CEA_ENABLE_BIND_C": "TRUE", |
| 18 | + "CEA_ENABLE_BIND_PYTHON": "TRUE", |
| 19 | + "CEA_ENABLE_BIND_MATLAB": "TRUE", |
| 20 | + "CMAKE_Fortran_FLAGS_DEBUG": "-g -fno_underscoring -O0 -Wall -Wextra -Wpedantic -Wcharacter-truncation -Wno-maybe-uninitialized -Werror=conversion -fcheck=all -fbacktrace" |
| 21 | + } |
| 22 | + }, |
| 23 | + { |
| 24 | + "name": "dev-intel", |
| 25 | + "inherits": "intel", |
| 26 | + "displayName": "Sofware Development Config (Intel)", |
| 27 | + "description": "Default configuration for software development with ifort.", |
| 28 | + "binaryDir": "build-dev-intel", |
| 29 | + "cacheVariables": { |
| 30 | + "CMAKE_BUILD_TYPE": "Debug", |
| 31 | + "CEA_ENABLE_BIND_C": "TRUE", |
| 32 | + "CEA_ENABLE_BIND_PYTHON": "TRUE", |
| 33 | + "CMAKE_Fortran_FLAGS_DEBUG": "-g -O0 -warn all -check all -traceback -fpe0" |
| 34 | + } |
| 35 | + }, |
| 36 | + { |
| 37 | + "name": "core", |
| 38 | + "inherits": "gnu", |
| 39 | + "displayName": "Core (Fortran only)", |
| 40 | + "description": "Minimal Fortran-only build without Python bindings.", |
| 41 | + "binaryDir": "build-core", |
| 42 | + "cacheVariables": { |
| 43 | + "CMAKE_BUILD_TYPE": "Release", |
| 44 | + "CEA_ENABLE_BIND_C": "FALSE", |
| 45 | + "CEA_ENABLE_BIND_CXX": "FALSE", |
| 46 | + "CEA_ENABLE_BIND_PYTHON": "FALSE", |
| 47 | + "CEA_ENABLE_BIND_MATLAB": "FALSE", |
| 48 | + "CEA_ENABLE_BIND_EXCEL": "FALSE" |
| 49 | + } |
| 50 | + }, |
| 51 | + { |
| 52 | + "name": "core-c", |
| 53 | + "inherits": "gnu", |
| 54 | + "displayName": "Core (Fortran + C)", |
| 55 | + "description": "Minimal Fortran + C build without Python bindings.", |
| 56 | + "binaryDir": "build-core-c", |
| 57 | + "cacheVariables": { |
| 58 | + "CMAKE_BUILD_TYPE": "Release", |
| 59 | + "CEA_ENABLE_BIND_C": "TRUE", |
| 60 | + "CEA_ENABLE_BIND_CXX": "FALSE", |
| 61 | + "CEA_ENABLE_BIND_PYTHON": "FALSE", |
| 62 | + "CEA_ENABLE_BIND_MATLAB": "FALSE", |
| 63 | + "CEA_ENABLE_BIND_EXCEL": "FALSE" |
| 64 | + } |
| 65 | + }, |
| 66 | + { |
| 67 | + "name": "gnu", |
| 68 | + "displayName": "Baseline GNU/GFortran Config", |
| 69 | + "description": "Default configuration for GNU-like compiliers.", |
| 70 | + "binaryDir": "build-gnu", |
| 71 | + "generator": "Unix Makefiles", |
| 72 | + "cacheVariables": { |
| 73 | + "CMAKE_C_COMPILER": "gcc", |
| 74 | + "CMAKE_CXX_COMPILER": "g++", |
| 75 | + "CMAKE_Fortran_COMPILER": "gfortran", |
| 76 | + "CMAKE_Fortran_FLAGS": "-std=f2008 -fno_underscoring -fimplicit-none -ffree-line-length-none" |
| 77 | + } |
| 78 | + }, |
| 79 | + { |
| 80 | + "name": "intel", |
| 81 | + "displayName": "Baseline Intel/ifort Config", |
| 82 | + "description": "Default configuration for the ifort compilier.", |
| 83 | + "binaryDir": "build-intel", |
| 84 | + "generator": "Unix Makefiles", |
| 85 | + "cacheVariables": { |
| 86 | + "CMAKE_C_COMPILER": "icc", |
| 87 | + "CMAKE_CXX_COMPILER": "icpc", |
| 88 | + "CMAKE_Fortran_COMPILER": "ifort", |
| 89 | + "CMAKE_Fortran_FLAGS": "-std08" |
| 90 | + } |
| 91 | + } |
| 92 | + ] |
| 93 | +} |
0 commit comments