[CMake] Is there a setting for Windows DLL file targets that's similar to CMAKE_EXE_LINKER_FLAGS ?

Petr Kmoch petr.kmoch at gmail.com
Sat Apr 28 07:31:07 EDT 2012


Hi David,

I believe what you're looking for is CMAKE_SHARED_LINKER_FLAGS.

Petr

On Sat, Apr 28, 2012 at 1:10 AM,  <david_bjornbak at agilent.com> wrote:
> We here are trying to setup VS2010 for generating code coverage data....and
> for that I need to add a linker flag /PROFILE . For adding that to exe we
> have a cmake variable CMAKE_EXE_LINKER_FLAGS . But that works only for exe
> and you add a similar varibale for adding linker flags for DLLs.
>
>
>
> In other words is  there a setting for Windows DLL file targets that's
> similar to CMAKE_EXE_LINKER_FLAGS ?
>
>
>
> ++David->Bjornbak;
>
>
>
>
> --
>
> 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


More information about the CMake mailing list