Skip to content

Commit

Permalink
Project version
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroMemes committed Oct 2, 2024
1 parent 6d4055a commit 4874d1a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
11 changes: 10 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@ if(NOT CMAKE_CXX_STANDARD)
set(CMAKE_CXX_STANDARD 20)
endif()

project(libhat)
set(LIBHAT_VERSION_MAJOR 0)
set(LIBHAT_VERSION_MINOR 1)
set(LIBHAT_VERSION_PATCH 0)
set(LIBHAT_VERSION ${LIBHAT_VERSION_MAJOR}.${LIBHAT_VERSION_MINOR}.${LIBHAT_VERSION_PATCH})

project(libhat
VERSION ${LIBHAT_VERSION}
DESCRIPTION "A high-performance, modern, C++20 library designed around game hacking"
HOMEPAGE_URL "https://github.com/BasedInc/libhat"
)

option(LIBHAT_STATIC_C_LIB "Build a static version of the C library" OFF)
option(LIBHAT_SHARED_C_LIB "Build a shared version of the C library" OFF)
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ A modern, high-performance library for C++20 designed around game hacking
- Convenience wrappers over OS APIs
- Language bindings (C, C#, etc.)

## Versioning
This project adheres to [semantic versioning](https://semver.org/spec/v2.0.0.html). Any declaration that
is within a `detail` or `experimental` namespace is not considered part of the public API, and usage
may break at any time without the MAJOR version number being incremented.

## Benchmarks
The table below compares the single threaded throughput in bytes/s (real time) between
libhat and [two other](test/benchmark/vendor) commonly used implementations for pattern
Expand Down

0 comments on commit 4874d1a

Please sign in to comment.