a. Disable PCH for Ninja, just a workaround fix compiler always said: can't open xxx.pch files
b. Remove unnecessary definition _WINSOCKAPI_ for Ninja build
a. Fix msedge webview2 include for win32
b. Fix msedeg webview2 linking for apps which use prebuilt libs
c. Improve optional libs linking for apps which use prebuilt libs
d. Auto build optional libs which not dependent by engine, such as yaml-cpp
* [Draft] Implement windows video player
Based on microsoft media foundation
* Delete pvd
* Shutdown MF media before release player
* Consider MFMediaPlayer ref leak
* Use Microsoft::WRL::ComPtr
* Simplify code
* Improve code and take care COM object refs
* Update UIVideoPlayer-win.cpp
* Delete unused code
* Add play from url support
* Update logic
* Rename ADXE_ENABLE_MFMEDIA to AX_ENABLE_MFMEDIA
* Rescale video render sprite to view node
* Fix warnings
* Don't shallow copy the video context, it's very dangerous
* Fix compile error CC_VIDEOPLAYER_DEBUG_DRAW=1
* Fixup
* [Window video player] play event dispatch
* support switch video file
* Update UIVideoPlayer-win.cpp
* [windows-video-player] keep aspect ratio and full screen support
* Improve code
* Update changelog [skip ci]
* Update README.md
* Update README.md
* Update README.md
* Update README_CN.md
* Update README_CN.md
Note: New OS feature 'Beta: Use Unicode UTF-8 for worldwide language support' since win10/win11
- OFF: GetACP() equal to current system locale, such as chinese simplified is 936, english is 437
- ON: GetACP() always equal to 65001(UTF-8)
Remark:
The macro CP_ACP for ntcvt::from_chars works for converting chraset from current code page(936,437,65001) to utf-16