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
40 changes: 0 additions & 40 deletions ports/webthing-cpp/dependencies.diff

This file was deleted.

4 changes: 1 addition & 3 deletions ports/webthing-cpp/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO bw-hro/webthing-cpp
REF "v${VERSION}"
SHA512 a4df3424721542ea4a7951ffc643905d31d906bcf87bed613b422ba8c0babb406f842459ba6c6df73c332c70c6fdd639413dc42272fd3b27fdf96b2cee528d36
SHA512 f4b854d9d363c4b3590232da31a150b3b4a3fb9150cd32558240b02ccf9c8453e79d2330c04076332927c5d488cc5b09ff28a40f225af21f52bd1eac7a4c421a
HEAD_REF master
PATCHES
dependencies.diff
)

vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
Expand Down
8 changes: 8 additions & 0 deletions ports/webthing-cpp/usage
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@ webthing-cpp is header-only and can be used from CMake via:

find_path(WEBTHING_CPP_INCLUDE_DIRS "bw/webthing/webthing.hpp")
target_include_directories(main PRIVATE ${WEBTHING_CPP_INCLUDE_DIRS})

However it requires

find_package(nlohmann_json_schema_validator CONFIG REQUIRED)
target_link_libraries(main PRIVATE nlohmann_json_schema_validator::validator)

find_package(unofficial-uwebsockets CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::uwebsockets::uwebsockets)
3 changes: 1 addition & 2 deletions ports/webthing-cpp/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "webthing-cpp",
"version": "1.0.5",
"port-version": 1,
"version": "1.2.0",
"description": "Webthing-CPP is a modern CPP/C++17 implementation of the WebThings API.",
"homepage": "https://github.com/bw-hro/webthing-cpp",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -9845,8 +9845,8 @@
"port-version": 4
},
"webthing-cpp": {
"baseline": "1.0.5",
"port-version": 1
"baseline": "1.2.0",
"port-version": 0
},
"webui": {
"baseline": "2.4.2",
Expand Down
5 changes: 5 additions & 0 deletions versions/w-/webthing-cpp.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "766ddcbabb2929320cfbe5788ce0a3bea58037e6",
"version": "1.2.0",
"port-version": 0
},
{
"git-tree": "dceca0241738ad48d83db43f70d0884d83ab6e3d",
"version": "1.0.5",
Expand Down