How can i use CMake to generate Windows 10 universal project

后端 未结 2 1247
名媛妹妹
名媛妹妹 2020-12-30 08:16

I\'m trying to use CMake to generate Visual Studio 15 project c++ static library for Windows 10. It should be usable on phones so I think it should have support for windows

相关标签:
2条回答
  • 2020-12-30 08:33

    The support for Universal Windows project is provided from cmake version 3.4.0 onwards. Older versions don't support it. The above command works with cmake 3.4.0.

    0 讨论(0)
  • 2020-12-30 08:42

    CMake -G "Visual Studio 14 2015" -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION=10.0

    0 讨论(0)
提交回复
热议问题