Feel++ support cmake presets #1705
prudhomm
announced in
Announcements
Replies: 2 comments 4 replies
-
@prudhomm with |
Beta Was this translation helpful? Give feedback.
4 replies
-
If one wish to use a preset but want to have the build files somewhere else, one can use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
,toolboxes
andmor
, namely the python wrapper of the exiting components:pyfeelpp
the python wrapper forfeelpp
pyfeelpp-toolboxes
the python wrapper fortoolboxes
pyfeelpp-mor
the python wrapper formor
This 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:
default
on configuration which compiles and installs everythingfeelpp
compiles and installs only the Feel++ librarypyfeelpp
compiles and installs only the pyfeelpp componenttoolboxes
compiles and installs only the Feel++ toolboxespyfeelpp-toolboxes
compiles and installs only the Feel++ toolboxes python wrappermor
compiles and installs only the Feel++ MORpyfeelpp-mor
compiles and installs only the Feel++ MOR python wrapperto execute a preset, just type for example
and it will automatically configure the
feelpp
preset and build it inbuild/feelpp
Beta Was this translation helpful? Give feedback.
All reactions