fossil-lib / fscl-xcore-c

Core: The Core library forms the foundation of Fossil Logic's software ecosystem, providing essential utilities and frameworks that power various applications. It encapsulates fundamental functionalities and design patterns to streamline development and ensure consistency across projects.

Home Page:https://fossillogic.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fossil XCore - C

Fossil Logic's library stands as a cornerstone within a vast collection of libraries, each a testament to the company's commitment to knowledge and innovation. Serving as a rich repository of resources, Fossil Logic's library embodies the organization's dedication to fostering intellectual growth and development. With a diverse array of materials spanning various disciplines, it serves as a hub for exploration, learning, and collaboration. Whether seeking information for research, inspiration for creativity, or solutions to complex problems, Fossil Logic's library offers a wealth of opportunities for individuals to expand their horizons and deepen their understanding. For more information, read the docs.

Prerequisites

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.

Adding dependency

  1. 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
  2. Adding Wrap File: You can add a .wrap, first go into subprojects directory and create fscl-xcore-c.wrap next copy the defintion into the file:

    # ======================
    # Git Wrap package definition
    # ======================
    [wrap-git]
    url = https://github.com/fossil-lib/tscl-xcore-c.git
    revision = v2.4.3
    
    [provide]
    fscl-xcore-c = fscl_xcore_c_dep
  3. 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 your meson.build file. Here's an example of how you might do that:

    dep = dependency('fscl-xcore-c')

    This line retrieves the fscl-xcore-c dependency, allowing you to use it in your project.

Configure Options

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.

Example:

meson setup builddir -Dwith_test=enabled

Contributing and Support

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.

About

Core: The Core library forms the foundation of Fossil Logic's software ecosystem, providing essential utilities and frameworks that power various applications. It encapsulates fundamental functionalities and design patterns to streamline development and ensure consistency across projects.

https://fossillogic.com

License:Mozilla Public License 2.0


Languages

Language:C 98.1%Language:Python 1.3%Language:Meson 0.6%