C++/WinRT

C++/WinRT 是针对 Windows Runtime 的标准 C++ 语言投影。「C++/WinRT is a standard C++ language projection for the Windows Runtime.」

  • 所有者: microsoft/cppwinrt
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

The C++/WinRT language projection

C++/WinRT is an entirely standard C++ language projection for Windows Runtime (WinRT) APIs, implemented as a header-file-based library, and designed to provide you with first-class access to the modern Windows API. With C++/WinRT, you can author and consume Windows Runtime APIs using any standards-compliant C++17 compiler.

Building C++/WinRT

Don't build C++/WinRT yourself - just download the latest version here: https://aka.ms/cppwinrt/nuget

Working on the compiler

If you really want to build it yourself, the simplest way to do so is to run the build_test_all.cmd script in the root directory. Developers needing to work on the C++/WinRT compiler itself should go through the following steps to arrive at an efficient inner loop:

  • Open a dev command prompt pointing at the root of the repo.
  • Open the cppwinrt.sln solution.
  • Choose a configuration (x64, x86, Release, Debug) and build projects as needed.

If you are working on an ARM64 or ARM specific issue from an x64 or x86 host, you will need to instead:

  • Open the cppwinrt.sln solution
  • Build the x86 version of the "cppwinrt" project first
  • Switch to your preferred configuration and build the test binaries and run them in your test environment

Comparing Outputs

Comparing the output of the prior release and your current changes will help show the impact of any updates. Starting from
a dev command prompt at the root of the repo after following the above build instructions:

  • Run build_projection.cmd in the dev command prompt
  • Run build_prior_projection.cmd in the dev command prompt as well
  • Run prepare_versionless_diffs.cmd which removes version stamps on both current and prior projection
  • Use a directory-level differencing tool to compare _build\$(arch)\$(flavor)\winrt and _reference\$(arch)\$(flavor)\winrt

主要指标

概览
名称与所有者microsoft/cppwinrt
主编程语言C++
编程语言Batchfile (语言数: 6)
平台
许可证MIT License
所有者活动
创建于2016-09-14 16:28:57
推送于2024-10-26 19:13:30
最后一次提交2024-10-02 15:15:26
发布数102
最新版本名称2.0.240405.15 (发布于 )
第一版名称creators_update_preview (发布于 2017-03-01 14:15:34)
用户参与
星数1.7k
关注者数105
派生数239
提交数565
已启用问题?
问题数944
打开的问题数1
拉请求数403
打开的拉请求数0
关闭的拉请求数78
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?