CMakeLists.txt 676 B

123456789101112131415161718192021222324
  1. # SPDX-FileCopyrightText: 2018 yuzu Emulator Project
  2. # SPDX-License-Identifier: GPL-2.0-or-later
  3. add_library(web_service STATIC
  4. announce_room_json.cpp
  5. announce_room_json.h
  6. precompiled_headers.h
  7. telemetry_json.cpp
  8. telemetry_json.h
  9. verify_login.cpp
  10. verify_login.h
  11. verify_user_jwt.cpp
  12. verify_user_jwt.h
  13. web_backend.cpp
  14. web_backend.h
  15. web_result.h
  16. )
  17. create_target_directory_groups(web_service)
  18. target_link_libraries(web_service PRIVATE common network nlohmann_json::nlohmann_json httplib::httplib cpp-jwt::cpp-jwt)
  19. if (YUZU_USE_PRECOMPILED_HEADERS)
  20. target_precompile_headers(web_service PRIVATE precompiled_headers.h)
  21. endif()