web_service: Add skeleton project.

This commit is contained in:
bunnei 2017-06-27 23:01:49 -04:00
parent 8abf808854
commit 52fbe1e10c
7 changed files with 52 additions and 1 deletions

View File

@ -14,3 +14,4 @@ endif()
if (ENABLE_QT) if (ENABLE_QT)
add_subdirectory(citra_qt) add_subdirectory(citra_qt)
endif() endif()
add_subdirectory(web_service)

View File

@ -386,5 +386,5 @@ set(HEADERS
create_directory_groups(${SRCS} ${HEADERS}) create_directory_groups(${SRCS} ${HEADERS})
add_library(core STATIC ${SRCS} ${HEADERS}) add_library(core STATIC ${SRCS} ${HEADERS})
target_link_libraries(core PUBLIC common PRIVATE audio_core video_core) target_link_libraries(core PUBLIC common PRIVATE audio_core video_core web_service)
target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp dynarmic fmt) target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp dynarmic fmt)

View File

@ -0,0 +1,14 @@
set(SRCS
telemetry_json.cpp
web_backend.cpp
)
set(HEADERS
telemetry_json.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)

View File

@ -0,0 +1,9 @@
// Copyright 2017 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "web_service/telemetry_json.h"
namespace WebService {
} // namespace WebService

View File

@ -0,0 +1,9 @@
// Copyright 2017 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
namespace WebService {
} // namespace WebService

View File

@ -0,0 +1,9 @@
// Copyright 2017 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "web_service/web_backend.h"
namespace WebService {
} // namespace WebService

View File

@ -0,0 +1,9 @@
// Copyright 2017 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
namespace WebService {
} // namespace WebService