[cmake-developers] CMake removes /DEF: option in CMAKE_SHARED_LINKER_FLAGS

Brad King brad.king at kitware.com
Tue Oct 8 10:57:22 EDT 2019


On 10/8/19 8:10 AM, Alexander wrote:
> I found that CMake ignores /DEF: option in CMAKE_SHARED_LINKER_FLAGS.
> I would like to know if this is an expected behaviour or a bug.

A module definition file can be passed as a normal source file and
CMake will automatically add `/DEF:...` to the link line as needed.

-Brad


More information about the cmake-developers mailing list