ruby_rpg 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (483) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +19 -0
  3. data/glfw-3.3.9.bin.MACOS/LICENSE.md +23 -0
  4. data/glfw-3.3.9.bin.MACOS/README.md +5 -0
  5. data/glfw-3.3.9.bin.MACOS/docs/html/bc_s.png +0 -0
  6. data/glfw-3.3.9.bin.MACOS/docs/html/bc_sd.png +0 -0
  7. data/glfw-3.3.9.bin.MACOS/docs/html/build_8dox.html +81 -0
  8. data/glfw-3.3.9.bin.MACOS/docs/html/build_guide.html +199 -0
  9. data/glfw-3.3.9.bin.MACOS/docs/html/closed.png +0 -0
  10. data/glfw-3.3.9.bin.MACOS/docs/html/compat_8dox.html +81 -0
  11. data/glfw-3.3.9.bin.MACOS/docs/html/compat_guide.html +153 -0
  12. data/glfw-3.3.9.bin.MACOS/docs/html/compile_8dox.html +81 -0
  13. data/glfw-3.3.9.bin.MACOS/docs/html/compile_guide.html +223 -0
  14. data/glfw-3.3.9.bin.MACOS/docs/html/context_8dox.html +81 -0
  15. data/glfw-3.3.9.bin.MACOS/docs/html/context_guide.html +259 -0
  16. data/glfw-3.3.9.bin.MACOS/docs/html/deprecated.html +88 -0
  17. data/glfw-3.3.9.bin.MACOS/docs/html/dir_08423ce7729c4554356a7de7171ba263.html +85 -0
  18. data/glfw-3.3.9.bin.MACOS/docs/html/dir_2dcebcdf14b42e92a6ed85c61bda6b9d.html +93 -0
  19. data/glfw-3.3.9.bin.MACOS/docs/html/dir_62ce056722ee97c199075aa1d6eca309.html +95 -0
  20. data/glfw-3.3.9.bin.MACOS/docs/html/dir_dddf4cf62655095a666cf715de3a31a2.html +91 -0
  21. data/glfw-3.3.9.bin.MACOS/docs/html/doc.svg +12 -0
  22. data/glfw-3.3.9.bin.MACOS/docs/html/docd.svg +12 -0
  23. data/glfw-3.3.9.bin.MACOS/docs/html/doxygen.css +1685 -0
  24. data/glfw-3.3.9.bin.MACOS/docs/html/doxygen.svg +28 -0
  25. data/glfw-3.3.9.bin.MACOS/docs/html/dynsections.js +192 -0
  26. data/glfw-3.3.9.bin.MACOS/docs/html/extra.css +1 -0
  27. data/glfw-3.3.9.bin.MACOS/docs/html/files.html +91 -0
  28. data/glfw-3.3.9.bin.MACOS/docs/html/folderclosed.svg +11 -0
  29. data/glfw-3.3.9.bin.MACOS/docs/html/folderclosedd.svg +11 -0
  30. data/glfw-3.3.9.bin.MACOS/docs/html/folderopen.svg +17 -0
  31. data/glfw-3.3.9.bin.MACOS/docs/html/folderopend.svg +12 -0
  32. data/glfw-3.3.9.bin.MACOS/docs/html/glfw3_8h.html +1661 -0
  33. data/glfw-3.3.9.bin.MACOS/docs/html/glfw3_8h_source.html +1175 -0
  34. data/glfw-3.3.9.bin.MACOS/docs/html/glfw3native_8h.html +167 -0
  35. data/glfw-3.3.9.bin.MACOS/docs/html/glfw3native_8h_source.html +303 -0
  36. data/glfw-3.3.9.bin.MACOS/docs/html/group__buttons.html +282 -0
  37. data/glfw-3.3.9.bin.MACOS/docs/html/group__context.html +304 -0
  38. data/glfw-3.3.9.bin.MACOS/docs/html/group__errors.html +304 -0
  39. data/glfw-3.3.9.bin.MACOS/docs/html/group__gamepad__axes.html +202 -0
  40. data/glfw-3.3.9.bin.MACOS/docs/html/group__gamepad__buttons.html +410 -0
  41. data/glfw-3.3.9.bin.MACOS/docs/html/group__hat__state.html +234 -0
  42. data/glfw-3.3.9.bin.MACOS/docs/html/group__init.html +570 -0
  43. data/glfw-3.3.9.bin.MACOS/docs/html/group__input.html +2255 -0
  44. data/glfw-3.3.9.bin.MACOS/docs/html/group__joysticks.html +362 -0
  45. data/glfw-3.3.9.bin.MACOS/docs/html/group__keys.html +2034 -0
  46. data/glfw-3.3.9.bin.MACOS/docs/html/group__mods.html +198 -0
  47. data/glfw-3.3.9.bin.MACOS/docs/html/group__monitor.html +848 -0
  48. data/glfw-3.3.9.bin.MACOS/docs/html/group__native.html +812 -0
  49. data/glfw-3.3.9.bin.MACOS/docs/html/group__shapes.html +198 -0
  50. data/glfw-3.3.9.bin.MACOS/docs/html/group__vulkan.html +359 -0
  51. data/glfw-3.3.9.bin.MACOS/docs/html/group__window.html +3434 -0
  52. data/glfw-3.3.9.bin.MACOS/docs/html/index.html +100 -0
  53. data/glfw-3.3.9.bin.MACOS/docs/html/input_8dox.html +81 -0
  54. data/glfw-3.3.9.bin.MACOS/docs/html/input_guide.html +570 -0
  55. data/glfw-3.3.9.bin.MACOS/docs/html/internal_8dox.html +81 -0
  56. data/glfw-3.3.9.bin.MACOS/docs/html/internals_guide.html +132 -0
  57. data/glfw-3.3.9.bin.MACOS/docs/html/intro_8dox.html +81 -0
  58. data/glfw-3.3.9.bin.MACOS/docs/html/intro_guide.html +351 -0
  59. data/glfw-3.3.9.bin.MACOS/docs/html/jquery.js +34 -0
  60. data/glfw-3.3.9.bin.MACOS/docs/html/main_8dox.html +81 -0
  61. data/glfw-3.3.9.bin.MACOS/docs/html/menu.js +136 -0
  62. data/glfw-3.3.9.bin.MACOS/docs/html/menudata.js +29 -0
  63. data/glfw-3.3.9.bin.MACOS/docs/html/minus.svg +8 -0
  64. data/glfw-3.3.9.bin.MACOS/docs/html/minusd.svg +8 -0
  65. data/glfw-3.3.9.bin.MACOS/docs/html/monitor_8dox.html +81 -0
  66. data/glfw-3.3.9.bin.MACOS/docs/html/monitor_guide.html +229 -0
  67. data/glfw-3.3.9.bin.MACOS/docs/html/moving_8dox.html +81 -0
  68. data/glfw-3.3.9.bin.MACOS/docs/html/moving_guide.html +374 -0
  69. data/glfw-3.3.9.bin.MACOS/docs/html/nav_f.png +0 -0
  70. data/glfw-3.3.9.bin.MACOS/docs/html/nav_fd.png +0 -0
  71. data/glfw-3.3.9.bin.MACOS/docs/html/nav_g.png +0 -0
  72. data/glfw-3.3.9.bin.MACOS/docs/html/nav_h.png +0 -0
  73. data/glfw-3.3.9.bin.MACOS/docs/html/nav_hd.png +0 -0
  74. data/glfw-3.3.9.bin.MACOS/docs/html/news.html +634 -0
  75. data/glfw-3.3.9.bin.MACOS/docs/html/news_8dox.html +81 -0
  76. data/glfw-3.3.9.bin.MACOS/docs/html/open.png +0 -0
  77. data/glfw-3.3.9.bin.MACOS/docs/html/pages.html +99 -0
  78. data/glfw-3.3.9.bin.MACOS/docs/html/plus.svg +9 -0
  79. data/glfw-3.3.9.bin.MACOS/docs/html/plusd.svg +9 -0
  80. data/glfw-3.3.9.bin.MACOS/docs/html/quick_8dox.html +81 -0
  81. data/glfw-3.3.9.bin.MACOS/docs/html/quick_guide.html +397 -0
  82. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_0.js +5 -0
  83. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_1.js +4 -0
  84. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_10.js +65 -0
  85. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_11.js +26 -0
  86. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_12.js +44 -0
  87. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_13.js +34 -0
  88. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_14.js +12 -0
  89. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_15.js +52 -0
  90. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_16.js +69 -0
  91. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_17.js +51 -0
  92. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_18.js +14 -0
  93. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_19.js +36 -0
  94. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_1a.js +98 -0
  95. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_1b.js +12 -0
  96. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_2.js +6 -0
  97. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_3.js +9 -0
  98. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_4.js +57 -0
  99. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_5.js +22 -0
  100. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_6.js +103 -0
  101. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_7.js +23 -0
  102. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_8.js +35 -0
  103. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_9.js +63 -0
  104. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_a.js +505 -0
  105. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_b.js +24 -0
  106. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_c.js +50 -0
  107. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_d.js +17 -0
  108. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_e.js +12 -0
  109. data/glfw-3.3.9.bin.MACOS/docs/html/search/all_f.js +35 -0
  110. data/glfw-3.3.9.bin.MACOS/docs/html/search/classes_0.js +7 -0
  111. data/glfw-3.3.9.bin.MACOS/docs/html/search/close.svg +18 -0
  112. data/glfw-3.3.9.bin.MACOS/docs/html/search/defines_0.js +34 -0
  113. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_0.js +4 -0
  114. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_1.js +6 -0
  115. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_2.js +5 -0
  116. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_3.js +6 -0
  117. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_4.js +6 -0
  118. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_5.js +4 -0
  119. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_6.js +4 -0
  120. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_7.js +4 -0
  121. data/glfw-3.3.9.bin.MACOS/docs/html/search/files_8.js +4 -0
  122. data/glfw-3.3.9.bin.MACOS/docs/html/search/functions_0.js +146 -0
  123. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_0.js +6 -0
  124. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_1.js +4 -0
  125. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_10.js +4 -0
  126. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_2.js +6 -0
  127. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_3.js +5 -0
  128. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_4.js +4 -0
  129. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_5.js +5 -0
  130. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_6.js +4 -0
  131. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_7.js +5 -0
  132. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_8.js +5 -0
  133. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_9.js +6 -0
  134. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_a.js +6 -0
  135. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_b.js +4 -0
  136. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_c.js +4 -0
  137. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_d.js +7 -0
  138. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_e.js +4 -0
  139. data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_f.js +5 -0
  140. data/glfw-3.3.9.bin.MACOS/docs/html/search/mag.svg +24 -0
  141. data/glfw-3.3.9.bin.MACOS/docs/html/search/mag_d.svg +24 -0
  142. data/glfw-3.3.9.bin.MACOS/docs/html/search/mag_sel.svg +31 -0
  143. data/glfw-3.3.9.bin.MACOS/docs/html/search/mag_seld.svg +31 -0
  144. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_0.js +4 -0
  145. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_1.js +4 -0
  146. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_10.js +4 -0
  147. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_2.js +5 -0
  148. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_3.js +4 -0
  149. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_4.js +6 -0
  150. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_5.js +4 -0
  151. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_6.js +4 -0
  152. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_7.js +7 -0
  153. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_8.js +6 -0
  154. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_9.js +4 -0
  155. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_a.js +5 -0
  156. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_b.js +5 -0
  157. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_c.js +4 -0
  158. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_d.js +6 -0
  159. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_e.js +6 -0
  160. data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_f.js +4 -0
  161. data/glfw-3.3.9.bin.MACOS/docs/html/search/search.css +291 -0
  162. data/glfw-3.3.9.bin.MACOS/docs/html/search/search.js +840 -0
  163. data/glfw-3.3.9.bin.MACOS/docs/html/search/searchdata.js +39 -0
  164. data/glfw-3.3.9.bin.MACOS/docs/html/search/typedefs_0.js +32 -0
  165. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_0.js +4 -0
  166. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_1.js +6 -0
  167. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_2.js +5 -0
  168. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_3.js +4 -0
  169. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_4.js +4 -0
  170. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_5.js +6 -0
  171. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_6.js +4 -0
  172. data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_7.js +4 -0
  173. data/glfw-3.3.9.bin.MACOS/docs/html/spaces.svg +877 -0
  174. data/glfw-3.3.9.bin.MACOS/docs/html/splitbar.png +0 -0
  175. data/glfw-3.3.9.bin.MACOS/docs/html/splitbard.png +0 -0
  176. data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wgamepadstate.html +134 -0
  177. data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wgammaramp.html +170 -0
  178. data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wimage.html +151 -0
  179. data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wvidmode.html +204 -0
  180. data/glfw-3.3.9.bin.MACOS/docs/html/sync_off.png +0 -0
  181. data/glfw-3.3.9.bin.MACOS/docs/html/sync_on.png +0 -0
  182. data/glfw-3.3.9.bin.MACOS/docs/html/tab_a.png +0 -0
  183. data/glfw-3.3.9.bin.MACOS/docs/html/tab_ad.png +0 -0
  184. data/glfw-3.3.9.bin.MACOS/docs/html/tab_b.png +0 -0
  185. data/glfw-3.3.9.bin.MACOS/docs/html/tab_bd.png +0 -0
  186. data/glfw-3.3.9.bin.MACOS/docs/html/tab_h.png +0 -0
  187. data/glfw-3.3.9.bin.MACOS/docs/html/tab_hd.png +0 -0
  188. data/glfw-3.3.9.bin.MACOS/docs/html/tab_s.png +0 -0
  189. data/glfw-3.3.9.bin.MACOS/docs/html/tab_sd.png +0 -0
  190. data/glfw-3.3.9.bin.MACOS/docs/html/tabs.css +1 -0
  191. data/glfw-3.3.9.bin.MACOS/docs/html/vulkan_8dox.html +81 -0
  192. data/glfw-3.3.9.bin.MACOS/docs/html/vulkan_guide.html +196 -0
  193. data/glfw-3.3.9.bin.MACOS/docs/html/window_8dox.html +81 -0
  194. data/glfw-3.3.9.bin.MACOS/docs/html/window_guide.html +763 -0
  195. data/glfw-3.3.9.bin.MACOS/include/GLFW/glfw3.h +5932 -0
  196. data/glfw-3.3.9.bin.MACOS/include/GLFW/glfw3native.h +634 -0
  197. data/glfw-3.3.9.bin.MACOS/lib-arm64/libglfw.3.dylib +0 -0
  198. data/glfw-3.3.9.bin.MACOS/lib-arm64/libglfw3.a +0 -0
  199. data/glfw-3.3.9.bin.MACOS/lib-universal/libglfw.3.dylib +0 -0
  200. data/glfw-3.3.9.bin.MACOS/lib-universal/libglfw3.a +0 -0
  201. data/glfw-3.3.9.bin.MACOS/lib-x86_64/libglfw.3.dylib +0 -0
  202. data/glfw-3.3.9.bin.MACOS/lib-x86_64/libglfw3.a +0 -0
  203. data/glfw-3.4.bin.WIN64/LICENSE.md +23 -0
  204. data/glfw-3.4.bin.WIN64/README.md +70 -0
  205. data/glfw-3.4.bin.WIN64/docs/html/bc_s.png +0 -0
  206. data/glfw-3.4.bin.WIN64/docs/html/bc_sd.png +0 -0
  207. data/glfw-3.4.bin.WIN64/docs/html/build_8md.html +81 -0
  208. data/glfw-3.4.bin.WIN64/docs/html/build_guide.html +217 -0
  209. data/glfw-3.4.bin.WIN64/docs/html/closed.png +0 -0
  210. data/glfw-3.4.bin.WIN64/docs/html/compat_8md.html +81 -0
  211. data/glfw-3.4.bin.WIN64/docs/html/compat_guide.html +156 -0
  212. data/glfw-3.4.bin.WIN64/docs/html/compile_8md.html +81 -0
  213. data/glfw-3.4.bin.WIN64/docs/html/compile_guide.html +219 -0
  214. data/glfw-3.4.bin.WIN64/docs/html/context_8md.html +81 -0
  215. data/glfw-3.4.bin.WIN64/docs/html/context_guide.html +258 -0
  216. data/glfw-3.4.bin.WIN64/docs/html/deprecated.html +88 -0
  217. data/glfw-3.4.bin.WIN64/docs/html/dir_13577e2d8b9423099662de029791bd7d.html +93 -0
  218. data/glfw-3.4.bin.WIN64/docs/html/dir_7f92719a7fe62e5b064f87d7a3c220b1.html +95 -0
  219. data/glfw-3.4.bin.WIN64/docs/html/dir_a788ef6c2b1e5b367804e0b6ccfd6f11.html +85 -0
  220. data/glfw-3.4.bin.WIN64/docs/html/dir_b11153cd0f4fd04a7564cc166f482635.html +91 -0
  221. data/glfw-3.4.bin.WIN64/docs/html/doc.svg +12 -0
  222. data/glfw-3.4.bin.WIN64/docs/html/docd.svg +12 -0
  223. data/glfw-3.4.bin.WIN64/docs/html/doxygen.css +1685 -0
  224. data/glfw-3.4.bin.WIN64/docs/html/doxygen.svg +28 -0
  225. data/glfw-3.4.bin.WIN64/docs/html/dynsections.js +192 -0
  226. data/glfw-3.4.bin.WIN64/docs/html/extra.css +2 -0
  227. data/glfw-3.4.bin.WIN64/docs/html/files.html +91 -0
  228. data/glfw-3.4.bin.WIN64/docs/html/folderclosed.svg +11 -0
  229. data/glfw-3.4.bin.WIN64/docs/html/folderclosedd.svg +11 -0
  230. data/glfw-3.4.bin.WIN64/docs/html/folderopen.svg +17 -0
  231. data/glfw-3.4.bin.WIN64/docs/html/folderopend.svg +12 -0
  232. data/glfw-3.4.bin.WIN64/docs/html/glfw3_8h.html +1910 -0
  233. data/glfw-3.4.bin.WIN64/docs/html/glfw3_8h_source.html +1260 -0
  234. data/glfw-3.4.bin.WIN64/docs/html/glfw3native_8h.html +170 -0
  235. data/glfw-3.4.bin.WIN64/docs/html/glfw3native_8h_source.html +306 -0
  236. data/glfw-3.4.bin.WIN64/docs/html/group__buttons.html +282 -0
  237. data/glfw-3.4.bin.WIN64/docs/html/group__context.html +304 -0
  238. data/glfw-3.4.bin.WIN64/docs/html/group__errors.html +384 -0
  239. data/glfw-3.4.bin.WIN64/docs/html/group__gamepad__axes.html +202 -0
  240. data/glfw-3.4.bin.WIN64/docs/html/group__gamepad__buttons.html +410 -0
  241. data/glfw-3.4.bin.WIN64/docs/html/group__hat__state.html +234 -0
  242. data/glfw-3.4.bin.WIN64/docs/html/group__init.html +1015 -0
  243. data/glfw-3.4.bin.WIN64/docs/html/group__input.html +2285 -0
  244. data/glfw-3.4.bin.WIN64/docs/html/group__joysticks.html +362 -0
  245. data/glfw-3.4.bin.WIN64/docs/html/group__keys.html +2034 -0
  246. data/glfw-3.4.bin.WIN64/docs/html/group__mods.html +198 -0
  247. data/glfw-3.4.bin.WIN64/docs/html/group__monitor.html +849 -0
  248. data/glfw-3.4.bin.WIN64/docs/html/group__native.html +837 -0
  249. data/glfw-3.4.bin.WIN64/docs/html/group__shapes.html +337 -0
  250. data/glfw-3.4.bin.WIN64/docs/html/group__vulkan.html +361 -0
  251. data/glfw-3.4.bin.WIN64/docs/html/group__window.html +3608 -0
  252. data/glfw-3.4.bin.WIN64/docs/html/index.html +100 -0
  253. data/glfw-3.4.bin.WIN64/docs/html/input_8md.html +81 -0
  254. data/glfw-3.4.bin.WIN64/docs/html/input_guide.html +576 -0
  255. data/glfw-3.4.bin.WIN64/docs/html/internal_8md.html +81 -0
  256. data/glfw-3.4.bin.WIN64/docs/html/internals_guide.html +135 -0
  257. data/glfw-3.4.bin.WIN64/docs/html/intro_8md.html +81 -0
  258. data/glfw-3.4.bin.WIN64/docs/html/intro_guide.html +429 -0
  259. data/glfw-3.4.bin.WIN64/docs/html/jquery.js +34 -0
  260. data/glfw-3.4.bin.WIN64/docs/html/main_8md.html +81 -0
  261. data/glfw-3.4.bin.WIN64/docs/html/menu.js +136 -0
  262. data/glfw-3.4.bin.WIN64/docs/html/menudata.js +30 -0
  263. data/glfw-3.4.bin.WIN64/docs/html/minus.svg +8 -0
  264. data/glfw-3.4.bin.WIN64/docs/html/minusd.svg +8 -0
  265. data/glfw-3.4.bin.WIN64/docs/html/monitor_8md.html +81 -0
  266. data/glfw-3.4.bin.WIN64/docs/html/monitor_guide.html +228 -0
  267. data/glfw-3.4.bin.WIN64/docs/html/moving_8md.html +81 -0
  268. data/glfw-3.4.bin.WIN64/docs/html/moving_guide.html +360 -0
  269. data/glfw-3.4.bin.WIN64/docs/html/nav_f.png +0 -0
  270. data/glfw-3.4.bin.WIN64/docs/html/nav_fd.png +0 -0
  271. data/glfw-3.4.bin.WIN64/docs/html/nav_g.png +0 -0
  272. data/glfw-3.4.bin.WIN64/docs/html/nav_h.png +0 -0
  273. data/glfw-3.4.bin.WIN64/docs/html/nav_hd.png +0 -0
  274. data/glfw-3.4.bin.WIN64/docs/html/news.html +336 -0
  275. data/glfw-3.4.bin.WIN64/docs/html/news_8md.html +81 -0
  276. data/glfw-3.4.bin.WIN64/docs/html/open.png +0 -0
  277. data/glfw-3.4.bin.WIN64/docs/html/pages.html +99 -0
  278. data/glfw-3.4.bin.WIN64/docs/html/plus.svg +9 -0
  279. data/glfw-3.4.bin.WIN64/docs/html/plusd.svg +9 -0
  280. data/glfw-3.4.bin.WIN64/docs/html/quick_8md.html +81 -0
  281. data/glfw-3.4.bin.WIN64/docs/html/quick_guide.html +406 -0
  282. data/glfw-3.4.bin.WIN64/docs/html/search/all_0.js +4 -0
  283. data/glfw-3.4.bin.WIN64/docs/html/search/all_1.js +4 -0
  284. data/glfw-3.4.bin.WIN64/docs/html/search/all_10.js +13 -0
  285. data/glfw-3.4.bin.WIN64/docs/html/search/all_11.js +11 -0
  286. data/glfw-3.4.bin.WIN64/docs/html/search/all_12.js +26 -0
  287. data/glfw-3.4.bin.WIN64/docs/html/search/all_13.js +51 -0
  288. data/glfw-3.4.bin.WIN64/docs/html/search/all_14.js +22 -0
  289. data/glfw-3.4.bin.WIN64/docs/html/search/all_15.js +35 -0
  290. data/glfw-3.4.bin.WIN64/docs/html/search/all_16.js +29 -0
  291. data/glfw-3.4.bin.WIN64/docs/html/search/all_17.js +8 -0
  292. data/glfw-3.4.bin.WIN64/docs/html/search/all_18.js +44 -0
  293. data/glfw-3.4.bin.WIN64/docs/html/search/all_19.js +60 -0
  294. data/glfw-3.4.bin.WIN64/docs/html/search/all_1a.js +39 -0
  295. data/glfw-3.4.bin.WIN64/docs/html/search/all_1b.js +8 -0
  296. data/glfw-3.4.bin.WIN64/docs/html/search/all_1c.js +32 -0
  297. data/glfw-3.4.bin.WIN64/docs/html/search/all_1d.js +84 -0
  298. data/glfw-3.4.bin.WIN64/docs/html/search/all_1e.js +13 -0
  299. data/glfw-3.4.bin.WIN64/docs/html/search/all_1f.js +4 -0
  300. data/glfw-3.4.bin.WIN64/docs/html/search/all_2.js +5 -0
  301. data/glfw-3.4.bin.WIN64/docs/html/search/all_3.js +4 -0
  302. data/glfw-3.4.bin.WIN64/docs/html/search/all_4.js +4 -0
  303. data/glfw-3.4.bin.WIN64/docs/html/search/all_5.js +4 -0
  304. data/glfw-3.4.bin.WIN64/docs/html/search/all_6.js +4 -0
  305. data/glfw-3.4.bin.WIN64/docs/html/search/all_7.js +58 -0
  306. data/glfw-3.4.bin.WIN64/docs/html/search/all_8.js +21 -0
  307. data/glfw-3.4.bin.WIN64/docs/html/search/all_9.js +82 -0
  308. data/glfw-3.4.bin.WIN64/docs/html/search/all_a.js +20 -0
  309. data/glfw-3.4.bin.WIN64/docs/html/search/all_b.js +26 -0
  310. data/glfw-3.4.bin.WIN64/docs/html/search/all_c.js +35 -0
  311. data/glfw-3.4.bin.WIN64/docs/html/search/all_d.js +555 -0
  312. data/glfw-3.4.bin.WIN64/docs/html/search/all_e.js +23 -0
  313. data/glfw-3.4.bin.WIN64/docs/html/search/all_f.js +40 -0
  314. data/glfw-3.4.bin.WIN64/docs/html/search/classes_0.js +8 -0
  315. data/glfw-3.4.bin.WIN64/docs/html/search/close.svg +18 -0
  316. data/glfw-3.4.bin.WIN64/docs/html/search/defines_0.js +43 -0
  317. data/glfw-3.4.bin.WIN64/docs/html/search/files_0.js +4 -0
  318. data/glfw-3.4.bin.WIN64/docs/html/search/files_1.js +6 -0
  319. data/glfw-3.4.bin.WIN64/docs/html/search/files_2.js +5 -0
  320. data/glfw-3.4.bin.WIN64/docs/html/search/files_3.js +6 -0
  321. data/glfw-3.4.bin.WIN64/docs/html/search/files_4.js +6 -0
  322. data/glfw-3.4.bin.WIN64/docs/html/search/files_5.js +4 -0
  323. data/glfw-3.4.bin.WIN64/docs/html/search/files_6.js +4 -0
  324. data/glfw-3.4.bin.WIN64/docs/html/search/files_7.js +4 -0
  325. data/glfw-3.4.bin.WIN64/docs/html/search/files_8.js +4 -0
  326. data/glfw-3.4.bin.WIN64/docs/html/search/functions_0.js +152 -0
  327. data/glfw-3.4.bin.WIN64/docs/html/search/groups_0.js +6 -0
  328. data/glfw-3.4.bin.WIN64/docs/html/search/groups_1.js +4 -0
  329. data/glfw-3.4.bin.WIN64/docs/html/search/groups_10.js +4 -0
  330. data/glfw-3.4.bin.WIN64/docs/html/search/groups_2.js +6 -0
  331. data/glfw-3.4.bin.WIN64/docs/html/search/groups_3.js +5 -0
  332. data/glfw-3.4.bin.WIN64/docs/html/search/groups_4.js +4 -0
  333. data/glfw-3.4.bin.WIN64/docs/html/search/groups_5.js +5 -0
  334. data/glfw-3.4.bin.WIN64/docs/html/search/groups_6.js +4 -0
  335. data/glfw-3.4.bin.WIN64/docs/html/search/groups_7.js +5 -0
  336. data/glfw-3.4.bin.WIN64/docs/html/search/groups_8.js +5 -0
  337. data/glfw-3.4.bin.WIN64/docs/html/search/groups_9.js +6 -0
  338. data/glfw-3.4.bin.WIN64/docs/html/search/groups_a.js +6 -0
  339. data/glfw-3.4.bin.WIN64/docs/html/search/groups_b.js +4 -0
  340. data/glfw-3.4.bin.WIN64/docs/html/search/groups_c.js +4 -0
  341. data/glfw-3.4.bin.WIN64/docs/html/search/groups_d.js +7 -0
  342. data/glfw-3.4.bin.WIN64/docs/html/search/groups_e.js +4 -0
  343. data/glfw-3.4.bin.WIN64/docs/html/search/groups_f.js +5 -0
  344. data/glfw-3.4.bin.WIN64/docs/html/search/mag.svg +24 -0
  345. data/glfw-3.4.bin.WIN64/docs/html/search/mag_d.svg +24 -0
  346. data/glfw-3.4.bin.WIN64/docs/html/search/mag_sel.svg +31 -0
  347. data/glfw-3.4.bin.WIN64/docs/html/search/mag_seld.svg +31 -0
  348. data/glfw-3.4.bin.WIN64/docs/html/search/pages_0.js +4 -0
  349. data/glfw-3.4.bin.WIN64/docs/html/search/pages_1.js +5 -0
  350. data/glfw-3.4.bin.WIN64/docs/html/search/pages_10.js +5 -0
  351. data/glfw-3.4.bin.WIN64/docs/html/search/pages_11.js +4 -0
  352. data/glfw-3.4.bin.WIN64/docs/html/search/pages_2.js +4 -0
  353. data/glfw-3.4.bin.WIN64/docs/html/search/pages_3.js +5 -0
  354. data/glfw-3.4.bin.WIN64/docs/html/search/pages_4.js +4 -0
  355. data/glfw-3.4.bin.WIN64/docs/html/search/pages_5.js +6 -0
  356. data/glfw-3.4.bin.WIN64/docs/html/search/pages_6.js +4 -0
  357. data/glfw-3.4.bin.WIN64/docs/html/search/pages_7.js +5 -0
  358. data/glfw-3.4.bin.WIN64/docs/html/search/pages_8.js +7 -0
  359. data/glfw-3.4.bin.WIN64/docs/html/search/pages_9.js +7 -0
  360. data/glfw-3.4.bin.WIN64/docs/html/search/pages_a.js +4 -0
  361. data/glfw-3.4.bin.WIN64/docs/html/search/pages_b.js +5 -0
  362. data/glfw-3.4.bin.WIN64/docs/html/search/pages_c.js +4 -0
  363. data/glfw-3.4.bin.WIN64/docs/html/search/pages_d.js +4 -0
  364. data/glfw-3.4.bin.WIN64/docs/html/search/pages_e.js +6 -0
  365. data/glfw-3.4.bin.WIN64/docs/html/search/pages_f.js +6 -0
  366. data/glfw-3.4.bin.WIN64/docs/html/search/search.css +291 -0
  367. data/glfw-3.4.bin.WIN64/docs/html/search/search.js +840 -0
  368. data/glfw-3.4.bin.WIN64/docs/html/search/searchdata.js +39 -0
  369. data/glfw-3.4.bin.WIN64/docs/html/search/typedefs_0.js +36 -0
  370. data/glfw-3.4.bin.WIN64/docs/html/search/variables_0.js +5 -0
  371. data/glfw-3.4.bin.WIN64/docs/html/search/variables_1.js +6 -0
  372. data/glfw-3.4.bin.WIN64/docs/html/search/variables_2.js +4 -0
  373. data/glfw-3.4.bin.WIN64/docs/html/search/variables_3.js +5 -0
  374. data/glfw-3.4.bin.WIN64/docs/html/search/variables_4.js +4 -0
  375. data/glfw-3.4.bin.WIN64/docs/html/search/variables_5.js +4 -0
  376. data/glfw-3.4.bin.WIN64/docs/html/search/variables_6.js +7 -0
  377. data/glfw-3.4.bin.WIN64/docs/html/search/variables_7.js +4 -0
  378. data/glfw-3.4.bin.WIN64/docs/html/search/variables_8.js +4 -0
  379. data/glfw-3.4.bin.WIN64/docs/html/search/variables_9.js +4 -0
  380. data/glfw-3.4.bin.WIN64/docs/html/spaces.svg +877 -0
  381. data/glfw-3.4.bin.WIN64/docs/html/splitbar.png +0 -0
  382. data/glfw-3.4.bin.WIN64/docs/html/splitbard.png +0 -0
  383. data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wallocator.html +168 -0
  384. data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wgamepadstate.html +134 -0
  385. data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wgammaramp.html +170 -0
  386. data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wimage.html +151 -0
  387. data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wvidmode.html +204 -0
  388. data/glfw-3.4.bin.WIN64/docs/html/sync_off.png +0 -0
  389. data/glfw-3.4.bin.WIN64/docs/html/sync_on.png +0 -0
  390. data/glfw-3.4.bin.WIN64/docs/html/tab_a.png +0 -0
  391. data/glfw-3.4.bin.WIN64/docs/html/tab_ad.png +0 -0
  392. data/glfw-3.4.bin.WIN64/docs/html/tab_b.png +0 -0
  393. data/glfw-3.4.bin.WIN64/docs/html/tab_bd.png +0 -0
  394. data/glfw-3.4.bin.WIN64/docs/html/tab_h.png +0 -0
  395. data/glfw-3.4.bin.WIN64/docs/html/tab_hd.png +0 -0
  396. data/glfw-3.4.bin.WIN64/docs/html/tab_s.png +0 -0
  397. data/glfw-3.4.bin.WIN64/docs/html/tab_sd.png +0 -0
  398. data/glfw-3.4.bin.WIN64/docs/html/tabs.css +1 -0
  399. data/glfw-3.4.bin.WIN64/docs/html/topics.html +101 -0
  400. data/glfw-3.4.bin.WIN64/docs/html/vulkan_8md.html +81 -0
  401. data/glfw-3.4.bin.WIN64/docs/html/vulkan_guide.html +206 -0
  402. data/glfw-3.4.bin.WIN64/docs/html/window_8md.html +81 -0
  403. data/glfw-3.4.bin.WIN64/docs/html/window_guide.html +806 -0
  404. data/glfw-3.4.bin.WIN64/include/GLFW/glfw3.h +6547 -0
  405. data/glfw-3.4.bin.WIN64/include/GLFW/glfw3native.h +663 -0
  406. data/glfw-3.4.bin.WIN64/lib-mingw-w64/glfw3.dll +0 -0
  407. data/glfw-3.4.bin.WIN64/lib-mingw-w64/libglfw3.a +0 -0
  408. data/glfw-3.4.bin.WIN64/lib-mingw-w64/libglfw3dll.a +0 -0
  409. data/glfw-3.4.bin.WIN64/lib-static-ucrt/glfw3.dll +0 -0
  410. data/glfw-3.4.bin.WIN64/lib-static-ucrt/glfw3dll.lib +0 -0
  411. data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3.dll +0 -0
  412. data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3.lib +0 -0
  413. data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3_mt.lib +0 -0
  414. data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3dll.lib +0 -0
  415. data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3.dll +0 -0
  416. data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3.lib +0 -0
  417. data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3_mt.lib +0 -0
  418. data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3dll.lib +0 -0
  419. data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3.dll +0 -0
  420. data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3.lib +0 -0
  421. data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3_mt.lib +0 -0
  422. data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3dll.lib +0 -0
  423. data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3.dll +0 -0
  424. data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3.lib +0 -0
  425. data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3_mt.lib +0 -0
  426. data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3dll.lib +0 -0
  427. data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3.dll +0 -0
  428. data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3.lib +0 -0
  429. data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3_mt.lib +0 -0
  430. data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3dll.lib +0 -0
  431. data/lib/build.bash +12 -0
  432. data/lib/engine/camera.rb +13 -0
  433. data/lib/engine/component.rb +48 -0
  434. data/lib/engine/components/direction_light.rb +23 -0
  435. data/lib/engine/components/font_renderer.rb +134 -0
  436. data/lib/engine/components/mesh_renderer.rb +31 -0
  437. data/lib/engine/components/orthographic_camera.rb +54 -0
  438. data/lib/engine/components/perspective_camera.rb +53 -0
  439. data/lib/engine/components/point_light.rb +24 -0
  440. data/lib/engine/components/sprite_renderer.rb +141 -0
  441. data/lib/engine/components/ui_font_renderer.rb +140 -0
  442. data/lib/engine/components/ui_sprite_renderer.rb +101 -0
  443. data/lib/engine/cursor.rb +43 -0
  444. data/lib/engine/engine.rb +221 -0
  445. data/lib/engine/font.rb +74 -0
  446. data/lib/engine/game_object.rb +198 -0
  447. data/lib/engine/importers/font_importer.rb +69 -0
  448. data/lib/engine/importers/obj_file.rb +244 -0
  449. data/lib/engine/importers/obj_importer.rb +33 -0
  450. data/lib/engine/input.rb +61 -0
  451. data/lib/engine/material.rb +79 -0
  452. data/lib/engine/mesh.rb +43 -0
  453. data/lib/engine/path.rb +92 -0
  454. data/lib/engine/physics/collision.rb +12 -0
  455. data/lib/engine/physics/components/cube_collider.rb +6 -0
  456. data/lib/engine/physics/components/rigidbody.rb +103 -0
  457. data/lib/engine/physics/components/sphere_collider.rb +93 -0
  458. data/lib/engine/physics/physics_resolver.rb +37 -0
  459. data/lib/engine/polygon_mesh.rb +45 -0
  460. data/lib/engine/quaternion.rb +228 -0
  461. data/lib/engine/rendering/instance_renderer.rb +153 -0
  462. data/lib/engine/rendering/render_pipeline.rb +35 -0
  463. data/lib/engine/screenshoter.rb +34 -0
  464. data/lib/engine/shader.rb +91 -0
  465. data/lib/engine/shaders/colour_frag.glsl +9 -0
  466. data/lib/engine/shaders/colour_vertex.glsl +14 -0
  467. data/lib/engine/shaders/mesh_frag.glsl +102 -0
  468. data/lib/engine/shaders/mesh_vertex.glsl +25 -0
  469. data/lib/engine/shaders/skybox_frag.glsl +12 -0
  470. data/lib/engine/shaders/skybox_vert.glsl +14 -0
  471. data/lib/engine/shaders/sprite_frag.glsl +17 -0
  472. data/lib/engine/shaders/sprite_vertex.glsl +16 -0
  473. data/lib/engine/shaders/text_frag.glsl +15 -0
  474. data/lib/engine/shaders/text_vertex.glsl +31 -0
  475. data/lib/engine/shaders/ui_sprite_frag.glsl +15 -0
  476. data/lib/engine/shaders/ui_sprite_vertex.glsl +16 -0
  477. data/lib/engine/shaders/vertex_lit_frag.glsl +89 -0
  478. data/lib/engine/shaders/vertex_lit_vertex.glsl +28 -0
  479. data/lib/engine/tangent_calculator.rb +42 -0
  480. data/lib/engine/texture.rb +52 -0
  481. data/lib/engine/video_mode.rb +37 -0
  482. data/lib/engine/window.rb +126 -0
  483. metadata +482 -1
