Feel++ support cmake presets #1705
prudhomm
announced in
Announcements
Replies: 2 comments 4 replies
|
@prudhomm with |
4 replies
|
If one wish to use a preset but want to have the build files somewhere else, one can use |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Introduction
Feel++ now supports CMake Presets [1] and vscode supports it as well [2].
We have now a new system of configuration which allows to set up configurations and builds of feelpp.
In vscode replaces the cmake-variants by the cmake-tools but it is necessary to have cmake 3.21.
This version of cmake is installed on ubutu 20.04 via snap.
Feel++ components
Feel++ now enjoys three more components aside from
feelpp,toolboxesandmor, namely the python wrapper of the exiting components:pyfeelppthe python wrapper forfeelpppyfeelpp-toolboxesthe python wrapper fortoolboxespyfeelpp-morthe python wrapper formorThis allows to build separately the python wrappers as long as the corresponding components and their dependencies are installed.
CmakePresets Configurations
The available Presets configurations are defined by the components currently, but they will be extended very soon:
We have:
defaulton configuration which compiles and installs everythingfeelppcompiles and installs only the Feel++ librarypyfeelppcompiles and installs only the pyfeelpp componenttoolboxescompiles and installs only the Feel++ toolboxespyfeelpp-toolboxescompiles and installs only the Feel++ toolboxes python wrappermorcompiles and installs only the Feel++ MORpyfeelpp-morcompiles and installs only the Feel++ MOR python wrapperto execute a preset, just type for example
and it will automatically configure the
feelpppreset and build it inbuild/feelppAll reactions