Skip to content

Modernize cmake compile options #22

@taminob

Description

@taminob

Currently, the compile options are set via CMAKE_CXX_FLAGS.

In modern CMake, this should be replaced by either providing compiler-specific presets or at least setting it only for the desired targets.
In order to avoid duplication, they could be stored in a variable which are then used via target_compile_options for each target.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cmakeRelated to cmake build system

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions