[CMake] Fwd: [PATCH] Add support for Metro apps

2014-03-30 Thread Minmin Gong
Hi cmake developers and users, This is a extend discussion of this ticket: http://www.cmake.org/Bug/view.php?id=13511. In our project, we need to build an Win8+ Metro app. Currently the CMake do support VS_WINRT_EXTENSIONS. However, if you want to build an exe instead of dll or lib, even with x86

[CMake] Equivalent of -T v120_xp with ninja generator

2014-03-30 Thread Thomas Sondergaard
Hi, On Windows we use -G "Visual Studio 12" with -T v120_xp, thus using Visual Studio 2013 to build binaries that are compatible with Windows XP. It would be a great help if someone could tell me how to accomplish the same with the Ninja generator. I'd like to switch to using Ninja on Windows

[CMake] find_package with static library that uses pkg-config not working

2014-03-30 Thread Bill Somerville
Hi, I am using find_package to configure a library that uses pkg-config. When I configure and build a static only version of the library the link commands generated for my project are wrong. The problem boils down to the fact that for static link of a library pkg-config needs to be called wi