Create new Nickvision applications
- A template for creating cross-platform desktop apps in C++
- Linux support through GTK4/libadwaita
- Windows support through WindowsAppSDK/WinUI
See CONTRIBUTING.md for details on how can you help the project and how to provide information so we can help you in case of troubles with the app.
Application uses cmake
as its build system and vcpkg
to optionally manage its dependencies.
Ensure cmake
and vcpkg
are installed on your system before building and installing Application.
A C++20 compiler is also required to build Application.
The following are a list of dependencies used by Application.
The recommendation is to (and below commands will) use vcpkg to pull these dependencies. However, vcpkg is not a requirement as long as the system provides these dependencies correctly.
libnick
blueprint-compiler
(Not available from vcpkg)libxmlpp
- Set the
VCPKG_ROOT
environment variable to the path of your vcpkg installation's root directory.
- Set the
VCPKG_DEFAULT_TRIPLET
environment variable tox64-windows
- Run
vcpkg install libnick
- Set the
VCPKG_DEFAULT_TRIPLET
environment variable tox64-linux
- Run
vcpkg install libnick libxmlpp
- First, clone/download the repo.
- Open a terminal and navigate to the repo's root directory.
- Create a new
build
directory andcd
into it.
- From the
build
folder, runcmake .. -G "Visual Studio 17 2022"
. - From the
build
folder, runcmake --build . --config Release
. - After these commands complete, Application will be successfully built and its binaries can be found in the
org.nickvision.application.winui/Release
folder of thebuild
folder.
- From the
build
folder, runcmake .. -DCMAKE_BUILD_TYPE=Release
. - From the
build
folder, runcmake --build .
. - After these commands complete, Application will be successfully built and its binaries can be found in the
org.nickvision.application.gnome
folder of thebuild
folder.
This project follows the GNOME Code of Conduct.