[TIMOB-19651] Windows: Windows 10 support for cmake
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-10-06T23:34:28.000+0000 |
Affected Version/s | Release 5.0.0 |
Fix Version/s | n/a |
Components | Windows |
Labels | n/a |
Reporter | Kota Iguchi |
Assignee | Kota Iguchi |
Created | 2015-10-01T00:01:02.000+0000 |
Updated | 2017-03-16T22:33:01.000+0000 |
Description
Latest cmake 3.3.2 doesn't support
CMAKE_SYSTEM_VERSION=10.0
. Seems like latest [MS version of cmake](https://github.com/Microsoft/CMake) does support it, so we need to build/get the binary and update our cmake.
(time cmake -G "Visual Studio 14 2015" -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0 -DTitaniumWindows_DISABLE_TESTS= -DTitaniumWindows_Global_DISABLE_TESTS=ON -DTitaniumWindows_Ti_DISABLE_TESTS=ON -DTitaniumWindows_UI_DISABLE_TESTS=ON -DTitaniumKit_DISABLE_TESTS=ON -DHAL_DISABLE_TESTS=ON "C:/titanium_mobile_windows/Examples/NG")
Re-run cmake no build system arguments
CMake Error at CMakeLists.txt:17 (project):
Visual Studio 14 2015 supports Windows Store '8.0' and '8.1', but not
'10.0'. Check CMAKE_SYSTEM_VERSION.
https://github.com/appcelerator/titanium_mobile_windows/pull/445 is ready now.
Closing ticket as fixed.