forked from ruslo/hunter
-
Notifications
You must be signed in to change notification settings - Fork 181
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
5 changed files
with
70 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,24 @@ | ||
# Copyright (c) 2016-2020, Rahul Sheth, Ruslan Baratov | ||
# All rights reserved. | ||
|
||
# !!! 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 | ||
smol-v | ||
VERSION | ||
0.0.0-4b52c16-p0 | ||
URL | ||
"https://github.com/cpp-pm/smol-v/archive/v0.0.0-4b52c16-p0.tar.gz" | ||
SHA1 | ||
e5c2a74d2dc169d3c8a727b752a74e983b22d6a6 | ||
) | ||
|
||
hunter_pick_scheme(DEFAULT url_sha1_cmake) | ||
hunter_cacheable(smol-v) | ||
hunter_download(PACKAGE_NAME smol-v) |
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,22 @@ | ||
.. spelling:: | ||
|
||
smol | ||
v | ||
|
||
.. index:: | ||
single: graphics ; smol-v | ||
|
||
.. _pkg.smol-v: | ||
|
||
smol-v | ||
====== | ||
|
||
- `Official <https://github.com/aras-p/smol-v>`__ | ||
- `Hunterized <https://github.com/cpp-pm/smol-v>`__ | ||
- `Example <https://github.com/cpp-pm/hunter/blob/master/examples/smol-v/CMakeLists.txt>`__ | ||
- Added by `Rahul Sheth <https://github.com/rbsheth>`__ (`pr-281 <https://github.com/cpp-pm/hunter/pull/281>`__) | ||
|
||
.. literalinclude:: /../examples/smol-v/CMakeLists.txt | ||
:language: cmake | ||
:start-after: # DOCUMENTATION_START { | ||
:end-before: # DOCUMENTATION_END } |
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,18 @@ | ||
# Copyright (c) 2016-2020, Rahul Sheth, Ruslan Baratov | ||
# All rights reserved. | ||
|
||
cmake_minimum_required(VERSION 3.2) | ||
|
||
# Emulate HunterGate: | ||
# * https://github.com/hunter-packages/gate | ||
include("../common.cmake") | ||
|
||
project(download-smol-v) | ||
|
||
# DOCUMENTATION_START { | ||
hunter_add_package(smol-v) | ||
find_package(smol-v CONFIG REQUIRED) | ||
|
||
add_executable(boo boo.cpp) | ||
target_link_libraries(boo PUBLIC smol-v::smol-v) | ||
# DOCUMENTATION_END } |
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,5 @@ | ||
#include <smol-v/smolv.h> | ||
|
||
int main() { | ||
smolv::Stats* stats = smolv::StatsCreate(); | ||
} |