@@ -0,0 +1,70 @@
1
+ # GLFW binaries for 64-bit Windows
2
+
3
+ This archive contains documentation, headers, pre-compiled static libraries,
4
+ import libraries and DLLs for GLFW 3.4.
5
+
6
+ Binaries for the following compilers are included
7
+
8
+ - Visual C++ 2022 (built with 17.9.0)
9
+ - Visual C++ 2019 (built with 16.11.34)
10
+ - Visual C++ 2017 (built with 15.9.60)
11
+ - Visual C++ 2015 (built with 14.0.25431.01)
12
+ - Visual C++ 2013 (built with 12.0.40629.00)
13
+ - MinGW-w64 (built with 13.2.0-win32-dwarf-msvcrt)
14
+
15
+
16
+ ## Binaries for Visual C++
17
+
18
+ All binaries for Visual C++ 2017 and earlier are compatible with Windows XP, but
19
+ this is not supported by Visual C++ 2019. This support has been deprecated by
20
+ Microsoft and GLFW will also drop support for Windows XP in a future release.
21
+
22
+ ### GLFW as a DLL
23
+
24
+ To use GLFW as a DLL, link against the `glfw3dll.lib` file for your
25
+ environment. This will add a load time dependency on `glfw3.dll`. The
26
+ remaining files in the same directory are not needed.
27
+
28
+ This DLL is built in release mode for the Multithreaded DLL runtime library.
29
+
30
+ There is also a GLFW DLL and import library pair in the `lib-static-ucrt`
31
+ directory. These are built with Visual C++ 2019 and the static Multithreaded
32
+ runtime library.
33
+
34
+ ### GLFW as a static library
35
+
36
+ To use GLFW as a static library, link against `glfw3.lib` if your application
37
+ is using the Multithreaded DLL runtime library, or `glfw3_mt.lib` if it is
38
+ using the static Multithreaded runtime library. The remaining files in the same
39
+ directory are not needed.
40
+
41
+ The static libraries are built in release mode and do not contain debug
42
+ information but can still be linked with the debug versions of the runtime
43
+ library.
44
+
45
+
46
+ ## Binaries for MinGW-w64
47
+
48
+ ### GLFW as a DLL
49
+
50
+ To use GLFW as a DLL, link against the `libglfw3dll.a` file for your
51
+ environment. This will add a load time dependency on `glfw3.dll`. The
52
+ remaining files in the same directory are not needed.
53
+
54
+ The DLLs are built in release mode.
55
+
56
+ The DLLs depend on the `msvcrt.dll` C runtime library. There is also a GLFW
57
+ DLL and import library in the `lib-static-ucrt` directory that is built with
58
+ Visual C++ 2019 and statically linked against the UCRT.
59
+
60
+ All DLLs in this archive provide the same ABI and can be used as drop-in
61
+ replacements for one another, as long as the C runtime library they depend on is
62
+ available.
63
+
64
+ ### GLFW as a static library
65
+
66
+ To use GLFW as a static library, link against the `libglfw3.a` file for your
67
+ environment. The other files in the same directory are not needed.
68
+
69
+ The library is built in release mode and do not contain debug information.
70
+
@@ -0,0 +1,81 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7
+ <meta name="generator" content="Doxygen 1.9.8"/>
8
+ <title>GLFW: build.md File Reference</title>
9
+ <link href="tabs.css" rel="stylesheet" type="text/css"/>
10
+ <script type="text/javascript" src="jquery.js"></script>
11
+ <script type="text/javascript" src="dynsections.js"></script>
12
+ <link href="search/search.css" rel="stylesheet" type="text/css"/>
13
+ <script type="text/javascript" src="search/searchdata.js"></script>
14
+ <script type="text/javascript" src="search/search.js"></script>
15
+ <link href="doxygen.css" rel="stylesheet" type="text/css" />
16
+ <link href="extra.css" rel="stylesheet" type="text/css"/>
17
+ </head>
18
+ <body>
19
+ <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
20
+ <div id="titlearea">
21
+ <div class="glfwheader">
22
+ <a href="https://www.glfw.org/" id="glfwhome">GLFW</a>
23
+ <ul class="glfwnavbar">
24
+ <li><a href="https://www.glfw.org/documentation.html">Documentation</a></li>
25
+ <li><a href="https://www.glfw.org/download.html">Download</a></li>
26
+ <li><a href="https://www.glfw.org/community.html">Community</a></li>
27
+ </ul>
28
+ </div>
29
+ </div>
30
+ <!-- end header part -->
31
+ <!-- Generated by Doxygen 1.9.8 -->
32
+ <script type="text/javascript">
33
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
34
+ var searchBox = new SearchBox("searchBox", "search/",'.html');
35
+ /* @license-end */
36
+ </script>
37
+ <script type="text/javascript" src="menudata.js"></script>
38
+ <script type="text/javascript" src="menu.js"></script>
39
+ <script type="text/javascript">
40
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
41
+ $(function() {
42
+ initMenu('',true,false,'search.php','Search');
43
+ $(document).ready(function() { init_search(); });
44
+ });
45
+ /* @license-end */
46
+ </script>
47
+ <div id="main-nav"></div>
48
+ <!-- window showing the filter options -->
49
+ <div id="MSearchSelectWindow"
50
+ onmouseover="return searchBox.OnSearchSelectShow()"
51
+ onmouseout="return searchBox.OnSearchSelectHide()"
52
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
53
+ </div>
54
+
55
+ <!-- iframe showing the search results (closed by default) -->
56
+ <div id="MSearchResultsWindow">
57
+ <div id="MSearchResults">
58
+ <div class="SRPage">
59
+ <div id="SRIndex">
60
+ <div id="SRResults"></div>
61
+ <div class="SRStatus" id="Loading">Loading...</div>
62
+ <div class="SRStatus" id="Searching">Searching...</div>
63
+ <div class="SRStatus" id="NoMatches">No Matches</div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </div>
68
+
69
+ </div><!-- top -->
70
+ <div class="header">
71
+ <div class="headertitle"><div class="title">build.md File Reference</div></div>
72
+ </div><!--header-->
73
+ <div class="contents">
74
+ </div><!-- contents -->
75
+ <address class="footer">
76
+ <p>
77
+ Last update on Fri Feb 23 2024 for GLFW 3.4.0
78
+ </p>
79
+ </address>
80
+ </body>
81
+ </html>
@@ -0,0 +1,217 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7
+ <meta name="generator" content="Doxygen 1.9.8"/>
8
+ <title>GLFW: Building applications</title>
9
+ <link href="tabs.css" rel="stylesheet" type="text/css"/>
10
+ <script type="text/javascript" src="jquery.js"></script>
11
+ <script type="text/javascript" src="dynsections.js"></script>
12
+ <link href="search/search.css" rel="stylesheet" type="text/css"/>
13
+ <script type="text/javascript" src="search/searchdata.js"></script>
14
+ <script type="text/javascript" src="search/search.js"></script>
15
+ <link href="doxygen.css" rel="stylesheet" type="text/css" />
16
+ <link href="extra.css" rel="stylesheet" type="text/css"/>
17
+ </head>
18
+ <body>
19
+ <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
20
+ <div id="titlearea">
21
+ <div class="glfwheader">
22
+ <a href="https://www.glfw.org/" id="glfwhome">GLFW</a>
23
+ <ul class="glfwnavbar">
24
+ <li><a href="https://www.glfw.org/documentation.html">Documentation</a></li>
25
+ <li><a href="https://www.glfw.org/download.html">Download</a></li>
26
+ <li><a href="https://www.glfw.org/community.html">Community</a></li>
27
+ </ul>
28
+ </div>
29
+ </div>
30
+ <!-- end header part -->
31
+ <!-- Generated by Doxygen 1.9.8 -->
32
+ <script type="text/javascript">
33
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
34
+ var searchBox = new SearchBox("searchBox", "search/",'.html');
35
+ /* @license-end */
36
+ </script>
37
+ <script type="text/javascript" src="menudata.js"></script>
38
+ <script type="text/javascript" src="menu.js"></script>
39
+ <script type="text/javascript">
40
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
41
+ $(function() {
42
+ initMenu('',true,false,'search.php','Search');
43
+ $(document).ready(function() { init_search(); });
44
+ });
45
+ /* @license-end */
46
+ </script>
47
+ <div id="main-nav"></div>
48
+ <!-- window showing the filter options -->
49
+ <div id="MSearchSelectWindow"
50
+ onmouseover="return searchBox.OnSearchSelectShow()"
51
+ onmouseout="return searchBox.OnSearchSelectHide()"
52
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
53
+ </div>
54
+
55
+ <!-- iframe showing the search results (closed by default) -->
56
+ <div id="MSearchResultsWindow">
57
+ <div id="MSearchResults">
58
+ <div class="SRPage">
59
+ <div id="SRIndex">
60
+ <div id="SRResults"></div>
61
+ <div class="SRStatus" id="Loading">Loading...</div>
62
+ <div class="SRStatus" id="Searching">Searching...</div>
63
+ <div class="SRStatus" id="NoMatches">No Matches</div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </div>
68
+
69
+ </div><!-- top -->
70
+ <div><div class="header">
71
+ <div class="headertitle"><div class="title">Building applications</div></div>
72
+ </div><!--header-->
73
+ <div class="contents">
74
+ <div class="toc"><h3>Table of Contents</h3>
75
+ <ul><li class="level1"><a href="#build_include">Including the GLFW header file</a><ul><li class="level2"><a href="#build_macros">GLFW header option macros</a></li>
76
+ </ul>
77
+ </li>
78
+ <li class="level1"><a href="#build_link">Link with the right libraries</a><ul><li class="level2"><a href="#build_link_win32">With Visual C++ and GLFW binaries</a></li>
79
+ <li class="level2"><a href="#build_link_mingw">With MinGW-w64 and GLFW binaries</a></li>
80
+ <li class="level2"><a href="#build_link_cmake_source">With CMake and GLFW source</a></li>
81
+ <li class="level2"><a href="#build_link_cmake_package">With CMake and installed GLFW binaries</a></li>
82
+ <li class="level2"><a href="#build_link_pkgconfig">With pkg-config and GLFW binaries on Unix</a></li>
83
+ <li class="level2"><a href="#build_link_xcode">With Xcode on macOS</a></li>
84
+ <li class="level2"><a href="#build_link_osx">With command-line or makefile on macOS</a></li>
85
+ </ul>
86
+ </li>
87
+ </ul>
88
+ </div>
89
+ <div class="textblock"><p>This is about compiling and linking applications that use GLFW. For information on how to write such applications, start with the <a class="el" href="quick_guide.html">introductory tutorial</a>. For information on how to compile the GLFW library itself, see <a class="el" href="compile_guide.html">Compiling GLFW</a>.</p>
90
+ <p>This is not a tutorial on compilation or linking. It assumes basic understanding of how to compile and link a C program as well as how to use the specific compiler of your chosen development environment. The compilation and linking process should be explained in your C programming material and in the documentation for your development environment.</p>
91
+ <h1><a class="anchor" id="build_include"></a>
92
+ Including the GLFW header file</h1>
93
+ <p>You should include the GLFW header in the source files where you use OpenGL or GLFW.</p>
94
+ <div class="fragment"><div class="line"><span class="preprocessor">#include &lt;<a class="code" href="glfw3_8h.html">GLFW/glfw3.h</a>&gt;</span></div>
95
+ <div class="ttc" id="aglfw3_8h_html"><div class="ttname"><a href="glfw3_8h.html">glfw3.h</a></div><div class="ttdoc">The header of the GLFW 3 API.</div></div>
96
+ </div><!-- fragment --><p>This header defines all the constants and declares all the types and function prototypes of the GLFW API. By default, it also includes the OpenGL header from your development environment. See <a class="el" href="build_guide.html#build_macros">option macros</a> below for how to select OpenGL ES headers and more.</p>
97
+ <p>The GLFW header also defines any platform-specific macros needed by your OpenGL header, so that it can be included without needing any window system headers.</p>
98
+ <p>It does this only when needed, so if window system headers are included, the GLFW header does not try to redefine those symbols. The reverse is not true, i.e. <code>windows.h</code> cannot cope if any Win32 symbols have already been defined.</p>
99
+ <p>In other words:</p>
100
+ <ul>
101
+ <li>Use the GLFW header to include OpenGL or OpenGL ES headers portably</li>
102
+ <li>Do not include window system headers unless you will use those APIs directly</li>
103
+ <li>If you do need such headers, include them before the GLFW header</li>
104
+ </ul>
105
+ <p>If you are using an OpenGL extension loading library such as <a href="https://github.com/Dav1dde/glad">glad</a>, the extension loader header should be included before the GLFW one. GLFW attempts to detect any OpenGL or OpenGL ES header or extension loader header included before it and will then disable the inclusion of the default OpenGL header. Most extension loaders also define macros that disable similar headers below it.</p>
106
+ <div class="fragment"><div class="line"><span class="preprocessor">#include &lt;glad/gl.h&gt;</span></div>
107
+ <div class="line"><span class="preprocessor">#include &lt;<a class="code" href="glfw3_8h.html">GLFW/glfw3.h</a>&gt;</span></div>
108
+ </div><!-- fragment --><p>Both of these mechanisms depend on the extension loader header defining a known macro. If yours doesn't or you don't know which one your users will pick, the <a class="el" href="build_guide.html#GLFW_INCLUDE_NONE">GLFW_INCLUDE_NONE</a> macro will explicitly prevent the GLFW header from including the OpenGL header. This will also allow you to include the two headers in any order.</p>
109
+ <div class="fragment"><div class="line"><span class="preprocessor">#define GLFW_INCLUDE_NONE</span></div>
110
+ <div class="line"><span class="preprocessor">#include &lt;<a class="code" href="glfw3_8h.html">GLFW/glfw3.h</a>&gt;</span></div>
111
+ <div class="line"><span class="preprocessor">#include &lt;glad/gl.h&gt;</span></div>
112
+ </div><!-- fragment --><h2><a class="anchor" id="build_macros"></a>
113
+ GLFW header option macros</h2>
114
+ <p>These macros may be defined before the inclusion of the GLFW header and affect its behavior.</p>
115
+ <p><a class="anchor" id="GLFW_DLL"></a><b>GLFW_DLL</b> is required on Windows when using the GLFW DLL, to tell the compiler that the GLFW functions are defined in a DLL.</p>
116
+ <p>The following macros control which OpenGL or OpenGL ES API header is included. Only one of these may be defined at a time.</p>
117
+ <dl class="section note"><dt>Note</dt><dd>GLFW does not provide any of the API headers mentioned below. They are provided by your development environment or your OpenGL, OpenGL ES or Vulkan SDK, and most of them can be downloaded from the <a href="https://www.khronos.org/registry/">Khronos Registry</a>.</dd></dl>
118
+ <p><a class="anchor" id="GLFW_INCLUDE_GLCOREARB"></a><b>GLFW_INCLUDE_GLCOREARB</b> makes the GLFW header include the modern <code>GL/glcorearb.h</code> header (<code>OpenGL/gl3.h</code> on macOS) instead of the regular OpenGL header.</p>
119
+ <p><a class="anchor" id="GLFW_INCLUDE_ES1"></a><b>GLFW_INCLUDE_ES1</b> makes the GLFW header include the OpenGL ES 1.x <code>GLES/gl.h</code> header instead of the regular OpenGL header.</p>
120
+ <p><a class="anchor" id="GLFW_INCLUDE_ES2"></a><b>GLFW_INCLUDE_ES2</b> makes the GLFW header include the OpenGL ES 2.0 <code>GLES2/gl2.h</code> header instead of the regular OpenGL header.</p>
121
+ <p><a class="anchor" id="GLFW_INCLUDE_ES3"></a><b>GLFW_INCLUDE_ES3</b> makes the GLFW header include the OpenGL ES 3.0 <code>GLES3/gl3.h</code> header instead of the regular OpenGL header.</p>
122
+ <p><a class="anchor" id="GLFW_INCLUDE_ES31"></a><b>GLFW_INCLUDE_ES31</b> makes the GLFW header include the OpenGL ES 3.1 <code>GLES3/gl31.h</code> header instead of the regular OpenGL header.</p>
123
+ <p><a class="anchor" id="GLFW_INCLUDE_ES32"></a><b>GLFW_INCLUDE_ES32</b> makes the GLFW header include the OpenGL ES 3.2 <code>GLES3/gl32.h</code> header instead of the regular OpenGL header.</p>
124
+ <p><a class="anchor" id="GLFW_INCLUDE_NONE"></a><b>GLFW_INCLUDE_NONE</b> makes the GLFW header not include any OpenGL or OpenGL ES API header. This is useful in combination with an extension loading library.</p>
125
+ <p>If none of the above inclusion macros are defined, the standard OpenGL <code>GL/gl.h</code> header (<code>OpenGL/gl.h</code> on macOS) is included, unless GLFW detects the inclusion guards of any OpenGL, OpenGL ES or extension loader header it knows about.</p>
126
+ <p>The following macros control the inclusion of additional API headers. Any number of these may be defined simultaneously, and/or together with one of the above macros.</p>
127
+ <p><a class="anchor" id="GLFW_INCLUDE_VULKAN"></a><b>GLFW_INCLUDE_VULKAN</b> makes the GLFW header include the Vulkan <code>vulkan/vulkan.h</code> header in addition to any selected OpenGL or OpenGL ES header.</p>
128
+ <p><a class="anchor" id="GLFW_INCLUDE_GLEXT"></a><b>GLFW_INCLUDE_GLEXT</b> makes the GLFW header include the appropriate extension header for the OpenGL or OpenGL ES header selected above after and in addition to that header.</p>
129
+ <p><a class="anchor" id="GLFW_INCLUDE_GLU"></a><b>GLFW_INCLUDE_GLU</b> makes the header include the GLU header in addition to the header selected above. This should only be used with the standard OpenGL header and only for compatibility with legacy code. GLU has been deprecated and should not be used in new code.</p>
130
+ <dl class="section note"><dt>Note</dt><dd>None of these macros may be defined during the compilation of GLFW itself. If your build includes GLFW and you define any these in your build files, make sure they are not applied to the GLFW sources.</dd></dl>
131
+ <h1><a class="anchor" id="build_link"></a>
132
+ Link with the right libraries</h1>
133
+ <p>GLFW is essentially a wrapper of various platform-specific APIs and therefore needs to link against many different system libraries. If you are using GLFW as a shared library / dynamic library / DLL then it takes care of these links. However, if you are using GLFW as a static library then your executable will need to link against these libraries.</p>
134
+ <p>On Windows and macOS, the list of system libraries is static and can be hard-coded into your build environment. See the section for your development environment below. On Linux and other Unix-like operating systems, the list varies but can be retrieved in various ways as described below.</p>
135
+ <p>A good general introduction to linking is <a href="https://www.lurklurk.org/linkers/linkers.html">Beginner's Guide to Linkers</a> by David Drysdale.</p>
136
+ <h2><a class="anchor" id="build_link_win32"></a>
137
+ With Visual C++ and GLFW binaries</h2>
138
+ <p>If you are using a downloaded <a href="https://www.glfw.org/download.html">binary archive</a>, first make sure you have the archive matching the architecture you are building for (32-bit or 64-bit), or you will get link errors. Also make sure you are using the binaries for your version of Visual C++ or you may get other link errors.</p>
139
+ <p>There are two version of the static GLFW library in the binary archive, because it needs to use the same base run-time library variant as the rest of your executable.</p>
140
+ <p>One is named <code>glfw3.lib</code> and is for projects with the <em>Runtime Library</em> project option set to <em>Multi-threaded DLL</em> or <em>Multi-threaded Debug DLL</em>. The other is named <code>glfw3_mt.lib</code> and is for projects with <em>Runtime Library</em> set to <em>Multi-threaded</em> or <em>Multi-threaded Debug</em>. To use the static GLFW library you will need to add <code>path/to/glfw3.lib</code> or <code>path/to/glfw3_mt.lib</code> to the <em>Additional Dependencies</em> project option.</p>
141
+ <p>If you compiled a GLFW static library yourself then there will only be one, named <code>glfw3.lib</code>, and you have to make sure the run-time library variant matches.</p>
142
+ <p>The DLL version of the GLFW library is named <code>glfw3.dll</code>, but you will be linking against the <code>glfw3dll.lib</code> link library. To use the DLL you will need to add <code>path/to/glfw3dll.lib</code> to the <em>Additional Dependencies</em> project option. All of its dependencies are already listed there by default, but when building with the DLL version of GLFW, you also need to define the <a class="el" href="build_guide.html#GLFW_DLL">GLFW_DLL</a>. This can be done either in the <em>Preprocessor Definitions</em> project option or by defining it in your source code before including the GLFW header.</p>
143
+ <div class="fragment"><div class="line"><span class="preprocessor">#define GLFW_DLL</span></div>
144
+ <div class="line"><span class="preprocessor">#include &lt;<a class="code" href="glfw3_8h.html">GLFW/glfw3.h</a>&gt;</span></div>
145
+ </div><!-- fragment --><p>All link-time dependencies for GLFW are already listed in the <em>Additional Dependencies</em> option by default.</p>
146
+ <h2><a class="anchor" id="build_link_mingw"></a>
147
+ With MinGW-w64 and GLFW binaries</h2>
148
+ <p>This is intended for building a program from the command-line or by writing a makefile, on Windows with <a href="https://www.mingw-w64.org/">MinGW-w64</a> and GLFW binaries. These can be from a downloaded and extracted <a href="https://www.glfw.org/download.html">binary archive</a> or by compiling GLFW yourself. The paths below assume a binary archive is used.</p>
149
+ <p>If you are using a downloaded binary archive, first make sure you have the archive matching the architecture you are building for (32-bit or 64-bit) or you will get link errors.</p>
150
+ <p>Note that the order of source files and libraries matter for GCC. Dependencies must be listed after the files that depend on them. Any source files that depend on GLFW must be listed before the GLFW library. GLFW in turn depends on <code>gdi32</code> and must be listed before it.</p>
151
+ <p>If you are using the static version of the GLFW library, which is named <code>libglfw3.a</code>, do:</p>
152
+ <div class="fragment"><div class="line">gcc -o myprog myprog.c -I path/to/glfw/include path/to/glfw/lib-mingw-w64/libglfw3.a -lgdi32</div>
153
+ </div><!-- fragment --><p>If you are using the DLL version of the GLFW library, which is named <code>glfw3.dll</code>, you will need to use the <code>libglfw3dll.a</code> link library.</p>
154
+ <div class="fragment"><div class="line">gcc -o myprog myprog.c -I path/to/glfw/include path/to/glfw/lib-mingw-w64/libglfw3dll.a -lgdi32</div>
155
+ </div><!-- fragment --><p>The resulting executable will need to find <code>glfw3.dll</code> to run, typically by keeping both files in the same directory.</p>
156
+ <p>When you are building with the DLL version of GLFW, you will also need to define the <a class="el" href="build_guide.html#GLFW_DLL">GLFW_DLL</a> macro. This can be done in your source files, as long as it done before including the GLFW header:</p>
157
+ <div class="fragment"><div class="line"><span class="preprocessor">#define GLFW_DLL</span></div>
158
+ <div class="line"><span class="preprocessor">#include &lt;<a class="code" href="glfw3_8h.html">GLFW/glfw3.h</a>&gt;</span></div>
159
+ </div><!-- fragment --><p>It can also be done on the command-line:</p>
160
+ <div class="fragment"><div class="line">gcc -o myprog myprog.c -D GLFW_DLL -I path/to/glfw/include path/to/glfw/lib-mingw-w64/libglfw3dll.a -lgdi32</div>
161
+ </div><!-- fragment --><h2><a class="anchor" id="build_link_cmake_source"></a>
162
+ With CMake and GLFW source</h2>
163
+ <p>This section is about using CMake to compile and link GLFW along with your application. If you want to use an installed binary instead, see <a class="el" href="build_guide.html#build_link_cmake_package">With CMake and installed GLFW binaries</a>.</p>
164
+ <p>With a few changes to your <code>CMakeLists.txt</code> you can have the GLFW source tree built along with your application.</p>
165
+ <p>Add the root directory of the GLFW source tree to your project. This will add the <code>glfw</code> target to your project.</p>
166
+ <div class="fragment"><div class="line">add_subdirectory(path/to/glfw)</div>
167
+ </div><!-- fragment --><p>Once GLFW has been added, link your application against the <code>glfw</code> target. This adds the GLFW library and its link-time dependencies as it is currently configured, the include directory for the GLFW header and, when applicable, the <a class="el" href="build_guide.html#GLFW_DLL">GLFW_DLL</a> macro.</p>
168
+ <div class="fragment"><div class="line">target_link_libraries(myapp glfw)</div>
169
+ </div><!-- fragment --><p>Note that the <code>glfw</code> target does not depend on OpenGL, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime. If your application calls OpenGL directly, instead of using a modern <a class="el" href="context_guide.html#context_glext_auto">extension loader library</a>, use the OpenGL CMake package.</p>
170
+ <div class="fragment"><div class="line">find_package(OpenGL REQUIRED)</div>
171
+ </div><!-- fragment --><p>If OpenGL is found, the <code>OpenGL::GL</code> target is added to your project, containing library and include directory paths. Link against this like any other library.</p>
172
+ <div class="fragment"><div class="line">target_link_libraries(myapp OpenGL::GL)</div>
173
+ </div><!-- fragment --><p>For a minimal example of a program and GLFW sources built with CMake, see the <a href="https://github.com/juliettef/GLFW-CMake-starter">GLFW CMake Starter</a> on GitHub.</p>
174
+ <h2><a class="anchor" id="build_link_cmake_package"></a>
175
+ With CMake and installed GLFW binaries</h2>
176
+ <p>This section is about using CMake to link GLFW after it has been built and installed. If you want to build it along with your application instead, see <a class="el" href="build_guide.html#build_link_cmake_source">With CMake and GLFW source</a>.</p>
177
+ <p>With a few changes to your <code>CMakeLists.txt</code> you can locate the package and target files generated when GLFW is installed.</p>
178
+ <div class="fragment"><div class="line">find_package(glfw3 3.4 REQUIRED)</div>
179
+ </div><!-- fragment --><p>Once GLFW has been added to the project, link against it with the <code>glfw</code> target. This adds the GLFW library and its link-time dependencies, the include directory for the GLFW header and, when applicable, the <a class="el" href="build_guide.html#GLFW_DLL">GLFW_DLL</a> macro.</p>
180
+ <div class="fragment"><div class="line">target_link_libraries(myapp glfw)</div>
181
+ </div><!-- fragment --><p>Note that the <code>glfw</code> target does not depend on OpenGL, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime. If your application calls OpenGL directly, instead of using a modern <a class="el" href="context_guide.html#context_glext_auto">extension loader library</a>, use the OpenGL CMake package.</p>
182
+ <div class="fragment"><div class="line">find_package(OpenGL REQUIRED)</div>
183
+ </div><!-- fragment --><p>If OpenGL is found, the <code>OpenGL::GL</code> target is added to your project, containing library and include directory paths. Link against this like any other library.</p>
184
+ <div class="fragment"><div class="line">target_link_libraries(myapp OpenGL::GL)</div>
185
+ </div><!-- fragment --><h2><a class="anchor" id="build_link_pkgconfig"></a>
186
+ With pkg-config and GLFW binaries on Unix</h2>
187
+ <p>This is intended for building a program from the command-line or by writing a makefile, on macOS or any Unix-like system like Linux, FreeBSD and Cygwin.</p>
188
+ <p>GLFW supports <a href="https://www.freedesktop.org/wiki/Software/pkg-config/">pkg-config</a>, and the <code>glfw3.pc</code> pkg-config file is generated when the GLFW library is built and is installed along with it. A pkg-config file describes all necessary compile-time and link-time flags and dependencies needed to use a library. When they are updated or if they differ between systems, you will get the correct ones automatically.</p>
189
+ <p>A typical compile and link command-line when using the static version of the GLFW library may look like this:</p>
190
+ <div class="fragment"><div class="line">cc $(pkg-config --cflags glfw3) -o myprog myprog.c $(pkg-config --static --libs glfw3)</div>
191
+ </div><!-- fragment --><p>If you are using the shared version of the GLFW library, omit the <code>--static</code> flag.</p>
192
+ <div class="fragment"><div class="line">cc $(pkg-config --cflags glfw3) -o myprog myprog.c $(pkg-config --libs glfw3)</div>
193
+ </div><!-- fragment --><p>You can also use the <code>glfw3.pc</code> file without installing it first, by using the <code>PKG_CONFIG_PATH</code> environment variable.</p>
194
+ <div class="fragment"><div class="line">env PKG_CONFIG_PATH=path/to/glfw/src cc $(pkg-config --cflags glfw3) -o myprog myprog.c $(pkg-config --libs glfw3)</div>
195
+ </div><!-- fragment --><p>The dependencies do not include OpenGL, as GLFW loads any OpenGL, OpenGL ES or Vulkan libraries it needs at runtime. If your application calls OpenGL directly, instead of using a modern <a class="el" href="context_guide.html#context_glext_auto">extension loader library</a>, you should add the <code>gl</code> pkg-config package.</p>
196
+ <div class="fragment"><div class="line">cc $(pkg-config --cflags glfw3 gl) -o myprog myprog.c $(pkg-config --libs glfw3 gl)</div>
197
+ </div><!-- fragment --><h2><a class="anchor" id="build_link_xcode"></a>
198
+ With Xcode on macOS</h2>
199
+ <p>If you are using the dynamic library version of GLFW, add it to the project dependencies.</p>
200
+ <p>If you are using the static library version of GLFW, add it and the Cocoa, OpenGL and IOKit frameworks to the project as dependencies. They can all be found in <code>/System/Library/Frameworks</code>.</p>
201
+ <h2><a class="anchor" id="build_link_osx"></a>
202
+ With command-line or makefile on macOS</h2>
203
+ <p>It is recommended that you use <a class="el" href="build_guide.html#build_link_pkgconfig">pkg-config</a> when using installed GLFW binaries from the command line on macOS. That way you will get any new dependencies added automatically. If you still wish to build manually, you need to add the required frameworks and libraries to your command-line yourself using the <code>-l</code> and <code>-framework</code> switches.</p>
204
+ <p>If you are using the dynamic GLFW library, which is named <code>libglfw.3.dylib</code>, do:</p>
205
+ <div class="fragment"><div class="line">cc -o myprog myprog.c -lglfw -framework Cocoa -framework OpenGL -framework IOKit</div>
206
+ </div><!-- fragment --><p>If you are using the static library, named <code>libglfw3.a</code>, substitute <code>-lglfw3</code> for <code>-lglfw</code>.</p>
207
+ <p>Note that you do not add the <code>.framework</code> extension to a framework when linking against it from the command-line.</p>
208
+ <dl class="section note"><dt>Note</dt><dd>Your machine may have <code>libGL.*.dylib</code> style OpenGL library, but that is for the X Window System and will not work with the macOS native version of GLFW. </dd></dl>
209
+ </div></div><!-- contents -->
210
+ </div><!-- PageDoc -->
211
+ <address class="footer">
212
+ <p>
213
+ Last update on Fri Feb 23 2024 for GLFW 3.4.0
214
+ </p>
215
+ </address>
216
+ </body>
217
+ </html>
@@ -0,0 +1,81 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="IE=9"/>
7
+ <meta name="generator" content="Doxygen 1.9.8"/>
8
+ <title>GLFW: compat.md File Reference</title>
9
+ <link href="tabs.css" rel="stylesheet" type="text/css"/>
10
+ <script type="text/javascript" src="jquery.js"></script>
11
+ <script type="text/javascript" src="dynsections.js"></script>
12
+ <link href="search/search.css" rel="stylesheet" type="text/css"/>
13
+ <script type="text/javascript" src="search/searchdata.js"></script>
14
+ <script type="text/javascript" src="search/search.js"></script>
15
+ <link href="doxygen.css" rel="stylesheet" type="text/css" />
16
+ <link href="extra.css" rel="stylesheet" type="text/css"/>
17
+ </head>
18
+ <body>
19
+ <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
20
+ <div id="titlearea">
21
+ <div class="glfwheader">
22
+ <a href="https://www.glfw.org/" id="glfwhome">GLFW</a>
23
+ <ul class="glfwnavbar">
24
+ <li><a href="https://www.glfw.org/documentation.html">Documentation</a></li>
25
+ <li><a href="https://www.glfw.org/download.html">Download</a></li>
26
+ <li><a href="https://www.glfw.org/community.html">Community</a></li>
27
+ </ul>
28
+ </div>
29
+ </div>
30
+ <!-- end header part -->
31
+ <!-- Generated by Doxygen 1.9.8 -->
32
+ <script type="text/javascript">
33
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
34
+ var searchBox = new SearchBox("searchBox", "search/",'.html');
35
+ /* @license-end */
36
+ </script>
37
+ <script type="text/javascript" src="menudata.js"></script>
38
+ <script type="text/javascript" src="menu.js"></script>
39
+ <script type="text/javascript">
40
+ /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
41
+ $(function() {
42
+ initMenu('',true,false,'search.php','Search');
43
+ $(document).ready(function() { init_search(); });
44
+ });
45
+ /* @license-end */
46
+ </script>
47
+ <div id="main-nav"></div>
48
+ <!-- window showing the filter options -->
49
+ <div id="MSearchSelectWindow"
50
+ onmouseover="return searchBox.OnSearchSelectShow()"
51
+ onmouseout="return searchBox.OnSearchSelectHide()"
52
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
53
+ </div>
54
+
55
+ <!-- iframe showing the search results (closed by default) -->
56
+ <div id="MSearchResultsWindow">
57
+ <div id="MSearchResults">
58
+ <div class="SRPage">
59
+ <div id="SRIndex">
60
+ <div id="SRResults"></div>
61
+ <div class="SRStatus" id="Loading">Loading...</div>
62
+ <div class="SRStatus" id="Searching">Searching...</div>
63
+ <div class="SRStatus" id="NoMatches">No Matches</div>
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </div>
68
+
69
+ </div><!-- top -->
70
+ <div class="header">
71
+ <div class="headertitle"><div class="title">compat.md File Reference</div></div>
72
+ </div><!--header-->
73
+ <div class="contents">
74
+ </div><!-- contents -->
75
+ <address class="footer">
76
+ <p>
77
+ Last update on Fri Feb 23 2024 for GLFW 3.4.0
78
+ </p>
79
+ </address>
80
+ </body>
81
+ </html>