Expand description
The build module is used to build the project using the enabled features. The features are correctly set when exactly one of the following features is enabled:
local-tdlibpkg-configdownload-tdlib
Functionsยง
- build
- Build the project using the enabled features.
- build_
download_ tdlib - Build the project using the
download-tdlibfeature. - build_
local_ tdlib - Build the project using the
local-tdlibfeature. Using thelocal-tdlibfeature, the function will copy the tdlib library from theLOCAL_TDLIB_PATHenvironment variable. The tdlib folder must contain thelibandincludefolders. You can directly download the tdlib library from the TDLib Release GitHub page. - build_
pkg_ config - Build the project using the
pkg-configfeature. Using thepkg-configfeature, the function will probe the system dependencies. It means that the function assumes that the tdlib library is compiled in the system. It requires the following variables to be set: - check_
features - Check if the features are correctly set. The features are correctly set when exactly one of the following features is enabled:
- set_
rerun_ if - Set the
rerun-if-changedandrerun-if-env-changedflags for the build script. Thererun-if-changedflag is set for thebuild.rsfile. Thererun-if-env-changedflag is set for theLOCAL_TDLIB_PATHenvironment variable.