Skip to content

Installation

You can install directly from a CMake project by adding the following to your CMakeLists.txt

include(FetchContent)

fetchcontent_declare(
        MemoryManage
        GIT_REPOSITORY https://github.com/Jacoblightning/MemoryManage
        GIT_TAG main
)
fetchcontent_makeavailable(
        MemoryManage
)

target_link_libraries(<Your executable> PRIVATE MemoryManage<Static or Dynamic>)

Remember to include the header:

#include <MemoryManage/MemoryManage.h>

Installation from GitHub:

You can install from the latest GitHub commit by running the following in your shell:

git clone https://github.com/Jacoblightning/MemoryManage
cd MemoryManage
mkdir build
cd build
cmake ..
cmake --build .
sudo cmake --install .

Binary from GitHub actions (x64 only)

You can use a binary from GitHub actions in two ways:

You can use a binary from GitHub releases, but I can't promise how up-to-date it will be.

  1. Go to the latest release page
  2. Download the binary you want.

What's next?

Now that you have installed MemoryManage, head to the QuickStart page