forked from ruslo/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.
Merge pull request ruslo#1670 from t0p4/pr.qtpropertyeditor
Add 'QtPropertyEditor' package
- Loading branch information
Showing
5 changed files
with
68 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-2018, 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 | ||
QtPropertyEditor | ||
VERSION | ||
2.1.3-p0 | ||
URL | ||
"https://github.com/hunter-packages/QtPropertyEditor/archive/v2.1.3-p0.tar.gz" | ||
SHA1 | ||
e566457c8f44cbb00d3001d659ed4e164ea57fdf | ||
) | ||
|
||
hunter_pick_scheme(DEFAULT url_sha1_cmake) | ||
hunter_cacheable(QtPropertyEditor) | ||
hunter_download(PACKAGE_NAME QtPropertyEditor) |
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:: | ||
|
||
QtPropertyEditor | ||
|
||
.. index:: | ||
single: unsorted ; QtPropertyEditor | ||
|
||
.. _pkg.QtPropertyEditor: | ||
|
||
QtPropertyEditor | ||
================ | ||
|
||
- `Official <https://github.com/Energid/propertyeditor>`__ | ||
- `Hunterized <https://github.com/hunter-packages/QtPropertyEditor>`__ | ||
- `Example <https://github.com/ruslo/hunter/blob/master/examples/QtPropertyEditor/CMakeLists.txt>`__ | ||
- Added by `t0p4 <https://github.com/t0p4>`__ (`pr-1670 <https://github.com/ruslo/hunter/pull/1670>`__) | ||
|
||
.. literalinclude:: /../examples/QtPropertyEditor/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-2018, Ruslan Baratov | ||
# All rights reserved. | ||
|
||
cmake_minimum_required(VERSION 3.2) | ||
|
||
# Emulate HunterGate: | ||
# * https://github.com/hunter-packages/gate | ||
include("../common.cmake") | ||
|
||
project(download-QtPropertyEditor) | ||
|
||
# DOCUMENTATION_START { | ||
hunter_add_package(QtPropertyEditor) | ||
find_package(QtPropertyEditor CONFIG REQUIRED) | ||
|
||
add_executable(boo boo.cpp) | ||
target_link_libraries(boo PUBLIC QtPropertyEditor::PropertyEditor) | ||
# 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,4 @@ | ||
#include <propertyeditor.h> | ||
|
||
int main() { | ||
} |