3rdparty.cmake 2.6 KB

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