Revision 345be921f1abd02233ffd534716156ec76a548c7 authored by Frédéric Simonis on 05 April 2024, 13:07:31 UTC, committed by Frédéric Simonis on 05 April 2024, 13:07:31 UTC
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"
}
}
]
}
Computing file changes ...