olivermichel / libom2

A header-only library for networking and systems tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libom2

Build Status

CMake Automatic Download and Include

set(LIBOM_VERSION master) # or commit hash
set(LIBOM_HEADER_LOCATION ${CMAKE_HOME_DIRECTORY}/ext/include/om/om.h)

if(NOT EXISTS ${LIBOM_HEADER_LOCATION})
    file(DOWNLOAD
        https://raw.githubusercontent.com/olivermichel/libom2/${LIBOM_VERSION}/include/om/om.h
        ${LIBOM_HEADER_LOCATION})
    message(STATUS "Downloading libom: /ext/include/om/om.h - done")
endif()

Run Unit Tests

mkdir build && cd build
cmake ..
make
make test

Generate Doxygen Documentation

requires Doxygen

mkdir build && cd build
cmake ..
make
make doc

About

A header-only library for networking and systems tasks


Languages

Language:C++ 94.1%Language:CMake 5.7%Language:C 0.2%