From: Brad King [mailto:[hidden email]]
Sent: Donnerstag, 9. August 2018 15:21
To: Daniel Eiband <[hidden email]>; [hidden email] Subject: Re: [CMake] Link flags in CMAKE_CXX_CREATE_STATIC_LIBRARY
On 08/07/2018 06:54 AM, Daniel Eiband wrote:
> set_property(TARGET MyTarget APPEND PROPERTY LINK_FLAGS "/ignore:4221")
> This however doesn't affect the creation of static libraries.
Static libraries are created by the librarian tool, not the linker.
There is a separate STATIC_LIBRARY_FLAGS property for this: