Examples of how to create a WebUI application in C++.
The only requirement to build the examples is a a C++11 compiler.
minimal: Creates a minimal WebUI application.call_cpp_from_js: Calls C++ from JavaScript.call_js_from_cpp: Calls JavaScript from C++ using class methods and member-function bind.serve_a_folder: Uses WebUI to serve a folder with multiple files (class-based example using member-function bind).virtual_file_system: Embeds files using a virtual file system.
To build an example, cd into its directory and run the make command.
-
Windows
# G++ mingw32-make # MSVC nmake
-
Linux
# G++ make # Clang make CXX=clang
-
macOS
make