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

Commit

Permalink
mini_chromium 0.0.1-p0
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslo committed Aug 3, 2016
1 parent 0d48305 commit cdf0bf2
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/configs/default.cmake
Expand Up @@ -120,6 +120,7 @@ hunter_config(libogg VERSION 1.3.2-cmake3)
hunter_config(libsodium VERSION 1.0.10)
hunter_config(libyuv VERSION 1514-p3)
hunter_config(log4cplus VERSION 1.2.0-p0)
hunter_config(mini_chromium VERSION 0.0.1-p0)
hunter_config(minizip VERSION 1.0.1-p1)
hunter_config(msgpack VERSION 1.4.1)
hunter_config(nlohmann-json VERSION 1.0.0-rc1-hunter-3)
Expand Down
24 changes: 24 additions & 0 deletions cmake/projects/mini_chromium/hunter.cmake
@@ -0,0 +1,24 @@
# Copyright (c) 2016, 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
mini_chromium
VERSION
0.0.1-p0
URL
"https://github.com/hunter-packages/mini_chromium/archive/v0.0.1-p0.tar.gz"
SHA1
aba3db46ea8a94a1254d4464db2352e60d0e7705
)

hunter_pick_scheme(DEFAULT url_sha1_cmake)
hunter_cacheable(mini_chromium)
hunter_download(PACKAGE_NAME mini_chromium)
19 changes: 19 additions & 0 deletions examples/mini_chromium/CMakeLists.txt
@@ -0,0 +1,19 @@
# Copyright (c) 2016, Ruslan Baratov
# All rights reserved.

cmake_minimum_required(VERSION 3.0)

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

project(download-mini_chromium)

# download mini_chromium
hunter_add_package(mini_chromium)

# now mini_chromium can be used
find_package(mini_chromium CONFIG REQUIRED)

add_executable(foo foo.cpp)
target_link_libraries(foo mini_chromium::base)
4 changes: 4 additions & 0 deletions examples/mini_chromium/foo.cpp
@@ -0,0 +1,4 @@
#include <base/files/file_path.h>

int main() {
}

0 comments on commit cdf0bf2

Please sign in to comment.