Revision 6682443c62ce5614c9a1775d2f8439ee04c0d7e6 authored by Frédéric Simonis on 22 February 2024, 10:54:14 UTC, committed by Frédéric Simonis on 23 February 2024, 12:41:06 UTC
1 parent fefa349
CMakePresets.json
{
"version": 3,
"configurePresets": [
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/build",
"cacheVariables": {
"BUILD_SHARED_LIBS": "ON"
}
},
{
"name": "production",
"inherits": "base",
"displayName": "Production release",
"description": "Release configuration for preCICE used in production.",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON"
}
},
{
"name": "production-audit",
"inherits": "production",
"displayName": "Production release with assertions",
"description": "Release build assertions enabled for auditting a specific run.",
"cacheVariables": {
"PRECICE_RELEASE_WITH_ASSERTIONS": "ON",
"PRECICE_RELEASE_WITH_DEBUG_LOG": "ON"
}
},
{
"name": "develop",
"inherits": "base",
"displayName": "Development",
"description": "Development config with default settings",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_CXX_FLAGS": "-Wall -Wextra -Wno-unused-parameter"
},
"warnings": {
"dev": true,
"deprecated": true,
"uninitialized": true
}
},
{
"name": "debian-package",
"inherits": "production",
"displayName": "Debian package",
"description": "Build for the generation of Debian packages",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "/usr",
"CPACK_GENERATOR": "DEB",
"BUILD_TESTING": "OFF"
}
},
{
"name": "optimized-debug",
"inherits": "base",
"displayName": "Optimized debug",
"description": "Optimized debug build log and assertions enabled",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"PRECICE_RELEASE_WITH_ASSERTIONS": "ON",
"PRECICE_RELEASE_WITH_DEBUG_LOG": "ON",
"CMAKE_CXX_FLAGS": "-fno-omit-frame-pointer"
}
},
{
"name": "profiling",
"inherits": "develop",
"displayName": "Profiling",
"description": "Profiling configuration",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"CMAKE_INTERPROCEDURAL_OPTIMIZATION": "ON",
"CMAKE_CXX_FLAGS": "-Wall -Wextra -Wno-unused-parameter -fno-omit-frame-pointer"
}
}
]
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...