Welcome to the Project Template repository! This README provides user-friendly instructions for setting up, compiling, testing, and running a project using the Meson build system on Windows, macOS, and Linux systems. Please note that the Meson build system is required for successfully building this project.
Before getting started, make sure you have the following installed:
- Meson Build System: This project relies on Meson. If you don't have Meson installed, visit the official Meson website for installation instructions.
-
Install Meson Build System: Before integrating the dependency, ensure you have Meson
1.2
or newer installed on your host system. You can install it with this command.python -m pip install meson # to install Meson python -m pip install --upgrade meson # to upgrade Meson
-
Adding Wrap File: You can add a
.wrap
, first go intosubprojects
directory and createfscl-<name>-c.wrap
next copy the defintion into the file:# ====================== # Git Wrap package definition # ====================== [wrap-git] url = https://github.com/fossil-lib/tscl-<name>-c.git revision = v2.4.3 [provide] fscl-<name>-c = fscl_<name>_c_dep
-
Integrate the New Dependency: After creating the dependency
.wrap
file, you need to integrate it into your Meson project. This typically involves adding the dependency to yourmeson.build
file. Here's an example of how you might do that:dep = dependency('fscl-<name>-c')
This line retrieves the
fscl-<name>-c
dependency, allowing you to use it in your project.
You have options when configuring the build, each serving a different purpose:
- Running Tests: To enable running tests, use
-Dwith_test=enabled
when configuring the build.
If you're interested in contributing to this project, encounter any issues, have questions, or would like to provide feedback, don't hesitate to open an issue or visit the Fossil Logic Docs for more information.