AW: [CMake] The /DEF-option of MSVC-link

Gerhard Grimm ggrimm at detec.de
Tue Jan 29 05:36:41 EST 2008


Hi Michael,

simply add the .def file to your target's sources.

Best regards, Gerhard

-----Ursprüngliche Nachricht-----
Gesendet: Dienstag, 29. Januar 2008 11:30
An: cmake at cmake.org
Betreff: [CMake] The /DEF-option of MSVC-link


How can I place the /DEF:"Debug\File.def" option to the
MSVC linker ?

I thought
SET_TARGET_PROPERTIES(mYtarget PROPERTIES 
			LINK_FLAGS "/DEF:\"Debug\\File.def\"")
would be a good idea, but that doesn't work.

Michael Renner

_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list