[cmake-developers] Patches for Visual Studio multi-CPU architecture project generation and a Windows-Phone-8 generator

Brad King brad.king at kitware.com
Thu Oct 17 09:13:05 EDT 2013


On 10/17/2013 03:42 AM, Patrick Gansterer wrote:
> ...project link against a 3rd party library with find_package()
> which are different on x86/x64/ARM/... platform.
> I'm against adding this feature until this problem is solved

Ugh, you're right.  That completely slipped my mind.  We can support
multiple CMAKE_OSX_ARCHITECTURES on OS X because they have frameworks
built as universal binaries so linking to one library file can support
multiple architectures.  That is not the case on Windows, making this
feature unrealistic without teaching find modules to provide imported
targets with per-architecture locations.  That is a much bigger
task :(

-Brad



More information about the cmake-developers mailing list