28c726f205
* WebService: Verify username and token; Log errors in PostJson * Fixup: added docstrings to the functions * Webservice: Added Icons to the verification, imrpved error detection in cpr, fixup nits * fixup: fmt warning
17 lines
383 B
CMake
17 lines
383 B
CMake
set(SRCS
|
|
telemetry_json.cpp
|
|
verify_login.cpp
|
|
web_backend.cpp
|
|
)
|
|
|
|
set(HEADERS
|
|
telemetry_json.h
|
|
verify_login.h
|
|
web_backend.h
|
|
)
|
|
|
|
create_directory_groups(${SRCS} ${HEADERS})
|
|
|
|
add_library(web_service STATIC ${SRCS} ${HEADERS})
|
|
target_link_libraries(web_service PUBLIC common cpr json-headers)
|