Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cmake/configs/default.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ hunter_default_version(rosconsole VERSION 1.13.10-p0)
hunter_default_version(roscpp_core VERSION 0.6.12-p0)
hunter_default_version(rospack VERSION 2.5.3-p0)
hunter_default_version(s3 VERSION 0.0.0-287e4be-p1)
hunter_default_version(scelta VERSION 0.1.0-a0f4f70-p0)
hunter_default_version(sds VERSION 2.0.0)
hunter_default_version(sentencepiece VERSION 0.1.8-p1)
hunter_default_version(shaderc VERSION 2019.0-p1)
Expand Down
24 changes: 24 additions & 0 deletions cmake/projects/scelta/hunter.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# !!! DO NOT PLACE HEADER GUARDS HERE !!!

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

hunter_add_version(
PACKAGE_NAME
scelta
VERSION
0.1.0-a0f4f70-p0
URL
"https://github.com/cpp-pm/scelta/archive/v0.1-a0f4f70-p0.tar.gz"
SHA1
2b5abc5e577687757f4cc37d702e5903fb143a9a
)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(scelta)
hunter_download(
PACKAGE_NAME scelta
PACKAGE_INTERNAL_DEPS_ID "1"
)
21 changes: 21 additions & 0 deletions docs/packages/pkg/scelta.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.. spelling::

scelta

.. index::
single: unsorted ; scelta

.. _pkg.scelta:

scelta
======

- `Official <https://github.com/SuperV1234/scelta>`__
- `Hunterized <https://github.com/cpp-pm/scelta>`__
- `Example <https://github.com/cpp-pm/hunter/blob/master/examples/scelta/CMakeLists.txt>`__
- Added by `Joerg-Christian Boehme <https://github.com/Bjoe>`__ (`pr-142 <https://github.com/cpp-pm/hunter/pull/142>`__)

.. literalinclude:: /../examples/scelta/CMakeLists.txt
:language: cmake
:start-after: # DOCUMENTATION_START {
:end-before: # DOCUMENTATION_END }
18 changes: 18 additions & 0 deletions examples/scelta/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Copyright (c)
# All rights reserved.

cmake_minimum_required(VERSION 3.2)

# Emulate HunterGate:
# * https://github.com/cpp-pm/gate
include("../common.cmake")

project(scelta)

# DOCUMENTATION_START {
hunter_add_package(scelta)
find_package(scelta CONFIG REQUIRED)

add_executable(boo boo.cpp)
target_link_libraries(boo PUBLIC scelta::headers)
# DOCUMENTATION_END }
6 changes: 6 additions & 0 deletions examples/scelta/boo.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <scelta.hpp>
#include <scelta/match.hpp>

int main() {
scelta::match();
}