[CMake] Setting /MANIFESTUAC:NO with Visual Studio 2012 is ignored

Eric Berge ericmberge at gmail.com
Fri May 2 12:47:19 EDT 2014


Note that this was based on 2.8.12.2 but looking at the more recent code I
think there's a possibility that a fix for this "fell out" of a
restructuring of the generation of the vcproj files.   I'm going to try to
build this and see if the problem appears to be fixed.




On Fri, May 2, 2014 at 10:59 AM, Eric Berge <ericmberge at gmail.com> wrote:

>
> I am updating our cmake files from Visual Studio 2008 to 2012 and the
> setting of CMAKE_EXE_LINKER_FLAGS to include /MANIFESTUAC:NO (which worked
> with VS2008) appears to be ignored.  The resulting exe files have the
> following manifest in them:
>
> <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
> <assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
>   <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
>     <security>
>       <requestedPrivileges>
>         <requestedExecutionLevel level='asInvoker' uiAccess='false' />
>       </requestedPrivileges>
>     </security>
>   </trustInfo>
> </assembly>
>
> I'm not sure, but I believe this is due to the following being included
> for the RelWithDebInfo build I'm doing:
>
> <GenerateManifest
> Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">true</GenerateManifest>
>
> and I expect this should be "false" (but I'm not sure whether there are
> other parts of the Visual Studio project file that need to be updated as
> well.
>
> I believe this is another manifestation or is at least related to issue
> 12963 - http://public.kitware.com/Bug/view.php?id=12963
>
> So I'm probably requesting that issue be bumped from "backlog" status.
>
> Eric
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140502/ef36cafb/attachment.html>


More information about the CMake mailing list