Open
Description
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'