Skip to content
Snippets Groups Projects

Update solvers' CMakeLists.txt to fix some warnings detection issue

Merged Jacques Xing requested to merge CFD-Xing/nektar:fix/NektarCommon.cmake into master
All threads resolved!

Issue/feature addressed

The current implementation of NektarCommon.cmake does not properly set compiler flags for files in the solvers/ directory. This results in many undetected warnings/errors in the CI.

Proposed solution

The proposed solution is to use modify the solvers' CMakeLists.txt file.

Implementation

A SET_COMMON_PROPERTIES(${name}-obj) is added in the solvers' CMakeLists.txt file.

Checklist

  • [ ] Functions and classes, or changes to them, are documented.
  • [ ] User guide/documentation is updated.
  • Changelog is updated.
  • [ ] Suitable tests added for new functionality.
  • Contributed code is correctly formatted. (See the contributing guidelines).
  • [ ] License added to any new files.
  • No extraneous files have been added (e.g. compiler output or test data files).

Warning

On the 19.07 the code formatting (code style) was standardised using clang-format, over the whole Nektar++ code. This means changes in your branch will conflict with formatting changes on the master branch. To resolve these conflicts , see #295 (closed)

Edited by Jacques Xing

Merge request reports

Merge request pipeline #4364 passed

Merge request pipeline passed for b79dbc25

Approval is optional

Merged by Dave MoxeyDave Moxey 2 years ago (Nov 23, 2022 11:12am UTC)

Merge details

  • Changes merged into master with a854f656 (commits were squashed).
  • Deleted the source branch.

Pipeline #4369 failed

Pipeline failed for a854f656 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading