Hi Brad,
Thanks a lot, works like a charm!
Daniel
-Original Message-
From: Brad King [mailto:brad.k...@kitware.com]
Sent: Donnerstag, 9. August 2018 15:21
To: Daniel Eiband ; cmake@cmake.org
Subject: Re: [CMake] Link flags in CMAKE_CXX_CREATE_STATIC_LIBRARY
On 08/07/2018 06:54 AM
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 pro
Hi,
I'm using CMake on Windows with Ninja and MSVC inside Visual Studio. I'd like
to suppress linker warning 4221. To do so I added the following linker flag:
set_property(TARGET MyTarget APPEND PROPERTY LINK_FLAGS "/ignore:4221")
This however doesn't affect the creation of static libraries. Th