Skip to content

Switching between release/ debug not possible #1303

Open
@paroj

Description

@paroj

for multi-config generators, notably Xcode and MSVC, switching release/ debug builds is not possible.
This is due to the dependencies being installed with the config of the first build and not being rebuild accordingly.
The workaround for now is to use two build directories - one for release and one for debug.

example error messages:

LNK2038 mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2'
LNK2038	mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug'

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