forked from ToshUxanoff/hunter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# !!! 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 gumbo | ||
VERSION "0.10.1" | ||
URL "https://github.com/hunter-packages/gumbo-parser/archive/hunter-0.10.1.tar.gz" | ||
SHA1 "0b060d7b67f605fc2c06a2c474fbd00ad5c48b18") | ||
|
||
hunter_cmake_args(gumbo CMAKE_ARGS BUILD_TESTING=OFF) | ||
|
||
hunter_pick_scheme(DEFAULT url_sha1_cmake) | ||
hunter_cacheable(gumbo) | ||
hunter_download(PACKAGE_NAME gumbo) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. spelling:: | ||
|
||
gumbo | ||
|
||
.. index:: serialization ; gumbo | ||
|
||
.. _pkg.gumbo: | ||
|
||
gumbo | ||
===== | ||
|
||
- `Official <https://github.com/gumbo/gumbo>`__ | ||
- `Hunterized <https://github.com/hunter-packages/gumbo>`__ | ||
- `Example <https://github.com/ruslo/hunter/blob/master/examples/gumbo/CMakeLists.txt>`__ | ||
- Added by `Isaac Hier <https://github.com/isaachier>`__ (`pr-1062 <https://github.com/ruslo/hunter/pull/1062>`__) | ||
|
||
.. code-block:: cmake | ||
hunter_add_package(gumbo) | ||
find_package(gumbo CONFIG REQUIRED) | ||
target_link_libraries(... gumbo::gumbo) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
cmake_minimum_required(VERSION 3.1) | ||
|
||
include("../common.cmake") | ||
|
||
project(download-gumbo) | ||
|
||
hunter_add_package(gumbo) | ||
|
||
find_package(gumbo CONFIG REQUIRED) | ||
|
||
add_executable(main main.cpp) | ||
target_link_libraries(main gumbo::gumbo) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#include <gumbo.h> | ||
|
||
int main() | ||
{ | ||
return 0; | ||
} |