[cmake-developers] [CMake 0012963]: VS10 /MANIFESTUAC:NO not working properly

Mantis Bug Tracker mantis at public.kitware.com
Tue Feb 14 06:35:13 EST 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=12963 
====================================================================== 
Reported By:                birken
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   12963
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-02-14 06:35 EST
Last Modified:              2012-02-14 06:35 EST
====================================================================== 
Summary:                    VS10 /MANIFESTUAC:NO not working properly
Description: 
The /MANIFESTUAC:NO flag doesn't work when creating VS10 project files.

In cmVS10LinkFlagTable.h:


  {"EnableUAC", "MANIFESTUAC:NO", "", "false",
   cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue },

...

   {"EnableUAC", "MANIFESTUAC:", "", "true",
   cmVS7FlagTable::UserValueIgnored | cmVS7FlagTable::Continue},

The continue flag causes cmake to continue checking and then matching with
"MANIFESTUAC:" which has user value ignored flag, thus setting it back to true.

Removing the continue flag seems to solve the problem.



Steps to Reproduce: 
Remove all /MANIFESTUAC flags from your cmake project
add a /MANIFESTUAC:NO link flag
build vs10 project, manifest uac is set to true.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-02-14 06:35 birken         New Issue                                    
======================================================================




More information about the cmake-developers mailing list