Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Graaf Header-Only Installation

Installing Graaf on your project is easy! Simply copy the graaflib directory to your project and add it to your include path. For more details or alternative installation methods, take a look at our installation guide.

  1. Copy graaflip to your project.

  2. Before compiling, add the directory to your include path.

    # For C compiler export C_INCLUDE_PATH="/full/path/to/include/graaflib/:$C_INCLUDE_PATH" # For Cpp compiler export CPLUS_INCLUDE_PATH="/full/path/to/include/graaflib/:$CPLUS_INCLUDE_PATH"

    Or in CMake:

    include_directories("graaf/src/graaflib")
  3. Include the graaf header in your sources.

    #include <graaflib/directed_graph.h>