Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor CMake #140

Merged
merged 16 commits into from
Nov 26, 2024
Merged

Refactor CMake #140

merged 16 commits into from
Nov 26, 2024

Conversation

CasparJungbacker
Copy link
Collaborator

@CasparJungbacker CasparJungbacker commented Nov 22, 2024

Clean up and refactor our CMake infrastructure, using ECMWF's ecbuild helper functions.

  • Use CMake presets for toolchain selection. Instead of using the SYST environment variable, a toolchain can be selected by providing --preset=<name> to the cmake command. For example:
cmake --preset=gnu ..

is equal to the old workflow of setting SYST=gnu-fast before calling cmake. To get a list of all defined presets, execute:

cmake --list-presets
  • Renamed some compilation options. I will provide an updated list of these in the documentation.
  • Renamed the DALES executable from dalesX.Y to just dales. The DALES library has been renamed to libdales.
  • Disabled compilation of the DALES library by default.
  • Update minimum CMake version to 3.17.
  • Updated CI.

@CasparJungbacker CasparJungbacker marked this pull request as ready for review November 22, 2024 16:26
@fjansson fjansson merged commit 1d5279b into dalesteam:dev Nov 26, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants