An example CMake project to build cross-platform (Linux and Windows) C++17 applications using a webview frontend.
Table of Contents
- The web content engine library for GTK
# installation on Ubuntu based distributions
sudo apt-get install libwebkit2gtk-4.0-dev
Open the root CMakeLists.txt
in CLion. Then the project can be built with
Ctrl+F9
and run with Shift+F10
.
- CMake
- WebKit framework (should come preinstalled)
Todo: instructions
- NuGet Commandline
- Make sure you add the path to the executable to %PATH% in the environment variables.
- Visual Studio 2022 with the Desktop development with C++ workload installed. Also, make sure you select C++ CMake for Windows as sub-option of this workload.
Simply open this folder in Visual Studio 2022. Then right click on the root
CMakeLists.txt
and select Set as startup item
. Next you should be able to
build the project with Ctrl+B
and run it with Ctrl+F5
.