Skip to content

Should setting -Dbuildtype=release at the project level be discouraged? #2208

Closed
@WillAyd

Description

@WillAyd

Going back to the discussion in #2150 (comment), I think we may want to discourage projects from setting the buildtype as part of their default options. When building a project as the main project it is harmless, but when used as a subproject, on Windows you will get failures when linking that subproject in to a main project who is built with a debug build type.

Assessing the current state of the wrapdb, there are only a few configurations that have this. I am happy to clean this up if we agree

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions