Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Libdill #1069

Merged
merged 6 commits into from Oct 9, 2017
Merged

Libdill #1069

Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions cmake/configs/default.cmake
Expand Up @@ -201,6 +201,7 @@ hunter_config(ippicv VERSION 20151201)
hunter_config(irrXML VERSION 1.2)
hunter_config(kbproto VERSION 1.0.6)
hunter_config(libdaemon VERSION 0.14)
hunter_config(libdill VERSION 1.6)
hunter_config(libjson-rpc-cpp VERSION 0.7.0-p3)
hunter_config(libmill VERSION 1.18)
hunter_config(libogg VERSION 1.3.2-cmake3)
Expand Down
20 changes: 20 additions & 0 deletions cmake/projects/libdill/hunter.cmake
@@ -0,0 +1,20 @@
# !!! DO NOT PLACE HEADER GUARDS HERE !!!

include(hunter_add_version)
include(hunter_cacheable)
include(hunter_cmake_args)
include(hunter_download)
include(hunter_pick_scheme)

hunter_add_version(
PACKAGE_NAME libdill
VERSION "1.6"
URL "https://github.com/isaachier/libdill/archive/hunter-1.6-p1.tar.gz"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad. Fixed it.

SHA1 "06a6aa00364007b2f19d942b503566bb15136a93")
hunter_cmake_args(libdill CMAKE_ARGS
BUILD_TESTING=OFF
BUILD_PERF=OFF)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(libdill)
hunter_download(PACKAGE_NAME libdill)
2 changes: 2 additions & 0 deletions docs/packages/concurrency.rst
Expand Up @@ -4,6 +4,7 @@
HPC
GPGPU
GPU
libdill
libmill

Concurrency
Expand All @@ -13,6 +14,7 @@ Concurrency
- :ref:`pkg.Async++` - concurrency framework for C++11
- :ref:`pkg.BoostCompute`
- :ref:`pkg.GPUImage` - open source iOS framework for GPU-based image and video processing
- :ref:`pkg.libdill` - C library that makes writing structured concurrent programs easy
- :ref:`pkg.libmill` - Go-style concurrency in C
- :ref:`pkg.ogles_gpgpu` - GPGPU for mobile devices and embedded systems using OpenGL ES 2.0
- :ref:`pkg.OpenCL` - OpenCL headers and Installable Client Driver
Expand Down
21 changes: 21 additions & 0 deletions docs/packages/pkg/libdill.rst
@@ -0,0 +1,21 @@
.. spelling::

libdill

.. index:: concurrency ; libdill

.. _pkg.libdill:

libdill
=======

- `Official <https://github.com/sustrik/libdill>`__
- `Hunterized <https://github.com/hunter-packages/libdill>`__
- `Example <https://github.com/ruslo/hunter/blob/master/examples/libdill/CMakeLists.txt>`__
- Added by `Isaac Hier <https://github.com/isaachier>`__ (`pr-1063 <https://github.com/ruslo/hunter/pull/1063>`__)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's 1069


.. code-block:: cmake

hunter_add_package(libdill)
find_package(libdill CONFIG REQUIRED)
target_link_libraries(libdill libdill::dill)
12 changes: 12 additions & 0 deletions examples/libdill/CMakeLists.txt
@@ -0,0 +1,12 @@
cmake_minimum_required(VERSION 3.0)

include("../common.cmake")

project(download-libevent)

hunter_add_package(libdill)

find_package(libdill CONFIG REQUIRED)

add_executable(main main.cpp)
target_link_libraries(main libdill::dill)
6 changes: 6 additions & 0 deletions examples/libdill/main.cpp
@@ -0,0 +1,6 @@
#include <libdill.h>

int main()
{
return 0;
}