https://github.com/feelpp/feelpp
Tip revision: 496322a5cef4562d10b9e243b6c0fa20e79f2a65 authored by CĂ©line Van Landeghem on 20 February 2024, 14:19:06 UTC
Up elastic collision algo
Up elastic collision algo
Tip revision: 496322a
CMakePresets.json
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"displayName": "Default Config",
"description": "Default build using Makefile generator",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/default",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/default/install/",
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_BUILD_TYPE": "Release",
"FEELPP_ENABLE_TOOLBOXES": "ON",
"FEELPP_ENABLE_MOR": "ON",
"FEELPP_ENABLE_FEELPP_PYTHON": "ON",
"FEELPP_ENABLE_FMILIB": "OFF",
"FEELPP_ENABLE_BENCHMARKS": "ON",
"FEELPP_USE_EXTERNAL_EIGEN3": "OFF"
},
"environment": {
"MY_ENVIRONMENT_VARIABLE": "Test"
},
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": true
}
}
},
{
"name": "specx",
"inherits": "default",
"displayName": "specx",
"description": "Build feelpp with specx",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/specx",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/specx/install/",
"FEELPP_ENABLE_BENCHMARKS": "ON",
"FEELPP_ENABLE_SPECX": "ON"
}
},
{
"name": "dbg",
"displayName": "Debug Config",
"description": "Debug build using Makefile generator",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/dbg",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "clang++",
"CMAKE_BUILD_TYPE": "Debug",
"FEELPP_ENABLE_TOOLBOXES": {
"type": "BOOL",
"value": "OFF"
},
"FEELPP_ENABLE_MOR": "OFF"
},
"environment": {
"MY_ENVIRONMENT_VARIABLE": "Test"
},
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": true
}
}
},
{
"name": "feelpp",
"inherits": "default",
"displayName": "feelpp",
"description": "Build only the Feel++ library Component",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/feelpp",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/feelpp/install/",
"FEELPP_COMPONENT": "feelpp",
"FEELPP_ENABLE_MOR": "OFF",
"FEELPP_ENABLE_TOOLBOXES": "OFF",
"FEELPP_ENABLE_FEELPP_PYTHON": "OFF",
"FEELPP_ENABLE_TESTS": "OFF",
"FEELPP_ENABLE_FMILIB": "OFF",
"FEELPP_ENABLE_BENCHMARKS": "OFF"
}
},
{
"name": "feelpp+specx",
"inherits": "default",
"displayName": "feelpp+specx",
"description": "Build only the Feel++ library Component with specx runtime",
"generator": "Unix Makefiles",
"binaryDir": "${sourceDir}/build/feelpp+specx",
"cacheVariables": {
"FEELPP_COMPONENT": "feelpp",
"FEELPP_ENABLE_MOR": "OFF",
"FEELPP_ENABLE_TOOLBOXES": "OFF",
"FEELPP_ENABLE_FEELPP_PYTHON": "OFF",
"FEELPP_ENABLE_TESTS": "OFF",
"FEELPP_ENABLE_FMILIB": "OFF",
"FEELPP_ENABLE_BENCHMARKS": "ON",
"FEELPP_ENABLE_SPECX": "ON"
}
},
{
"name": "toolboxes",
"inherits": "default",
"displayName": "toolboxes",
"description": "Build only the Feel++ Toolboxes Component",
"binaryDir": "${sourceDir}/build/toolboxes",
"cacheVariables": {
"FEELPP_COMPONENT": "toolboxes",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/toolboxes/install/"
}
},
{
"name": "mor",
"inherits": "default",
"displayName": "mor",
"description": "Build only the Feel++ MOR Component",
"binaryDir": "${sourceDir}/build/mor",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/mor/install/",
"FEELPP_COMPONENT": "mor",
"FEELPP_ENABLE_RESEARCH": "OFF",
"FEELPP_ENABLE_OPENTURNS": "ON"
}
},
{
"name": "mor-dbg",
"inherits": "mor",
"displayName": "mor-dbg",
"description": "Build only the Feel++ MOR Component in Debug",
"binaryDir": "${sourceDir}/build/mor-dbg",
"cacheVariables": {
"CMAKE_CXX_FLAGS_DEBUG": "-g -O0",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/mor-dbg/install/",
"FEELPP_COMPONENT": "mor",
"FEELPP_ENABLE_RESEARCH": "OFF",
"CMAKE_BUILD_TYPE": "Debug",
"FEELPP_ENABLE_OPENTURNS": "ON",
"CMAKE_VERBOSE_MAKEFILE": "OFF"
}
},
{
"name": "research-mor",
"inherits": "default",
"displayName": "resarch-mor",
"description": "Build only the Feel++ MOR and Research Components",
"binaryDir": "${sourceDir}/build/research-mor",
"cacheVariables": {
"FEELPP_COMPONENT": "mor",
"FEELPP_ENABLE_RESEARCH": "ON"
}
},
{
"name": "feelpp-python",
"inherits": "default",
"displayName": "python",
"description": "Build only the Feel++ python Component",
"binaryDir": "${sourceDir}/build/python",
"cacheVariables": {
"FEELPP_COMPONENT": "python",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/python/install/"
}
},
{
"name": "python",
"inherits": "default",
"displayName": "python",
"description": "Build only the Feel++ python Component",
"binaryDir": "${sourceDir}/build/python",
"cacheVariables": {
"FEELPP_COMPONENT": "python",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/python/install/"
}
},
{
"name": "feelpp-python-dbg",
"inherits": "default",
"displayName": "feelpp-python-dbg",
"description": "Build only the Feel++ python Component in Debug mode",
"binaryDir": "${sourceDir}/build/python-dbg",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"FEELPP_COMPONENT": "python"
}
},
{
"name": "mor_python",
"inherits": "default",
"displayName": "mor_python",
"description": "Build the Feel++ MOR and Python Components",
"binaryDir": "${sourceDir}/build/mor_python",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/mor_python/install/",
"FEELPP_COMPONENT": "mor;python",
"FEELPP_ENABLE_RESEARCH": "OFF",
"FEELPP_ENABLE_OPENTURNS": "ON"
}
},
{
"name": "testsuite",
"inherits": "default",
"displayName": "testsuite",
"description": "Build only the Feel++ testsuite Component",
"binaryDir": "${sourceDir}/build/testsuite",
"cacheVariables": {
"FEELPP_COMPONENT": "testsuite"
}
},
{
"name": "testsuite-install",
"inherits": "default",
"displayName": "testsuite using local install",
"description": "Build only the Feel++ testsuite Component",
"binaryDir": "${sourceDir}/build/testsuite-install",
"cacheVariables": {
"FEELPP_COMPONENT": "testsuite",
"FEELPP_DIR": "${sourceDir}/build/default/install/"
}
},
{
"name": "benchmarks",
"inherits": "default",
"displayName": "benchmarks",
"description": "Build only the Feel++ benchmarks Component",
"binaryDir": "${sourceDir}/build/benchmarks",
"cacheVariables": {
"FEELPP_COMPONENT": "benchmarks"
}
},
{
"name": "windows-only",
"inherits": "default",
"displayName": "Windows-only configuration",
"description": "This build is only available on Windows",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "macos-homebrew",
"inherits": "default",
"displayName": "MacOS configuration using Homebrew",
"description": "This build is only available on MacOS",
"binaryDir": "${sourceDir}/build/macos-homebrew",
"cacheVariables": {
"CMAKE_INSTALL_PREFIX": "${sourceDir}/build/macos-homebrew/install/",
"CMAKE_CXX_COMPILER": "/opt/homebrew/opt/llvm/bin/clang++",
"CMAKE_C_COMPILER": "/opt/homebrew/opt/llvm/bin/clang",
"FEELPP_STD_CPP": "20",
"CMAKE_CXX_FLAGS": "-D_HAS_AUTO_PTR_ETC=0"
}
},
{
"name": "doxygen",
"inherits": "default",
"displayName": "doxygen",
"description": "Build Feel++ doxygen documentation",
"binaryDir": "${sourceDir}/build/doxygen",
"cacheVariables": {
"FEELPP_ENABLE_DOXYGEN": "ON"
}
}
],
"buildPresets": [
{
"name": "default",
"configurePreset": "default",
"jobs": 25
},
{
"name": "specx",
"configurePreset": "specx",
"jobs": 25
},
{
"name": "dbg",
"configurePreset": "dbg",
"jobs": 10,
"targets": [
"feelpp",
"pyfeelpp",
"install"
]
},
{
"name": "macos-homebrew",
"configurePreset": "macos-homebrew",
"jobs": 2
},
{
"name": "feelpp",
"configurePreset": "feelpp",
"inherits": "default",
"targets": [
"all",
"install"
]
},
{
"name": "toolboxes",
"inherits": "default",
"configurePreset": "toolboxes",
"targets": [
"all",
"install"
]
},
{
"name": "mor",
"inherits": "default",
"configurePreset": "mor"
},
{
"name": "mor-dbg",
"inherits": "default",
"configurePreset": "mor-dbg",
"configuration": "Debug"
},
{
"name": "feelpp-python",
"inherits": "default",
"configurePreset": "feelpp-python"
},
{
"name": "python",
"inherits": "default",
"configurePreset": "python"
},
{
"name": "feelpp-python-dbg",
"inherits": "default",
"configurePreset": "feelpp-python-dbg",
"targets": [
"all",
"install"
]
},
{
"name": "mor_python",
"inherits": "default",
"configurePreset": "mor_python"
},
{
"name": "testsuite",
"configurePreset": "testsuite",
"inherits": "default",
"targets": [
"all"
]
},
{
"name": "doxygen",
"configurePreset": "doxygen",
"targets": ["doxygen"]
}
],
"testPresets": [
{
"name": "default",
"configurePreset": "default",
"filter":{
"include":{
"name":"feelpp"
}
},
"output": {
"outputOnFailure": true
},
"execution": {
"jobs":2,
"noTestsAction": "error",
"stopOnFailure": false,
"repeat": {
"mode": "until-pass",
"count": 3
}
}
},
{
"name": "specx",
"configurePreset": "specx",
"inherits": "default"
},
{
"name": "feelpp",
"configurePreset": "feelpp",
"inherits":"default"
},
{
"name": "toolboxes",
"configurePreset": "toolboxes",
"inherits": "feelpp"
},
{
"name": "mor",
"configurePreset": "mor",
"inherits": "feelpp"
},
{
"name": "feelpp-python",
"configurePreset": "feelpp-python",
"inherits": "feelpp"
},
{
"name": "mor_python",
"configurePreset": "mor_python",
"inherits": "feelpp"
},
{
"name": "testsuite",
"configurePreset": "testsuite",
"inherits": "feelpp"
}
],
"vendor": {
"example.com/ExampleIDE/1.0": {
"autoFormat": false
}
}
}