Enable wxWebviewChromium dynamic builds.
This commit is contained in:
parent
9de0e4fdd7
commit
3a4d793579
4 changed files with 24 additions and 2 deletions
|
|
@ -3102,6 +3102,24 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
|
|||
<set var="CEF_INCLUDE_DIR">
|
||||
</set>
|
||||
|
||||
<set var="CONFIGURE" >
|
||||
<if cond="BUILD=='debug'">Debug</if>
|
||||
<if cond="BUILD=='release'">Release</if>
|
||||
</set>
|
||||
|
||||
<!--specify CEF lib dir-->
|
||||
<set var="CEF_LIB_DIR">
|
||||
<if cond="PLATFORM_WIN32=='1'">
|
||||
$(CEF_INCLUDE_DIR)/$(CONFIGURE)/,$(CEF_INCLUDE_DIR)/out/$(CONFIGURE)/lib/
|
||||
</if>
|
||||
<if cond="PLATFORM_MACOSX=='1'">
|
||||
<!--TODO -->
|
||||
</if>
|
||||
<if cond="PLATFORM_UNIX=='1'">
|
||||
<!--TODO -->
|
||||
</if>
|
||||
</set>
|
||||
|
||||
<set var="WEBVIEW_SRC_PLATFORM">
|
||||
<if cond="TOOLKIT=='MSW'">src/msw/webview_ie.cpp</if>
|
||||
<if cond="TOOLKIT=='GTK'">
|
||||
|
|
|
|||
|
|
@ -186,6 +186,10 @@
|
|||
<library>basedll</library>
|
||||
<ldlibs>$(EXTRALIBS_WEBVIEW)</ldlibs>
|
||||
<msvc-headers>$(WEBVIEW_HDR)</msvc-headers>
|
||||
<include>$(CEF_INCLUDE_DIR)</include>
|
||||
<lib-path>$(CEF_LIB_DIR)</lib-path>
|
||||
<sys-lib>libcef</sys-lib>
|
||||
<sys-lib>libcef_dll_wrapper</sys-lib>
|
||||
</dll>
|
||||
|
||||
<lib id="webviewlib" template="wx_lib"
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
extern const char wxWebViewBackendChromium[];
|
||||
extern WXDLLIMPEXP_DATA_WEBVIEW(const char) wxWebViewBackendChromium[];
|
||||
|
||||
class wxWebViewChromium;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
#pragma warning(pop)
|
||||
#endif
|
||||
|
||||
extern const char wxWebViewBackendChromium[] = "wxWebViewChromium";
|
||||
extern WXDLLIMPEXP_DATA_WEBVIEW(const char) wxWebViewBackendChromium[] = "wxWebViewChromium";
|
||||
|
||||
wxIMPLEMENT_DYNAMIC_CLASS(wxWebViewChromium, wxWebView);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue