Skip to content

List of CMake related items  #2189

@MikeGitb

Description

@MikeGitb

As discussed in #2142 I would like to modernize the cmake build scripts.
The purpose of this issue is to keep track of all planned and proposed changes related to that and in particular any ordering requirement. E.g. there are already some open PRs that should get merged before I want to start any bigger refactoring of the CMLs.

  1. Existing PRs that should be merged first:

  2. First round of new PRs (Preparatory work to establish proper test coverage):

  3. Second round of new PRs (cleanup/simplification/fixes):

    • TBD: Enable CMP0091 (activate MSVC_RUNTIME_LIBRARY)
    • TBD: Require c++17 on msvc
    • TBD: Remove manualy setting of -std=c++XX flags.
    • TBD: Check if /MP and/or /FS can be removed
    • TBD: Check if /NODEFAULTLIB is necessary
    • TBD: Use CMAKE_VS_PLATFORM_TOOLSET / update vs platform detection logic (cinder is requiring VS2019)
    • TBD: Use capability of catch2 to create separate ctest target for each test
    • ... (some more cleanup possible?)
  4. Third round of PRs (more invasive stuff):

    • TBD: Move CMLs to example root folders
    • TBD: Create separate targets (objectlibs) for the third party libs in cinder
    • ...

Other open PRs affecting CMake (but are e.g. outdated/not ready to merge/need review/might get superseeded ...)

Adding @ufidstudios-ch as I believe he is also planning to update some cmake files

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions