[PATCH] Can't detect the compiler in Windows store ARM


When building a Windows store project in ARM configuration, compiler detection failed. This patch fix this issue that compiler detection, test C/CXX compiler and project generation work.

NOTE that this patch is not well tested. Especially I'm not sure about whether there is any the side effect in Windows desktop and Windows phone platforms.

file attachments

Closed Aug 9, 2014 at 7:57 AM by gillesk
I've moved to the new generators. ARM seems to work properly now.


gongminmin wrote Aug 5, 2014 at 1:14 AM

Here is a new revision. In this patch, win phone target is also considered. The trick is write the WINDOWS_STORE and WINDOWS_PHONE marks into CMakeSystem.cmake, so that testCXXCompiler can inherit that target information.

gillesk wrote Aug 5, 2014 at 4:15 PM

Thanks Minmin,

The compiler detection code will be changing very soon to use toolsets and (CMAKE_SYSTEM_NAME and CMAKE_SYSTEM_VERSION) instead of the current method, this work is being done by Kitware and is currently in their next branch.

gongminmin wrote Aug 7, 2014 at 12:58 AM

I see. Thanks for your information.