webui/examples/C++
2023-09-09 15:18:30 +02:00
..
call_cpp_from_js Update Makefiles 2023-09-09 15:18:30 +02:00
call_js_from_cpp Update Makefiles 2023-09-09 15:18:30 +02:00
minimal Update Makefiles 2023-09-09 15:18:30 +02:00
serve_a_folder Update Makefiles 2023-09-09 15:18:30 +02:00
README.md Use a single Makefile to build examples 2023-09-07 07:10:05 +02:00

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 -f Makefile.nmake
    
  • Linux

    # G++
    make
    
    # Clang
    make CXX=clang
    
  • macOS

    make