On 12/12/2011 09:00 PM, Robert Dailey wrote: > I need a version of CMAKE_EXE_LINKER_FLAGS for shared libraries. I need > to specify /NODEFAULTLIB for a shared library (DLL) that I'm building, > but it doesn't seem that CMAKE_EXE_LINKER_FLAGS is used by shared > library projects generated by CMake for visual studio. > > Any suggestions? >
Use CMAKE_SHARED_LINKER_FLAGS. Strangely, this family of variables is missing from the docs... Michael -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake