Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.17 KB

BUILD.md

File metadata and controls

21 lines (15 loc) · 1.17 KB

Building wxECharts

Build requirements

How to Build

Build as any other application with CMake, CMake's find_package() will be used to determine wxWidgets location.

Windows

For simplicity sake, only x64 build is supported. webview2 package folder must be made available to CMake using variable WEBVIEW2_FOLDER, for example

cmake -G "Visual Studio 17 2022" -DWEBVIEW2_FOLDER=D:\Dev\Desktop\Lib\webview2 <...more parameters...>

The package folder is usually <WXWIDGETS_SRC_FOLDER>/3rdparty/webview2, or if it was downloaded with CMake, it is in the CMake build folder, <BUILD_FOLDER>/libs/webview/packages/Microsoft.Web.WebView2.<version>.

Linux

CMake's pkg_check_modules() will be used to add gio-2.0 and webkit2gtk-4.0 or webkit2gtk-4.1 packages.