https://github.com/levelz-file/cpp-bindings
C++ Parser & API for the LevelZ File Format
https://github.com/levelz-file/cpp-bindings
cmake cpp levelz
Last synced: 8 months ago
JSON representation
C++ Parser & API for the LevelZ File Format
- Host: GitHub
- URL: https://github.com/levelz-file/cpp-bindings
- Owner: LevelZ-File
- License: mit
- Created: 2024-03-04T06:27:49.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-04T05:18:01.000Z (over 1 year ago)
- Last Synced: 2025-01-15T08:02:05.864Z (over 1 year ago)
- Topics: cmake, cpp, levelz
- Language: C++
- Homepage: https://levelz-file.github.io/cpp-bindings/
- Size: 497 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# levelz-cpp
> Header-only C++ Parser & API For LevelZ File Format

## Overview
Provides C++ bindings for the LevelZ file format. This library is header-only and does not require any additional dependencies.
## Installation
Ensure you have [CMake](https://cmake.org/) installed on your system, then run the following commands:
```bash
# Clone Repo
git clone https://github.com/LevelZ-File/cpp-bindings
cd cpp-bindings
# Build Project, Install with CMake
cmake --build . --config Release --target install
## may require sudo
sudo cmake --build . --config Release --target install
```
## Usage
```cpp
#include
int main() {
LevelZ::Coordinate2D coord = {0, 0};
return 0;
}
```
```cpp
#include
using namespace LevelZ;
int main() {
Level l = parseFile("path/to/file.lvlz")
return 0;
}
```