CMakeLists.txt 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. add_library(rcheevos
  2. rcheevos/include/rc_api_editor.h
  3. rcheevos/include/rc_api_info.h
  4. rcheevos/include/rc_api_request.h
  5. rcheevos/include/rc_api_runtime.h
  6. rcheevos/include/rc_api_user.h
  7. rcheevos/include/rc_client.h
  8. rcheevos/include/rc_client_raintegration.h
  9. rcheevos/include/rc_consoles.h
  10. rcheevos/include/rc_error.h
  11. rcheevos/include/rc_export.h
  12. rcheevos/include/rc_hash.h
  13. rcheevos/include/rcheevos.h
  14. rcheevos/include/rc_runtime.h
  15. rcheevos/include/rc_runtime_types.h
  16. rcheevos/include/rc_url.h
  17. rcheevos/include/rc_util.h
  18. rcheevos/src/rapi/rc_api_common.c
  19. rcheevos/src/rapi/rc_api_common.h
  20. rcheevos/src/rapi/rc_api_editor.c
  21. rcheevos/src/rapi/rc_api_info.c
  22. rcheevos/src/rapi/rc_api_runtime.c
  23. rcheevos/src/rapi/rc_api_user.c
  24. rcheevos/src/rcheevos/alloc.c
  25. rcheevos/src/rcheevos/condition.c
  26. rcheevos/src/rcheevos/condset.c
  27. rcheevos/src/rcheevos/consoleinfo.c
  28. rcheevos/src/rcheevos/format.c
  29. rcheevos/src/rcheevos/lboard.c
  30. rcheevos/src/rcheevos/memref.c
  31. rcheevos/src/rcheevos/operand.c
  32. rcheevos/src/rcheevos/rc_internal.h
  33. rcheevos/src/rcheevos/rc_validate.c
  34. rcheevos/src/rcheevos/rc_validate.h
  35. rcheevos/src/rcheevos/richpresence.c
  36. rcheevos/src/rcheevos/runtime.c
  37. rcheevos/src/rcheevos/runtime_progress.c
  38. rcheevos/src/rcheevos/trigger.c
  39. rcheevos/src/rcheevos/value.c
  40. rcheevos/src/rhash/aes.c
  41. rcheevos/src/rhash/aes.h
  42. rcheevos/src/rhash/cdreader.c
  43. rcheevos/src/rhash/hash.c
  44. rcheevos/src/rhash/md5.c
  45. rcheevos/src/rhash/md5.h
  46. rcheevos/src/rurl/url.c
  47. rcheevos/src/rc_client.c
  48. rcheevos/src/rc_client_external.h
  49. rcheevos/src/rc_client_internal.h
  50. rcheevos/src/rc_client_raintegration.c
  51. rcheevos/src/rc_client_raintegration_internal.h
  52. rcheevos/src/rc_compat.c
  53. rcheevos/src/rc_compat.h
  54. rcheevos/src/rc_util.c
  55. rcheevos/src/rc_version.c
  56. rcheevos/src/rc_version.h
  57. )
  58. dolphin_disable_warnings(rcheevos)
  59. target_include_directories(rcheevos PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/rcheevos/include")
  60. target_include_directories(rcheevos INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
  61. target_compile_definitions(rcheevos PRIVATE "RC_DISABLE_LUA=1" "RCHEEVOS_URL_SSL")
  62. target_compile_definitions(rcheevos PRIVATE "RC_CLIENT_SUPPORTS_HASH")
  63. if(CMAKE_SYSTEM_NAME MATCHES "Windows")
  64. target_compile_definitions(rcheevos PRIVATE "_CRT_SECURE_NO_WARNINGS")
  65. endif()