C++/WinRT
Перейти к файлу
Raymond Chen ae94947a23
Structured binding support for IKeyValuePair (#590)
2020-04-16 22:25:23 -07:00
cppwinrt Replace old headers with modern ones (#565) 2020-03-23 12:57:01 -07:00
fast_fwd port 2019-10-08 08:33:26 -07:00
natvis build 2020-01-29 06:03:08 -08:00
nuget Revert "Remove use of umbrella libraries (#520)" (#529) 2020-02-13 20:21:01 -08:00
prebuild Revert "Revert "Build tweaks to simplify Win7 smoke testing (#471)"" 2020-01-15 08:35:21 -08:00
scratch Avoid max macro collision (#474) 2020-01-16 12:37:02 -08:00
strings Structured binding support for IKeyValuePair (#590) 2020-04-16 22:25:23 -07:00
test Structured binding support for IKeyValuePair (#590) 2020-04-16 22:25:23 -07:00
vsix Add ARM64 support to the Universal templates. (#561) 2020-03-22 18:27:22 -07:00
.gitattributes Build (#478) 2020-01-16 09:16:13 -08:00
.gitignore Fix support for delegates returning arrays of structs (#510) 2020-01-31 11:33:22 -08:00
CODE_OF_CONDUCT.md clean 2019-10-08 05:14:30 -07:00
LICENSE clean 2019-10-08 05:14:30 -07:00
Microsoft.Windows.CppWinRT.1.0.0.nupkg build 2019-10-17 10:32:47 -07:00
README.md Update README.md 2020-02-24 06:04:50 -08:00
SECURITY.md clean 2019-10-08 05:14:30 -07:00
build_projection.cmd build 2019-10-11 09:06:48 -07:00
build_test_all.cmd Update nuget.exe url to point to the right location. (#507) 2020-01-29 21:32:22 -08:00
compile_tests.cmd port 2019-10-08 08:19:10 -07:00
cppwinrt.props Avoid max macro collision (#474) 2020-01-16 12:37:02 -08:00
cppwinrt.sln Revert "Revert "Build tweaks to simplify Win7 smoke testing (#471)"" 2020-01-15 08:35:21 -08:00
run_tests.cmd Revert "Revert "Build tweaks to simplify Win7 smoke testing (#471)"" 2020-01-15 08:35:21 -08:00

README.md

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. Dont 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.