3rdparty.cmake 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. function(get_clang_tidy_ignored_files OUTVAR)
  2. set(3RD_PARTY_SOURCES
  3. # Public GL headers
  4. "SDL_egl.h"
  5. "SDL_hidapi.h"
  6. "SDL_opengl.h"
  7. "SDL_opengl_glext.h"
  8. "SDL_opengles2_gl2.h"
  9. "SDL_opengles2_gl2ext.h"
  10. "SDL_opengles2_gl2platform.h"
  11. "SDL_opengles2_khrplatform.h"
  12. # stdlib
  13. "SDL_malloc.c"
  14. "SDL_qsort.c"
  15. "SDL_strtokr.c"
  16. # edid
  17. "edid-parse.c"
  18. "edid.h"
  19. # imKStoUCS
  20. "imKStoUCS.c"
  21. "imKStoUCS.h"
  22. # Joystick controller type
  23. "controller_type.h"
  24. "controller_type.c"
  25. # HIDAPI Steam controller
  26. "controller_constants.h"
  27. "controller_structs.h"
  28. # YUV2RGB
  29. "yuv_rgb.c"
  30. "yuv_rgb_lsx_func.h"
  31. "yuv_rgb_sse_func.h"
  32. "yuv_rgb_std_func.h"
  33. # LIBM
  34. "e_atan2.c"
  35. "e_exp.c"
  36. "e_fmod.c"
  37. "e_log10.c"
  38. "e_log.c"
  39. "e_pow.c"
  40. "e_rem_pio2.c"
  41. "e_sqrt.c"
  42. "k_cos.c"
  43. "k_rem_pio2.c"
  44. "k_sin.c"
  45. "k_tan.c"
  46. "s_atan.c"
  47. "s_copysign.c"
  48. "s_cos.c"
  49. "s_fabs.c"
  50. "s_floor.c"
  51. "s_scalbn.c"
  52. "s_sin.c"
  53. "s_tan.c"
  54. "math_private.h"
  55. "math_libm.h"
  56. # EGL
  57. "egl.h"
  58. "eglext.h"
  59. "eglplatform.h"
  60. # GLES2
  61. "gl2.h"
  62. "gl2ext.h"
  63. "gl2platform.h"
  64. # KHR
  65. "khrplatform.h"
  66. # Vulkan
  67. "vk_icd.h"
  68. "vk_layer.h"
  69. "vk_platform.h"
  70. "vk_sdk_platform.h"
  71. "vulkan_android.h"
  72. "vulkan_beta.h"
  73. "vulkan_core.h"
  74. "vulkan_directfb.h"
  75. "vulkan_fuchsia.h"
  76. "vulkan_ggp.h"
  77. "vulkan_ios.h"
  78. "vulkan_macos.h"
  79. "vulkan_metal.h"
  80. "vulkan_screen.h"
  81. "vulkan_vi.h"
  82. "vulkan_wayland.h"
  83. "vulkan_win32.h"
  84. "vulkan_xcb.h"
  85. "vulkan_xlib_xrandr.h"
  86. "vulkan_xlib.h"
  87. "vulkan.h"
  88. "vulkan_enums.hpp"
  89. "vulkan_format_traits.hpp"
  90. "vulkan_funcs.hpp"
  91. "vulkan_handles.hpp"
  92. "vulkan_hash.hpp"
  93. "vulkan_raii.hpp"
  94. "vulkan_static_assertions.hpp"
  95. "vulkan_structs.hpp"
  96. "vulkan_to_string.hpp"
  97. # HIDAPI
  98. "hid.c"
  99. "hid.cpp"
  100. "hid.m"
  101. "hidraw.cpp"
  102. "hidusb.cpp"
  103. "hidapi.h"
  104. # XSETTINGS
  105. "xsettings-client.c"
  106. "xsettings-client.h")
  107. foreach(SOURCE_FILE ${3RD_PARTY_SOURCES})
  108. list(APPEND IGNORED_LIST "{\"name\":\"${SOURCE_FILE}\",\"lines\":[[1,1]]}")
  109. endforeach()
  110. string(REPLACE ";" "," IGNORED_FILES "${IGNORED_LIST}")
  111. set(${OUTVAR}
  112. "${IGNORED_FILES}"
  113. PARENT_SCOPE)
  114. endfunction()