Hi. When exactly is mylib_EXPORTS added to the compilation define flags of target library mylib? Sometimes, it's there even when the library is chosen to be static. Thanks for your help.