Skip to content

Clean up CMake Files #647

Open
Open
@xsaschako

Description

@xsaschako

Motivation / Current Behaviour

Currently, the CMake files have a considerable debt of old CMake style code.
A lot of it can be deleted because newer versions of CMake are way more robust and better suited.

Enhancement description

Cleanup cmake files.

Additional context

E.g.:

 „FetchContent_GetProperties(foo)
if(NOT foo_POPULATED)
    FetchContent_Populate(foo)
    add_subdirectory(${foo_SOURCE_DIR} ${foo_BINARY_DIR})
endif()“

„Projects should no longer manually implement this pattern.
They should be updated to call FetchContent_MakeAvailable() instead, which is
far more feature-rich and will increasingly be expected by developers.“
Auszug aus
Professional CMake: A Practical Guide
Craig Scott
https://itunes.apple.com/WebObjects/MZStore.woa/wa/viewBook?id=0
Dieses Material ist möglicherweise urheberrechtlich geschützt.

Checklist

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project

Metadata

Metadata

Assignees

No one assigned

    Labels

    class::improvementCleanup that doesn't affect functionalityclass::performancePerformance related issuesloc::backendThis issue concerns the C++ backend implementation.loc::continuous integrationThis issue concerns any problem of continuous integration.loc::infrastructureGeneral MEmilio Infrastructure related issuesprio::lowThe priority of this task is low. It is an interesting item but with low priority.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions