mirror of
https://github.com/webui-dev/webui.git
synced 2024-10-26 23:43:43 +03:00
62a3b79e4b
* Adding `-ldl` |
||
---|---|---|
.. | ||
call_cpp_from_js | ||
call_js_from_cpp | ||
minimal | ||
serve_a_folder | ||
README.md |
WebUI C++ Examples
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_c_from_js
: Calls C++ from JavaScript.call_js_from_c
: Calls JavaScript from C++.serve_a_folder
: Uses WebUI to serve a folder that contains multiple files.
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