Skip to content

Modernize cmake compile options #22

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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