web_service: Add skeleton project.
This commit is contained in:
parent
8abf808854
commit
52fbe1e10c
|
@ -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)
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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)
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Reference in New Issue