aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/webthing-cpp/usage
blob: 47ba6281db3a030c33c025ac53b9ee165e195ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)