Граф коммитов

564 Коммитов

Автор SHA1 Сообщение Дата
Kenny Kerr 358db2a4f2
Test build (#438) 2019-12-02 08:33:23 -08:00
Kenny Kerr fd4b105e83
Workarounds to improve IntelliSense (#433) 2019-11-27 12:26:21 -08:00
Johan Laanstra 84095fb5b1 Override GetResolvedWinMD to make sure all native build targets are aware of the C++/WinRT produced WinMD. (#432) 2019-11-27 11:23:35 -08:00
Johan Laanstra 190a347999 CoreApp doesn't generate a WinMD (#426) 2019-11-15 14:18:23 -08:00
Kenny Kerr 3aff17beed
Support boxing of GUID types for improved interop (#424) 2019-11-15 10:42:48 -08:00
Kenny Kerr 5034a4394f
Remove unused internal declaration (#423) 2019-11-15 10:42:28 -08:00
Kenny Kerr 6218c03bdf
Single-parameter constructors should be explicit (#422) 2019-11-15 10:42:02 -08:00
Johan Laanstra 609ad4bf75 Add a better default for CppWinRTGenerateWindowsMetadata for CX projects. (#405)
* Add a better default for CX projects.

* Add warning.

* Update Microsoft.Windows.CppWinRT.targets
2019-11-12 07:52:48 -08:00
Kenny Kerr 586a10f8e1
WINRT_LEAN_AND_MEAN should not exclude overridable interfaces (#416) 2019-11-11 12:46:45 -08:00
Manodasan Wignarajah c72136397e Fixing CppWinRT_IncludePath and the include paths that build on it to point to the generated headers (#409)
* Fixing CppWinRT_IncludePath and the include paths that build on it to refer to the generated header files rather than the one in the installed Windows SDK.

* Removing redundant condition.

* Resolving issue using alternate approach of setting an include path in props to prevent SDK uap.props from overriding it.

* Remove spacing.
2019-11-08 11:49:40 -08:00
Scott Jones 34ee7310c7
Merge pull request #404 from jlaanstra/user/jlaans/399
Add CppWinRTGenerateWindowsMetadata property to more quickly determine if a project outputs a winmd.
2019-10-29 09:03:42 -07:00
Johan Laanstra 2e930849dd Add a few comments and add the property to the static lib project template. 2019-10-29 08:55:27 -07:00
Johan Laanstra 896d31f208 Update readme. 2019-10-29 08:50:24 -07:00
Johan Laanstra b612b2cd8a Fix comments. 2019-10-29 08:50:24 -07:00
Johan Laanstra db382832f5 Add CppWinRTGenerateWindowsMetadata property to more quickly determine if a project outputs a winmd. 2019-10-29 08:50:24 -07:00
Scott Jones 916f9262e8
Merge pull request #402 from jlaanstra/user/jlaans/static-library-template
Add Static Library project template.
2019-10-29 08:40:25 -07:00
Scott Jones 68888f3f45
Merge branch 'master' into user/jlaans/static-library-template 2019-10-29 08:40:15 -07:00
Johan Laanstra ee4fa8cac4 Fix typo. 2019-10-29 08:23:44 -07:00
Johan Laanstra 559734bf41 ALso add flags here. 2019-10-29 08:22:01 -07:00
Johan Laanstra c35d3246fe Replace url everywhere. 2019-10-29 08:19:07 -07:00
Johan Laanstra 70a728da04 Remove cert wizard. 2019-10-29 08:16:22 -07:00
Johan Laanstra 2e26492881 Explain how to use static libraries. 2019-10-29 08:13:48 -07:00
Scott Jones 74a0ce8a2c
Merge pull request #403 from jlaanstra/user/jlaans/remove-xaml
Remove unnecessary xaml and windows includes.
2019-10-29 08:11:05 -07:00
Johan Laanstra 548983b91e Reduce includes. 2019-10-29 07:46:18 -07:00
Johan Laanstra cfac2a0157 Remove unnecessary xaml includes. 2019-10-27 15:13:55 -07:00
Johan Laanstra fb3989cd7b Add Static Library template. 2019-10-27 15:13:08 -07:00
Scott Jones dbb269c533
Merge pull request #400 from microsoft/Scottj1s-selectmidl
Ctrl+F7 (selected file) midl compilation support
2019-10-25 14:36:01 -07:00
Scott Jones 3086c229f3
Ctrl+F7 (selected file) midl compilation support 2019-10-25 10:56:04 -07:00
Scott Jones aaba219593
Merge pull request #396 from jlaanstra/user/jlaans/395
Fix case where dependent target, needed to evaluate condition, is skipped because condition is false.
2019-10-23 17:30:49 -07:00
Johan Laanstra 785285c65c Revert formatting. 2019-10-23 16:50:08 -07:00
Johan Laanstra 0756c85298 Fix case where dependent target, needed to evaluate condition is skipped because condition is false. 2019-10-23 16:37:52 -07:00
Scott Jones 6a44537a6a
Merge pull request #394 from jlaanstra/user/jlaans/undefined-target
Remove undefined target.
2019-10-22 14:40:32 -07:00
Johan Laanstra cb96155105 Remove undefined target. 2019-10-22 14:00:25 -07:00
Scott Jones 43c1591ce9
Merge pull request #393 from jlaanstra/user/jlaans/formatting
Format the targets file.
2019-10-21 18:27:20 -07:00
Johan Laanstra cd23edd8d9 Format the targets file. 2019-10-21 18:22:03 -07:00
Scott Jones c396967f47
Merge pull request #392 from jlaanstra/user/jlaans/391
Only build the reference projection when there are references.
2019-10-21 18:14:46 -07:00
Scott Jones bd01bc431a
Merge branch 'master' into user/jlaans/391 2019-10-21 18:14:16 -07:00
Scott Jones cbe965919a
Merge pull request #390 from jlaanstra/user/jlaans/xaml-targets
The CppWinRTAddXamlReferences/CppWinRTSetXamlLocalAssembly targets should only execute if the xaml language is CppWinRT.
2019-10-21 18:09:54 -07:00
Scott Jones 54d1d38fca
Merge branch 'master' into user/jlaans/xaml-targets 2019-10-21 18:09:43 -07:00
Scott Jones 5c80b6dadb
Merge pull request #389 from jlaanstra/user/jlaans/388
Fix the building of static libraries outside of VS.
2019-10-21 18:07:06 -07:00
Johan Laanstra 990faf2647
Update Microsoft.Windows.CppWinRT.targets 2019-10-21 13:08:33 -07:00
Johan Laanstra c8d27c1f87
Only build the reference projection when there are references.
Only build the reference projection when there are references.
2019-10-21 12:18:22 -07:00
Johan Laanstra 6b39cdaeae Condition is evaluated before DependsOnTargets runs. 2019-10-20 23:46:58 -07:00
Johan Laanstra 8274532715 Fix missing method. 2019-10-20 23:46:30 -07:00
Johan Laanstra 54aa653166
The CppWinRTAddXamlReferences/CppWinRTSetXamlLocalAssembly targets should only execute if the xaml language is CppWinRT.
The CppWinRTAddXamlReferences/CppWinRTSetXamlLocalAssembly targets should only execute if the xaml language is CppWinRT.

Currently this also affects CX projects and since the winmd files are not yet available by the time this target runs, it causes non-determinism for subsequent builds when files do exist.
2019-10-20 23:27:25 -07:00
Johan Laanstra a1cccc06a5 Revert some formatting. 2019-10-18 22:33:04 -07:00
Johan Laanstra 97475a48ee Fix the building of static libraries outside of VS. 2019-10-18 22:25:26 -07:00
Scott Jones 44edf44de2
Merge pull request #387 from jlaanstra/user/jlaans/386
Update make targets to use marker file as output.
2019-10-18 13:13:31 -07:00
Johan Laanstra 36dca0e0c9 Update make targets to use marker file as output. 2019-10-18 13:00:34 -07:00
Kenny Kerr e4830e1aed build 2019-10-18 10:27:53 -07:00