mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-31 20:37:52 +00:00
web_service: Add skeleton project.
This commit is contained in:
parent
8abf808854
commit
52fbe1e10c
7 changed files with 52 additions and 1 deletions
|
@ -14,3 +14,4 @@ endif()
|
|||
if (ENABLE_QT)
|
||||
add_subdirectory(citra_qt)
|
||||
endif()
|
||||
add_subdirectory(web_service)
|
||||
|
|
|
@ -386,5 +386,5 @@ set(HEADERS
|
|||
|
||||
create_directory_groups(${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)
|
||||
|
|
14
src/web_service/CMakeLists.txt
Normal file
14
src/web_service/CMakeLists.txt
Normal 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)
|
9
src/web_service/telemetry_json.cpp
Normal file
9
src/web_service/telemetry_json.cpp
Normal 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
|
9
src/web_service/telemetry_json.h
Normal file
9
src/web_service/telemetry_json.h
Normal 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
|
9
src/web_service/web_backend.cpp
Normal file
9
src/web_service/web_backend.cpp
Normal 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
|
9
src/web_service/web_backend.h
Normal file
9
src/web_service/web_backend.h
Normal 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
|
Loading…
Reference in a new issue