You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+49-12Lines changed: 49 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# **Fossil IO Library by Fossil Logic**
2
2
3
-
Fossil IO is a comprehensive and portable library designed to handle input, output, and error management across various platforms. It provides a robust suite of functions for secure data handling, file stream management, and error reporting. Implemented in C, Fossil IO aims to facilitate high-performance and reliable I/O operations while ensuring consistent behavior across different operating systems.
3
+
Fossil IO is an extensive and versatile library meticulously crafted to manage input, output, and error handling across a multitude of platforms. This library offers a comprehensive array of functions dedicated to secure data handling, efficient file stream management, and detailed error reporting. Developed in the C programming language, Fossil IO is engineered to support high-performance and reliable I/O operations, ensuring uniform and predictable behavior across various operating systems, including Windows, macOS, and Linux. By leveraging Fossil IO, developers can achieve consistent and secure I/O operations, making it an indispensable tool for cross-platform software development.
4
4
5
5
## Key Features
6
6
@@ -12,40 +12,77 @@ Fossil IO is a comprehensive and portable library designed to handle input, outp
12
12
13
13
## Prerequisites
14
14
15
-
Before using Fossil IO, ensure you have the following installed:
15
+
To get started with Fossil Io, ensure you have the following installed:
16
16
17
-
-**C Compiler**: A C compiler compatible with your platform.
18
-
-**Build System**: Meson or CMake for building the library.
17
+
-**Meson Build System**: If you don’t have Meson installed, follow the installation instructions on the official [Meson website](https://mesonbuild.com/Getting-meson.html).
18
+
-**CMake Build System**: If you don’t have CMake installed, follow the installation instructions on the official [CMake website](https://cmake.org/getting-started/).
19
19
20
-
## Adding Dependency
20
+
###Adding Fossil Test Dependency
21
21
22
-
1.**Install Build Tools**: Ensure that Meson or CMake is installed on your system. You can install Meson using pip:
3.**Integrate the New Dependency**: Add the following line to your `meson.build` file to integrate the dependency:
44
-
46
+
3.**Integrate the Dependency**:
47
+
In your `meson.build` file, integrate Fossil Io by adding the following line:
45
48
```ini
46
49
dep = dependency('fossil-io')
47
50
```
48
51
52
+
---
53
+
54
+
#### Adding Fossil Test Dependency With CMake
55
+
56
+
To use Fossil Io with CMake, follow these steps:
57
+
58
+
1.**Install CMake**:
59
+
Install CMake version `3.13.4` or newer:
60
+
61
+
```sh
62
+
python -m pip install cmake # To install CMake
63
+
python -m pip install --upgrade cmake # To upgrade CMake
64
+
```
65
+
66
+
2.**Find and Integrate Fossil Test**:
67
+
After installing CMake, you can integrate Fossil Io as a dependency. Add the following lines to your `CMakeLists.txt` file:
68
+
69
+
```cmake
70
+
# Find Fossil Io package
71
+
find_package(FossilIo REQUIRED)
72
+
73
+
# Link the Fossil Io to your project
74
+
target_link_libraries(your_target FossilIo)
75
+
```
76
+
77
+
3.**Configure Your CMake Project**:
78
+
Make sure to configure your CMake project to include the necessary paths and dependencies for Fossil Io. Typically, you’ll want to make sure the `FossilIo` library is correctly linked in your build configuration.
79
+
80
+
This will ensure that Fossil Io is included and properly built with your project.
81
+
82
+
---
83
+
84
+
**Note**: For the best experience, always use the latest release of Fossil Test. Visit the [Fossil Io Releases](https://github.com/fossillogic/fossil-io/releases) page for the latest versions.
85
+
49
86
## Configure Options
50
87
51
88
Fossil IO offers configurable options to tailor the build process to your needs:
0 commit comments