Skip to content
Snippets Groups Projects

[Fix] CMake using testflag enabled

Merged Christopher Ruwisch requested to merge fix/cmake_enabled_test_flags into develop

Problem:

  • With the current verison, the cmake configuration fails when configured with BUILD_UNITTEST or BUILD_BLACKBOXTESTS if the directory test and the according CMakeLists.txt file does not exist.

Additionally:

  • ecological_assessment used deprecated libraries (aircraftGeometry & svgPlot). Those are not accessible anymore which leads to a failing configuration with one or both of the used flags

Solution: Added a specific check whether there is a test directory which contains a CMakeLists.txt. If so, the subdirectory will be added, otherwise it skips the test configuration

For ecological_assessment, the library linkage is updated.

Unix test → Successful
Windows test → to test by reviewer

Merge request reports

Loading
Loading

Activity

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