[CMake] How to embed the manifest file into DLLs and executables built with NMake?

Pedro d'Aquino budsbd at gmail.com
Thu Sep 16 13:18:05 EDT 2010


Hi Bill,

You are correct. The manifest file is indeed embedded into the binaries.
What confused me was the fact that a .manifest file is also generated, which
is the exact same behavior of Visual Studio when embedding is disabled.

Thanks,

Pedro

On Thu, Sep 16, 2010 at 12:07 PM, Bill Hoffman <bill.hoffman at kitware.com>wrote:

> On 9/16/2010 8:39 AM, Pedro d'Aquino wrote:
>
>> Hello,
>>
>> When building my project from Visual Studio 2010, the generated
>> executables and DLL have their manifest automatically embedded into
>> them. This does not seem to happen when using nmake (or JOM) - which is
>> expected behavior, as per
>> http://msdn.microsoft.com/en-us/library/ms235591(v=VS.100).aspx.
>>
>> I wonder if there is any cmake command or perhaps a flag I can pass to
>> the linker that would enable automatic manifest embedding.
>>
>>
> It should happen with nmake/jom....
>
> Are you sure it is not happening?
>
> -Bill
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100916/d8499787/attachment.htm>


More information about the CMake mailing list