Support building wxWebViewEdge with GCC or Clang

Add EventToken.h with EventRegistrationToken implementation, that can be used by the WebView2 header.
This commit is contained in:
Maarten Bent
2021-02-26 20:33:36 +01:00
committed by Vadim Zeitlin
parent b43803703d
commit 09bc566b60
6 changed files with 49 additions and 14 deletions

View File

@@ -67,6 +67,9 @@ elseif(WXMSW)
endif()
wx_lib_include_directories(wxwebview PRIVATE "${WEBVIEW2_PACKAGE_DIR}/build/native/include")
if(NOT MSVC)
wx_lib_include_directories(wxwebview PRIVATE "${wxSOURCE_DIR}/include/wx/msw/wrl")
endif()
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
set(WEBVIEW2_ARCH x86)