Microsoft.Windows.CppWinRT

当前版本: 2.0.201113.7


Microsoft.Windows.CppWinRT是什么?

C++/WinRT是仅在头文件中实现的针对Windows运行时的标准C++语言投影。它允许您使用任何标准-co mplant C++co mpiler来创作和使用Windows Runtime API。C++/WinRT旨在为C++开发人员提供对现代Windows API的一流访问。
C++/WinRT is a standard C++ language projection for the Windows Runtime implemented solely in header files. It allows you to both author and consume Windows Runtime APIs using any standards-compliant C++ compiler. C++/WinRT is designed to provide C++ developers with first-class access to the modern Windows API.

许可协议

MIT

关键词

native , C++ , WinRT , nativepackage

安装方式

Install-Package Microsoft.Windows.CppWinRT -Version 2.0.201113.7

相关网址


Microsoft.Windows.CppWinRT使用说明

Build status

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.

C++/WinRT is part of the xlang family of projects that help developers create APIs that can run on multiple platforms and be used with a variety of languages.

Building C++/WinRT

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

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.
  • Build the x64 Release configuration of the cppwinrt project only. Don’t attempt to build anything just yet.
  • Run build_projection.cmd in the dev command prompt.
  • Switch to the x64 Debug configuration in Visual Studio and build all projects as needed.

Contributing (贡献)

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

项目热度

项目信息

分享到

基本信息
开发语言
C++
相关项目
0
相关仓库
57
Watchers
111
Stars
1.01K
Forks
152
版本数量
75
最新发布
2020-11-13
首次发布
2018-09-13
仓库大小
25.1 MB

版本历史
2.0.201113.7
2020-11-13
2.0.201102.2
2020-11-02
2.0.201026.4
2020-10-26
2.0.201017.1
2020-10-18
2.0.201008.2
2020-10-08
2.0.201006.7
2020-10-07
2.0.200921.6
2020-09-21
2.0.200917.4
2020-09-18
2.0.200729.8
2020-07-29
2.0.200728.4
2020-07-29

贡献者
Kenny Kerr Johan Laanstra Scott Jones Raymond Chen William Kent Brent Rector Kevin Welton Jonitis David Fields pi1024e Jano Svitok Richard Thomson Richard Microsoft GitHub User Manodasan Wignarajah Yoh Deadfall Marko Lalic Brent Rector Ryan Shepherd Duncan Horn