Skip to content

Please consider supporting RelWithDebInfo #6496

Open

Description

@bjornpiltz

I don't see the purpose of the following line in the top level CMake script:
set(CMAKE_CONFIGURATION_TYPES "Debug;Release" CACHE STRING "Configs" FORCE)
What are the reasons for disabling RelWithDebInfo?

Activity

  1. PkLab commented on May 23, 2016

    @PkLab
    Contributor

    I would see available also MinSizeRel

  2. mshabunin commented on May 23, 2016

    @mshabunin
    Contributor

    These restrictions were made to explicitly limit the number of supported build configurations. If you need to build a custom variant of OpenCV with advanced parameters, you can patch this file locally.

  3. PkLab commented on May 23, 2016

    @PkLab
    Contributor

    It was to be aligned to CMAKE_C[XX]_FLAGS_[DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL]

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions