Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele A. Ron committed Aug 15, 2022
1 parent 3196268 commit 9f9c930
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.20)
project(FibonacciHeap VERSION 0.0.0 LANGUAGES CXX)
project(FibonacciHeap VERSION 1.0.0 LANGUAGES CXX)

################
# Dependencies #
Expand Down
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
##### Jump To
* [Requirements](#requirements)
* [Usage](#usage)
* [API](#api)
* [Building](#building)
* [License](#license)

Expand All @@ -17,6 +18,16 @@ For further explanations as to what this means, please watch [the video this pro
* CTest

## Usage
This project is designed with Modern CMake principals in mind, so it can easily be used with other CMake projects.
Either install or otherwise link the project, and add:

```cmake
find_package(FibonacciHeap 1.0.0 REQUIRED)
# Add Targets
target_link_libraries(foo PRIVATE GRon::FibonacciHeap)
```

## API
The API for the Fibonacci Heap is quite simple:

* `FibonacciHeap<std::three_way_comparable T>`
Expand Down Expand Up @@ -73,8 +84,16 @@ The API for the Fibonacci Heap is quite simple:
```bash
cmake --build build/ --config RELEASE
```

5. Install the project. Examples for Ninja and Make have been provided

```bash
cd build
make install
ninja install
```

5. (Optional) Run tests
6. (Optional) Run tests

```bash
cd build
Expand Down

0 comments on commit 9f9c930

Please sign in to comment.