libnick 2024.10.0
A cross-platform base for native Nickvision applications.
|
A cross-platform base for native Nickvision applications.
libnick provides Nickvision apps with a common set of cross-platform APIs for managing system and desktop app functionality such as network management, taskbar icons, translations, app updates, and more.
None
None
The following are a list of dependencies used by libnick.
The above dependencies must be installed, plus the following for Windows systems:
The above dependencies must be installed, plus the following for Linux systems:
The above dependencies must be installed, plus the following for macOS systems:
libnick is available through vcpkg
.
Simply install and configure vcpkg for your system, and run:
You can then use libnick from cmake with the following:
libnick uses vcpkg
to manage its dependencies and cmake
as its build system.
Ensure both vcpkg
and cmake
are installed on your system before building and installing libnick.
A C++20 compiler is also required to build libnick.
VCPKG_ROOT
environment variable to the path of your vcpkg installation's root directory. VCPKG_DEFAULT_TRIPLET
environment variable to x64-windows
vcpkg install curl gettext-libintl gtest jsoncpp maddy sqlcipher
VCPKG_DEFAULT_TRIPLET
environment variable to x64-linux
vcpkg install curl gettext-libintl glib gtest jsoncpp libsecret libuuid maddy openssl
VCPKG_DEFAULT_TRIPLET
environment variable to x64-osx
vcpkg install curl gettext-libintl glib gtest jsoncpp libsecret maddy openssl
VCPKG_DEFAULT_TRIPLET
environment variable to arm64-osx
vcpkg install curl gettext-libintl glib gtest jsoncpp libsecret maddy openssl
build
directory and cd
into it. build
folder, run cmake .. -G "Visual Studio 17 2022"
.-DBUILD_TESTING="OFF"
to the end of the command.-DCMAKE_INSTALL_PREFIX=PATH_TO_INSTALL_DIR
to the end of the command, replacing PATH_TO_INSTALL_DIR
with the path of where you'd like libnick to install to.build
folder, run cmake --build . --config Release
.Release
folder of the build
folder. build
folder, run cmake .. -DCMAKE_BUILD_TYPE=Release
.-DBUILD_TESTING="OFF"
to the end of the command.-DCMAKE_INSTALL_PREFIX=PATH_TO_INSTALL_DIR
to the end of the command, replacing PATH_TO_INSTALL_DIR
with the path of where you'd like libnick to install to.build
folder, run cmake --build .
.build
folder. build
folder, run cmake .. -DCMAKE_BUILD_TYPE=Release
.-DBUILD_TESTING="OFF"
to the end of the command.-DCMAKE_INSTALL_PREFIX=PATH_TO_INSTALL_DIR
to the end of the command, replacing PATH_TO_INSTALL_DIR
with the path of where you'd like libnick to install to.build
folder, run cmake --build .
.build
folder.build
folder, run cmake --install .
.