[cmake-developers] Creating Windows 7 manifests with mingw builds

Alexander Neundorf neundorf at kde.org
Thu Feb 21 17:08:32 EST 2013


On Thursday 21 February 2013, Brad King wrote:
> On 02/21/2013 01:07 PM, Alexander Neundorf wrote:
> > I learned that executables for Windows 7 need some manifest embedded, and
> > that this works more or less automatically with CMake and MSVC.
> > 
> > I also learned that our (KDE's) Windows team wrote a tool to do the same
> > when using mingw. It is a few kB of STL-only C++ code, and this macro:
> > 
> > Now as you know we'd like to get rid of our custom stuff, and it seems to
> > me that this is something which would make sense to have in cmake
> > directly.
> 
> I think it is reasonable to try to solve this in CMake so it happens
> automatically.  It should be built into the platform link rules and
> not added as a custom POST_BUILD command.
> 
> Bill, as the author of the current manifest support for MSVC what
> do you think?
> 
> Alex, can you please post a link to the KDE implementation in C++?

It's currently GPL licensed, if you are interested, I'll ask the authors 
whether they can relicense it under BSD.
http://quickgit.kde.org/?p=kdewin.git&a=tree&hb=HEAD&f=tools%2Fmt

Alex



More information about the cmake-developers mailing list