mathematical 1.6.12 → 1.6.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (344) hide show
  1. checksums.yaml +5 -5
  2. data/ext/mathematical/CMakeLists.txt +48 -6
  3. data/ext/mathematical/extconf.rb +11 -8
  4. data/ext/mathematical/lasem/COPYING +2 -1
  5. data/ext/mathematical/lasem/NEWS +4 -2
  6. data/ext/mathematical/lasem/configure.ac +1 -1
  7. data/ext/mathematical/lasem/lasem.doap +2 -2
  8. data/ext/mathematical/lasem/po/LINGUAS +3 -0
  9. data/ext/mathematical/lasem/po/da.po +99 -0
  10. data/ext/mathematical/lasem/po/eu.po +66 -30
  11. data/ext/mathematical/lasem/po/it.po +68 -28
  12. data/ext/mathematical/lasem/po/ro.po +64 -0
  13. data/ext/mathematical/lasem/po/tr.po +68 -28
  14. data/ext/mathematical/lasem/src/lasemrender.c +2 -2
  15. data/ext/mathematical/lasem/src/lsm.c +2 -2
  16. data/ext/mathematical/lasem/src/lsm.h +2 -2
  17. data/ext/mathematical/lasem/src/lsmattributes.c +2 -2
  18. data/ext/mathematical/lasem/src/lsmattributes.h +2 -2
  19. data/ext/mathematical/lasem/src/lsmcairo.c +2 -2
  20. data/ext/mathematical/lasem/src/lsmcairo.h +2 -2
  21. data/ext/mathematical/lasem/src/lsmdebug.c +2 -2
  22. data/ext/mathematical/lasem/src/lsmdebug.h +2 -2
  23. data/ext/mathematical/lasem/src/lsmdom.h +2 -2
  24. data/ext/mathematical/lasem/src/lsmdomcharacterdata.c +2 -2
  25. data/ext/mathematical/lasem/src/lsmdomcharacterdata.h +2 -2
  26. data/ext/mathematical/lasem/src/lsmdomdocument.c +2 -2
  27. data/ext/mathematical/lasem/src/lsmdomdocument.h +2 -2
  28. data/ext/mathematical/lasem/src/lsmdomdocumentfragment.c +2 -2
  29. data/ext/mathematical/lasem/src/lsmdomdocumentfragment.h +2 -2
  30. data/ext/mathematical/lasem/src/lsmdomelement.c +2 -2
  31. data/ext/mathematical/lasem/src/lsmdomelement.h +2 -2
  32. data/ext/mathematical/lasem/src/lsmdomentities.c +2 -2
  33. data/ext/mathematical/lasem/src/lsmdomentities.h +2 -2
  34. data/ext/mathematical/lasem/src/lsmdomimplementation.c +2 -2
  35. data/ext/mathematical/lasem/src/lsmdomimplementation.h +2 -2
  36. data/ext/mathematical/lasem/src/lsmdomnamednodemap.c +2 -2
  37. data/ext/mathematical/lasem/src/lsmdomnamednodemap.h +2 -2
  38. data/ext/mathematical/lasem/src/lsmdomnode.c +2 -2
  39. data/ext/mathematical/lasem/src/lsmdomnode.h +2 -2
  40. data/ext/mathematical/lasem/src/lsmdomnodelist.c +2 -2
  41. data/ext/mathematical/lasem/src/lsmdomnodelist.h +2 -2
  42. data/ext/mathematical/lasem/src/lsmdomparser.c +2 -2
  43. data/ext/mathematical/lasem/src/lsmdomparser.h +2 -2
  44. data/ext/mathematical/lasem/src/lsmdomtext.c +2 -2
  45. data/ext/mathematical/lasem/src/lsmdomtext.h +2 -2
  46. data/ext/mathematical/lasem/src/lsmdomtypes.h +2 -2
  47. data/ext/mathematical/lasem/src/lsmdomview.c +2 -2
  48. data/ext/mathematical/lasem/src/lsmdomview.h +2 -2
  49. data/ext/mathematical/lasem/src/lsmitex.c +2 -2
  50. data/ext/mathematical/lasem/src/lsmitex.h +2 -2
  51. data/ext/mathematical/lasem/src/lsmmathml.h +2 -2
  52. data/ext/mathematical/lasem/src/lsmmathmlactionelement.c +2 -2
  53. data/ext/mathematical/lasem/src/lsmmathmlactionelement.h +2 -2
  54. data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.c +2 -2
  55. data/ext/mathematical/lasem/src/lsmmathmlaligngroupelement.h +2 -2
  56. data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.c +2 -2
  57. data/ext/mathematical/lasem/src/lsmmathmlalignmarkelement.h +2 -2
  58. data/ext/mathematical/lasem/src/lsmmathmlattributes.c +2 -2
  59. data/ext/mathematical/lasem/src/lsmmathmlattributes.h +2 -2
  60. data/ext/mathematical/lasem/src/lsmmathmldocument.c +3 -3
  61. data/ext/mathematical/lasem/src/lsmmathmldocument.h +2 -2
  62. data/ext/mathematical/lasem/src/lsmmathmlelement.c +2 -2
  63. data/ext/mathematical/lasem/src/lsmmathmlelement.h +2 -2
  64. data/ext/mathematical/lasem/src/lsmmathmlencloseelement.c +2 -2
  65. data/ext/mathematical/lasem/src/lsmmathmlencloseelement.h +2 -2
  66. data/ext/mathematical/lasem/src/lsmmathmlenums.c +6 -2
  67. data/ext/mathematical/lasem/src/lsmmathmlenums.h +2 -2
  68. data/ext/mathematical/lasem/src/lsmmathmlerrorelement.c +2 -2
  69. data/ext/mathematical/lasem/src/lsmmathmlerrorelement.h +2 -2
  70. data/ext/mathematical/lasem/src/lsmmathmlfencedelement.c +2 -2
  71. data/ext/mathematical/lasem/src/lsmmathmlfencedelement.h +2 -2
  72. data/ext/mathematical/lasem/src/lsmmathmlfractionelement.c +2 -2
  73. data/ext/mathematical/lasem/src/lsmmathmlfractionelement.h +2 -2
  74. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.c +2 -2
  75. data/ext/mathematical/lasem/src/lsmmathmlglyphtableams.h +2 -2
  76. data/ext/mathematical/lasem/src/lsmmathmlitexelement.c +2 -2
  77. data/ext/mathematical/lasem/src/lsmmathmlitexelement.h +2 -2
  78. data/ext/mathematical/lasem/src/lsmmathmllayoututils.c +2 -2
  79. data/ext/mathematical/lasem/src/lsmmathmllayoututils.h +2 -2
  80. data/ext/mathematical/lasem/src/lsmmathmlmathelement.c +2 -2
  81. data/ext/mathematical/lasem/src/lsmmathmlmathelement.h +2 -2
  82. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.c +2 -2
  83. data/ext/mathematical/lasem/src/lsmmathmloperatordictionary.h +2 -2
  84. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.c +2 -2
  85. data/ext/mathematical/lasem/src/lsmmathmloperatorelement.h +2 -2
  86. data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.c +2 -2
  87. data/ext/mathematical/lasem/src/lsmmathmlpaddedelement.h +2 -2
  88. data/ext/mathematical/lasem/src/lsmmathmlphantomelement.c +2 -2
  89. data/ext/mathematical/lasem/src/lsmmathmlphantomelement.h +2 -2
  90. data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.c +2 -2
  91. data/ext/mathematical/lasem/src/lsmmathmlpresentationcontainer.h +2 -2
  92. data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.c +2 -2
  93. data/ext/mathematical/lasem/src/lsmmathmlpresentationtoken.h +2 -2
  94. data/ext/mathematical/lasem/src/lsmmathmlradicalelement.c +2 -2
  95. data/ext/mathematical/lasem/src/lsmmathmlradicalelement.h +2 -2
  96. data/ext/mathematical/lasem/src/lsmmathmlrowelement.c +2 -2
  97. data/ext/mathematical/lasem/src/lsmmathmlrowelement.h +2 -2
  98. data/ext/mathematical/lasem/src/lsmmathmlscriptelement.c +2 -2
  99. data/ext/mathematical/lasem/src/lsmmathmlscriptelement.h +2 -2
  100. data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.c +2 -2
  101. data/ext/mathematical/lasem/src/lsmmathmlsemanticselement.h +2 -2
  102. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.c +2 -2
  103. data/ext/mathematical/lasem/src/lsmmathmlspaceelement.h +2 -2
  104. data/ext/mathematical/lasem/src/lsmmathmlstringelement.c +2 -2
  105. data/ext/mathematical/lasem/src/lsmmathmlstringelement.h +2 -2
  106. data/ext/mathematical/lasem/src/lsmmathmlstyle.c +2 -2
  107. data/ext/mathematical/lasem/src/lsmmathmlstyle.h +2 -2
  108. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.c +2 -2
  109. data/ext/mathematical/lasem/src/lsmmathmlstyleelement.h +2 -2
  110. data/ext/mathematical/lasem/src/lsmmathmltablecellelement.c +2 -2
  111. data/ext/mathematical/lasem/src/lsmmathmltablecellelement.h +2 -2
  112. data/ext/mathematical/lasem/src/lsmmathmltableelement.c +2 -2
  113. data/ext/mathematical/lasem/src/lsmmathmltableelement.h +2 -2
  114. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.c +2 -2
  115. data/ext/mathematical/lasem/src/lsmmathmltablerowelement.h +2 -2
  116. data/ext/mathematical/lasem/src/lsmmathmltraits.c +2 -2
  117. data/ext/mathematical/lasem/src/lsmmathmltraits.h +2 -2
  118. data/ext/mathematical/lasem/src/lsmmathmltypes.h +2 -2
  119. data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.c +2 -2
  120. data/ext/mathematical/lasem/src/lsmmathmlunderoverelement.h +2 -2
  121. data/ext/mathematical/lasem/src/lsmmathmlutils.c +2 -2
  122. data/ext/mathematical/lasem/src/lsmmathmlutils.h +2 -2
  123. data/ext/mathematical/lasem/src/lsmmathmlview.c +2 -2
  124. data/ext/mathematical/lasem/src/lsmmathmlview.h +2 -2
  125. data/ext/mathematical/lasem/src/lsmproperties.c +2 -2
  126. data/ext/mathematical/lasem/src/lsmproperties.h +2 -2
  127. data/ext/mathematical/lasem/src/lsmstr.c +2 -2
  128. data/ext/mathematical/lasem/src/lsmstr.h +2 -2
  129. data/ext/mathematical/lasem/src/lsmsvg.h +2 -2
  130. data/ext/mathematical/lasem/src/lsmsvgaelement.c +2 -2
  131. data/ext/mathematical/lasem/src/lsmsvgaelement.h +2 -2
  132. data/ext/mathematical/lasem/src/lsmsvgattributes.h +2 -2
  133. data/ext/mathematical/lasem/src/lsmsvgcircleelement.c +2 -2
  134. data/ext/mathematical/lasem/src/lsmsvgcircleelement.h +2 -2
  135. data/ext/mathematical/lasem/src/lsmsvgclippathelement.c +2 -2
  136. data/ext/mathematical/lasem/src/lsmsvgclippathelement.h +2 -2
  137. data/ext/mathematical/lasem/src/lsmsvgcolors.c +2 -2
  138. data/ext/mathematical/lasem/src/lsmsvgcolors.h +2 -2
  139. data/ext/mathematical/lasem/src/lsmsvgdefselement.c +2 -2
  140. data/ext/mathematical/lasem/src/lsmsvgdefselement.h +2 -2
  141. data/ext/mathematical/lasem/src/lsmsvgdocument.c +2 -2
  142. data/ext/mathematical/lasem/src/lsmsvgdocument.h +2 -2
  143. data/ext/mathematical/lasem/src/lsmsvgelement.c +2 -2
  144. data/ext/mathematical/lasem/src/lsmsvgelement.h +2 -3
  145. data/ext/mathematical/lasem/src/lsmsvgellipseelement.c +2 -2
  146. data/ext/mathematical/lasem/src/lsmsvgellipseelement.h +2 -2
  147. data/ext/mathematical/lasem/src/lsmsvgenums.c +2 -2
  148. data/ext/mathematical/lasem/src/lsmsvgenums.h +2 -2
  149. data/ext/mathematical/lasem/src/lsmsvgfilterblend.c +2 -2
  150. data/ext/mathematical/lasem/src/lsmsvgfilterblend.h +2 -2
  151. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.c +2 -2
  152. data/ext/mathematical/lasem/src/lsmsvgfiltercolormatrix.h +2 -2
  153. data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.c +2 -2
  154. data/ext/mathematical/lasem/src/lsmsvgfiltercomposite.h +2 -2
  155. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.c +2 -2
  156. data/ext/mathematical/lasem/src/lsmsvgfilterconvolvematrix.h +2 -2
  157. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.c +2 -2
  158. data/ext/mathematical/lasem/src/lsmsvgfilterdisplacementmap.h +2 -2
  159. data/ext/mathematical/lasem/src/lsmsvgfilterelement.c +2 -2
  160. data/ext/mathematical/lasem/src/lsmsvgfilterelement.h +2 -2
  161. data/ext/mathematical/lasem/src/lsmsvgfilterflood.c +2 -2
  162. data/ext/mathematical/lasem/src/lsmsvgfilterflood.h +2 -2
  163. data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.c +2 -2
  164. data/ext/mathematical/lasem/src/lsmsvgfiltergaussianblur.h +2 -2
  165. data/ext/mathematical/lasem/src/lsmsvgfilterimage.c +6 -4
  166. data/ext/mathematical/lasem/src/lsmsvgfilterimage.h +2 -2
  167. data/ext/mathematical/lasem/src/lsmsvgfiltermerge.c +2 -2
  168. data/ext/mathematical/lasem/src/lsmsvgfiltermerge.h +2 -2
  169. data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.c +2 -2
  170. data/ext/mathematical/lasem/src/lsmsvgfiltermergenode.h +2 -2
  171. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.c +2 -2
  172. data/ext/mathematical/lasem/src/lsmsvgfiltermorphology.h +2 -2
  173. data/ext/mathematical/lasem/src/lsmsvgfilteroffset.c +2 -2
  174. data/ext/mathematical/lasem/src/lsmsvgfilteroffset.h +2 -2
  175. data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.c +2 -2
  176. data/ext/mathematical/lasem/src/lsmsvgfilterprimitive.h +2 -2
  177. data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.c +2 -2
  178. data/ext/mathematical/lasem/src/lsmsvgfilterspecularlighting.h +2 -2
  179. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.c +2 -2
  180. data/ext/mathematical/lasem/src/lsmsvgfiltersurface.h +2 -2
  181. data/ext/mathematical/lasem/src/lsmsvgfiltertile.c +2 -2
  182. data/ext/mathematical/lasem/src/lsmsvgfiltertile.h +2 -2
  183. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.c +2 -2
  184. data/ext/mathematical/lasem/src/lsmsvgfilterturbulence.h +2 -2
  185. data/ext/mathematical/lasem/src/lsmsvggelement.c +2 -2
  186. data/ext/mathematical/lasem/src/lsmsvggelement.h +2 -2
  187. data/ext/mathematical/lasem/src/lsmsvggradientelement.c +2 -2
  188. data/ext/mathematical/lasem/src/lsmsvggradientelement.h +2 -2
  189. data/ext/mathematical/lasem/src/lsmsvgimageelement.c +2 -2
  190. data/ext/mathematical/lasem/src/lsmsvgimageelement.h +2 -2
  191. data/ext/mathematical/lasem/src/lsmsvglength.c +2 -2
  192. data/ext/mathematical/lasem/src/lsmsvglength.h +2 -2
  193. data/ext/mathematical/lasem/src/lsmsvglineargradientelement.c +2 -2
  194. data/ext/mathematical/lasem/src/lsmsvglineargradientelement.h +2 -2
  195. data/ext/mathematical/lasem/src/lsmsvglineelement.c +2 -2
  196. data/ext/mathematical/lasem/src/lsmsvglineelement.h +2 -2
  197. data/ext/mathematical/lasem/src/lsmsvgmarkerelement.c +2 -2
  198. data/ext/mathematical/lasem/src/lsmsvgmarkerelement.h +2 -2
  199. data/ext/mathematical/lasem/src/lsmsvgmaskelement.c +2 -2
  200. data/ext/mathematical/lasem/src/lsmsvgmaskelement.h +2 -2
  201. data/ext/mathematical/lasem/src/lsmsvgmatrix.c +2 -2
  202. data/ext/mathematical/lasem/src/lsmsvgmatrix.h +2 -2
  203. data/ext/mathematical/lasem/src/lsmsvgpathelement.c +2 -2
  204. data/ext/mathematical/lasem/src/lsmsvgpathelement.h +2 -2
  205. data/ext/mathematical/lasem/src/lsmsvgpatternelement.c +2 -2
  206. data/ext/mathematical/lasem/src/lsmsvgpatternelement.h +2 -2
  207. data/ext/mathematical/lasem/src/lsmsvgpolygonelement.c +2 -2
  208. data/ext/mathematical/lasem/src/lsmsvgpolygonelement.h +2 -2
  209. data/ext/mathematical/lasem/src/lsmsvgpolylineelement.c +2 -2
  210. data/ext/mathematical/lasem/src/lsmsvgpolylineelement.h +2 -2
  211. data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.c +2 -2
  212. data/ext/mathematical/lasem/src/lsmsvgradialgradientelement.h +2 -2
  213. data/ext/mathematical/lasem/src/lsmsvgrectelement.c +2 -2
  214. data/ext/mathematical/lasem/src/lsmsvgrectelement.h +2 -2
  215. data/ext/mathematical/lasem/src/lsmsvgstopelement.c +2 -2
  216. data/ext/mathematical/lasem/src/lsmsvgstopelement.h +2 -2
  217. data/ext/mathematical/lasem/src/lsmsvgstyle.c +2 -2
  218. data/ext/mathematical/lasem/src/lsmsvgstyle.h +2 -2
  219. data/ext/mathematical/lasem/src/lsmsvgsvgelement.c +2 -2
  220. data/ext/mathematical/lasem/src/lsmsvgsvgelement.h +2 -2
  221. data/ext/mathematical/lasem/src/lsmsvgswitchelement.c +2 -2
  222. data/ext/mathematical/lasem/src/lsmsvgswitchelement.h +2 -2
  223. data/ext/mathematical/lasem/src/lsmsvgsymbolelement.c +2 -2
  224. data/ext/mathematical/lasem/src/lsmsvgsymbolelement.h +2 -2
  225. data/ext/mathematical/lasem/src/lsmsvgtextelement.c +2 -2
  226. data/ext/mathematical/lasem/src/lsmsvgtextelement.h +2 -2
  227. data/ext/mathematical/lasem/src/lsmsvgtraits.c +2 -2
  228. data/ext/mathematical/lasem/src/lsmsvgtraits.h +2 -2
  229. data/ext/mathematical/lasem/src/lsmsvgtransformable.c +2 -2
  230. data/ext/mathematical/lasem/src/lsmsvgtransformable.h +2 -2
  231. data/ext/mathematical/lasem/src/lsmsvgtspanelement.c +2 -2
  232. data/ext/mathematical/lasem/src/lsmsvgtspanelement.h +2 -2
  233. data/ext/mathematical/lasem/src/lsmsvgtypes.h +2 -2
  234. data/ext/mathematical/lasem/src/lsmsvguseelement.c +2 -2
  235. data/ext/mathematical/lasem/src/lsmsvguseelement.h +2 -2
  236. data/ext/mathematical/lasem/src/lsmsvgview.c +2 -2
  237. data/ext/mathematical/lasem/src/lsmsvgview.h +2 -2
  238. data/ext/mathematical/lasem/src/lsmtraits.c +2 -2
  239. data/ext/mathematical/lasem/src/lsmtraits.h +2 -2
  240. data/ext/mathematical/lasem/src/lsmtypes.h +2 -2
  241. data/ext/mathematical/lasem/src/lsmutils.c +2 -2
  242. data/ext/mathematical/lasem/src/lsmutils.h +2 -2
  243. data/ext/mathematical/lasem/tests/lsmtest.c +1 -3
  244. data/ext/mathematical/lasem/tests/suite.c +1 -2
  245. data/ext/mathematical/lasem_overrides.c +3 -0
  246. data/ext/mathematical/lib/liblasem.dylib +0 -0
  247. data/ext/mathematical/lib/libmtex2MML.a +0 -0
  248. data/ext/mathematical/mtex2MML/build/CMakeCache.txt +84 -79
  249. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CMakeCCompiler.cmake +15 -7
  250. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CMakeCXXCompiler.cmake +17 -8
  251. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CMakeDetermineCompilerABI_C.bin +0 -0
  252. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CMakeDetermineCompilerABI_CXX.bin +0 -0
  253. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CMakeSystem.cmake +4 -4
  254. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CompilerIdC/CMakeCCompilerId.c +135 -37
  255. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CompilerIdC/a.out +0 -0
  256. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.8.0 → 3.15.5}/CompilerIdCXX/CMakeCXXCompilerId.cpp +143 -38
  257. data/ext/mathematical/mtex2MML/build/CMakeFiles/{3.7.2 → 3.15.5}/CompilerIdCXX/a.out +0 -0
  258. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake +3 -3
  259. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log +250 -939
  260. data/ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt +33 -33
  261. data/ext/mathematical/mtex2MML/build/CMakeFiles/Continuous.dir/build.make +7 -7
  262. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousBuild.dir/build.make +7 -7
  263. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousConfigure.dir/build.make +7 -7
  264. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousCoverage.dir/build.make +7 -7
  265. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousMemCheck.dir/build.make +7 -7
  266. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousStart.dir/build.make +7 -7
  267. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousSubmit.dir/build.make +7 -7
  268. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousTest.dir/build.make +7 -7
  269. data/ext/mathematical/mtex2MML/build/CMakeFiles/ContinuousUpdate.dir/build.make +7 -7
  270. data/ext/mathematical/mtex2MML/build/CMakeFiles/Experimental.dir/build.make +7 -7
  271. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalBuild.dir/build.make +7 -7
  272. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalConfigure.dir/build.make +7 -7
  273. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalCoverage.dir/build.make +7 -7
  274. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalMemCheck.dir/build.make +7 -7
  275. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalStart.dir/build.make +7 -7
  276. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalSubmit.dir/build.make +7 -7
  277. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalTest.dir/build.make +7 -7
  278. data/ext/mathematical/mtex2MML/build/CMakeFiles/ExperimentalUpdate.dir/build.make +7 -7
  279. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile.cmake +113 -109
  280. data/ext/mathematical/mtex2MML/build/CMakeFiles/Makefile2 +149 -278
  281. data/ext/mathematical/mtex2MML/build/CMakeFiles/Nightly.dir/build.make +7 -7
  282. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyBuild.dir/build.make +7 -7
  283. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyConfigure.dir/build.make +7 -7
  284. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyCoverage.dir/build.make +7 -7
  285. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemCheck.dir/build.make +7 -7
  286. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyMemoryCheck.dir/build.make +7 -7
  287. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyStart.dir/build.make +7 -7
  288. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlySubmit.dir/build.make +7 -7
  289. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyTest.dir/build.make +7 -7
  290. data/ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/build.make +7 -7
  291. data/ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt +41 -41
  292. data/ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make +7 -7
  293. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/DependInfo.cmake +11 -10
  294. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/build.make +39 -126
  295. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/cmake_clean.cmake +6 -6
  296. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/flags.make +5 -5
  297. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML.dir/link.txt +1 -1
  298. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/C.includecache +42 -42
  299. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/DependInfo.cmake +9 -9
  300. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/build.make +39 -126
  301. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/cmake_clean.cmake +6 -6
  302. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.internal +25 -25
  303. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/depend.make +1 -1
  304. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/flags.make +5 -5
  305. data/ext/mathematical/mtex2MML/build/CMakeFiles/libmtex2MML_static.dir/link.txt +2 -2
  306. data/ext/mathematical/mtex2MML/build/CMakeFiles/memcheck.dir/build.make +6 -6
  307. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/DependInfo.cmake +10 -10
  308. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/build.make +43 -142
  309. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/cmake_clean.cmake +7 -7
  310. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/flags.make +5 -5
  311. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML.dir/link.txt +1 -1
  312. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/DependInfo.cmake +26 -26
  313. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/build.make +113 -404
  314. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/cmake_clean.cmake +11 -11
  315. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/flags.make +5 -5
  316. data/ext/mathematical/mtex2MML/build/CMakeFiles/mtex2MML_clar.dir/link.txt +1 -1
  317. data/ext/mathematical/mtex2MML/build/CTestTestfile.cmake +3 -2
  318. data/ext/mathematical/mtex2MML/build/DartConfiguration.tcl +11 -18
  319. data/ext/mathematical/mtex2MML/build/Makefile +18 -18
  320. data/ext/mathematical/mtex2MML/build/cmake_install.cmake +63 -4
  321. data/ext/mathematical/mtex2MML/build/lexer.c +4104 -4048
  322. data/ext/mathematical/mtex2MML/build/libmtex2MML.a +0 -0
  323. data/ext/mathematical/mtex2MML/build/libmtex2MML.pc +1 -1
  324. data/ext/mathematical/mtex2MML/build/mtex2mml_export.h +1 -1
  325. data/ext/mathematical/mtex2MML/build/parser.c +3137 -3123
  326. data/ext/mathematical/mtex2MML/build/parser.h +32 -32
  327. data/ext/mathematical/mtex2MML/build/parser.output +13641 -12859
  328. data/lib/mathematical/version.rb +1 -1
  329. data/mathematical.gemspec +2 -3
  330. data/test/test_helper.rb +4 -1
  331. metadata +18 -44
  332. data/ext/mathematical/FindPackageHandleStandardArgs.cmake +0 -58
  333. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCCompiler.cmake +0 -68
  334. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCXXCompiler.cmake +0 -69
  335. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin +0 -0
  336. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c +0 -561
  337. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdCXX/CMakeCXXCompilerId.cpp +0 -533
  338. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_CXX.bin +0 -0
  339. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeSystem.cmake +0 -15
  340. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdC/a.out +0 -0
  341. data/ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdCXX/a.out +0 -0
  342. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.bin +0 -0
  343. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.c +0 -34
  344. data/ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.cxx +0 -405
@@ -1,3 +1,3 @@
1
1
  class Mathematical
2
- VERSION = '1.6.12'.freeze
2
+ VERSION = '1.6.13'.freeze
3
3
  end
@@ -22,11 +22,10 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_dependency 'ruby-enum', '~> 0.4'
24
24
 
25
- spec.add_development_dependency 'rake', '~> 0.9'
25
+ spec.add_development_dependency 'rake', '~> 13.0'
26
26
  spec.add_development_dependency 'rake-compiler', '~> 1.0'
27
- spec.add_development_dependency 'bundler', '~> 1.2'
28
27
  spec.add_development_dependency 'minitest', '~> 5.6'
29
28
  spec.add_development_dependency 'math-to-itex', '~> 0.3'
30
- spec.add_development_dependency 'nokogiri', '~> 1.6'
29
+ spec.add_development_dependency 'nokogiri', '~> 1.10'
31
30
  spec.add_development_dependency 'pry-byebug', '~> 3.4.0'
32
31
  end
@@ -4,13 +4,16 @@ require 'minitest/autorun'
4
4
  require 'minitest/pride'
5
5
  require 'math-to-itex'
6
6
  require 'pp'
7
- require 'pry-byebug'
8
7
 
9
8
  MTEX2MML_FIXTURES_DIR = File.join('ext', 'mathematical', 'mtex2MML', 'tests', 'fixtures')
10
9
  MATHJAX_TEST_DIR = File.join(MTEX2MML_FIXTURES_DIR, 'MathJax')
11
10
  MATHJAX_TEX_DIR = File.join(MATHJAX_TEST_DIR, 'LaTeXToMathML-tex')
12
11
  TRAVIS_MACOS = ENV['TRAVIS'] && ENV['TRAVIS_OS_NAME'] == 'osx'
13
12
 
13
+ if !TRAVIS_MACOS
14
+ require 'pry-byebug'
15
+ end
16
+
14
17
  def fixtures_dir
15
18
  'test/mathematical/fixtures'
16
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mathematical
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.12
4
+ version: 1.6.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-09-04 00:00:00.000000000 Z
11
+ date: 2019-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-enum
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.9'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0.9'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake-compiler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.0'
55
- - !ruby/object:Gem::Dependency
56
- name: bundler
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1.2'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1.2'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: minitest
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -100,14 +86,14 @@ dependencies:
100
86
  requirements:
101
87
  - - "~>"
102
88
  - !ruby/object:Gem::Version
103
- version: '1.6'
89
+ version: '1.10'
104
90
  type: :development
105
91
  prerelease: false
106
92
  version_requirements: !ruby/object:Gem::Requirement
107
93
  requirements:
108
94
  - - "~>"
109
95
  - !ruby/object:Gem::Version
110
- version: '1.6'
96
+ version: '1.10'
111
97
  - !ruby/object:Gem::Dependency
112
98
  name: pry-byebug
113
99
  requirement: !ruby/object:Gem::Requirement
@@ -137,7 +123,6 @@ files:
137
123
  - Rakefile
138
124
  - ext/README.md
139
125
  - ext/mathematical/CMakeLists.txt
140
- - ext/mathematical/FindPackageHandleStandardArgs.cmake
141
126
  - ext/mathematical/cairo_callbacks.c
142
127
  - ext/mathematical/cairo_callbacks.h
143
128
  - ext/mathematical/extconf.rb
@@ -176,6 +161,7 @@ files:
176
161
  - ext/mathematical/lasem/po/POTFILES.skip
177
162
  - ext/mathematical/lasem/po/bs.po
178
163
  - ext/mathematical/lasem/po/cs.po
164
+ - ext/mathematical/lasem/po/da.po
179
165
  - ext/mathematical/lasem/po/de.po
180
166
  - ext/mathematical/lasem/po/el.po
181
167
  - ext/mathematical/lasem/po/es.po
@@ -194,6 +180,7 @@ files:
194
180
  - ext/mathematical/lasem/po/pl.po
195
181
  - ext/mathematical/lasem/po/pt.po
196
182
  - ext/mathematical/lasem/po/pt_BR.po
183
+ - ext/mathematical/lasem/po/ro.po
197
184
  - ext/mathematical/lasem/po/ru.po
198
185
  - ext/mathematical/lasem/po/sl.po
199
186
  - ext/mathematical/lasem/po/sr.po
@@ -572,24 +559,15 @@ files:
572
559
  - ext/mathematical/mtex2MML/SUPPORTED.md
573
560
  - ext/mathematical/mtex2MML/appveyor.yml
574
561
  - ext/mathematical/mtex2MML/build/CMakeCache.txt
575
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCCompiler.cmake
576
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeCXXCompiler.cmake
577
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_C.bin
578
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeDetermineCompilerABI_CXX.bin
579
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CMakeSystem.cmake
580
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdC/CMakeCCompilerId.c
581
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdC/a.out
582
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
583
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.7.2/CompilerIdCXX/a.out
584
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeCCompiler.cmake
585
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeCXXCompiler.cmake
586
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_C.bin
587
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeDetermineCompilerABI_CXX.bin
588
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CMakeSystem.cmake
589
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdC/CMakeCCompilerId.c
590
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdC/a.out
591
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdCXX/CMakeCXXCompilerId.cpp
592
- - ext/mathematical/mtex2MML/build/CMakeFiles/3.8.0/CompilerIdCXX/a.out
562
+ - ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CMakeCCompiler.cmake
563
+ - ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CMakeCXXCompiler.cmake
564
+ - ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CMakeDetermineCompilerABI_C.bin
565
+ - ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CMakeDetermineCompilerABI_CXX.bin
566
+ - ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CMakeSystem.cmake
567
+ - ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CompilerIdC/CMakeCCompilerId.c
568
+ - ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CompilerIdC/a.out
569
+ - ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CompilerIdCXX/CMakeCXXCompilerId.cpp
570
+ - ext/mathematical/mtex2MML/build/CMakeFiles/3.15.5/CompilerIdCXX/a.out
593
571
  - ext/mathematical/mtex2MML/build/CMakeFiles/CMakeDirectoryInformation.cmake
594
572
  - ext/mathematical/mtex2MML/build/CMakeFiles/CMakeOutput.log
595
573
  - ext/mathematical/mtex2MML/build/CMakeFiles/CMakeRuleHashes.txt
@@ -709,9 +687,6 @@ files:
709
687
  - ext/mathematical/mtex2MML/build/CMakeFiles/NightlyUpdate.dir/progress.make
710
688
  - ext/mathematical/mtex2MML/build/CMakeFiles/TargetDirectories.txt
711
689
  - ext/mathematical/mtex2MML/build/CMakeFiles/cmake.check_cache
712
- - ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.bin
713
- - ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.c
714
- - ext/mathematical/mtex2MML/build/CMakeFiles/feature_tests.cxx
715
690
  - ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/DependInfo.cmake
716
691
  - ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/build.make
717
692
  - ext/mathematical/mtex2MML/build/CMakeFiles/format.dir/cmake_clean.cmake
@@ -1593,8 +1568,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1593
1568
  - !ruby/object:Gem::Version
1594
1569
  version: '0'
1595
1570
  requirements: []
1596
- rubyforge_project:
1597
- rubygems_version: 2.6.12
1571
+ rubygems_version: 3.0.6
1598
1572
  signing_key:
1599
1573
  specification_version: 4
1600
1574
  summary: Quickly convert math equations into beautiful SVGs/PNGs/MathML.
@@ -1,58 +0,0 @@
1
- # FIND_PACKAGE_HANDLE_STANDARD_ARGS(NAME (DEFAULT_MSG|"Custom failure message") VAR1 ... )
2
- # This macro is intended to be used in FindXXX.cmake modules files.
3
- # It handles the REQUIRED and QUIET argument to FIND_PACKAGE() and
4
- # it also sets the <UPPERCASED_NAME>_FOUND variable.
5
- # The package is found if all variables listed are TRUE.
6
- # Example:
7
- #
8
- # FIND_PACKAGE_HANDLE_STANDARD_ARGS(LibXml2 DEFAULT_MSG LIBXML2_LIBRARIES LIBXML2_INCLUDE_DIR)
9
- #
10
- # LibXml2 is considered to be found, if both LIBXML2_LIBRARIES and
11
- # LIBXML2_INCLUDE_DIR are valid. Then also LIBXML2_FOUND is set to TRUE.
12
- # If it is not found and REQUIRED was used, it fails with FATAL_ERROR,
13
- # independent whether QUIET was used or not.
14
- # If it is found, the location is reported using the VAR1 argument, so
15
- # here a message "Found LibXml2: /usr/lib/libxml2.so" will be printed out.
16
- # If the second argument is DEFAULT_MSG, the message in the failure case will
17
- # be "Could NOT find LibXml2", if you don't like this message you can specify
18
- # your own custom failure message there.
19
-
20
- MACRO(FIND_PACKAGE_HANDLE_STANDARD_ARGS _NAME _FAIL_MSG _VAR1 )
21
-
22
- IF("${_FAIL_MSG}" STREQUAL "DEFAULT_MSG")
23
- IF (${_NAME}_FIND_REQUIRED)
24
- SET(_FAIL_MESSAGE "Could not find REQUIRED package ${_NAME}")
25
- ELSE (${_NAME}_FIND_REQUIRED)
26
- SET(_FAIL_MESSAGE "Could not find OPTIONAL package ${_NAME}")
27
- ENDIF (${_NAME}_FIND_REQUIRED)
28
- ELSE("${_FAIL_MSG}" STREQUAL "DEFAULT_MSG")
29
- SET(_FAIL_MESSAGE "${_FAIL_MSG}")
30
- ENDIF("${_FAIL_MSG}" STREQUAL "DEFAULT_MSG")
31
-
32
- STRING(TOUPPER ${_NAME} _NAME_UPPER)
33
-
34
- SET(${_NAME_UPPER}_FOUND TRUE)
35
- IF(NOT ${_VAR1})
36
- SET(${_NAME_UPPER}_FOUND FALSE)
37
- ENDIF(NOT ${_VAR1})
38
-
39
- FOREACH(_CURRENT_VAR ${ARGN})
40
- IF(NOT ${_CURRENT_VAR})
41
- SET(${_NAME_UPPER}_FOUND FALSE)
42
- ENDIF(NOT ${_CURRENT_VAR})
43
- ENDFOREACH(_CURRENT_VAR)
44
-
45
- IF (${_NAME_UPPER}_FOUND)
46
- IF (NOT ${_NAME}_FIND_QUIETLY)
47
- MESSAGE(STATUS "Found ${_NAME}: ${${_VAR1}}")
48
- ENDIF (NOT ${_NAME}_FIND_QUIETLY)
49
- ELSE (${_NAME_UPPER}_FOUND)
50
- IF (${_NAME}_FIND_REQUIRED)
51
- MESSAGE(FATAL_ERROR "${_FAIL_MESSAGE}")
52
- ELSE (${_NAME}_FIND_REQUIRED)
53
- IF (NOT ${_NAME}_FIND_QUIETLY)
54
- MESSAGE(STATUS "${_FAIL_MESSAGE}")
55
- ENDIF (NOT ${_NAME}_FIND_QUIETLY)
56
- ENDIF (${_NAME}_FIND_REQUIRED)
57
- ENDIF (${_NAME_UPPER}_FOUND)
58
- ENDMACRO(FIND_PACKAGE_HANDLE_STANDARD_ARGS)
@@ -1,68 +0,0 @@
1
- set(CMAKE_C_COMPILER "/Library/Developer/CommandLineTools/usr/bin/cc")
2
- set(CMAKE_C_COMPILER_ARG1 "")
3
- set(CMAKE_C_COMPILER_ID "AppleClang")
4
- set(CMAKE_C_COMPILER_VERSION "8.0.0.8000042")
5
- set(CMAKE_C_COMPILER_WRAPPER "")
6
- set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
7
- set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert")
8
- set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes")
9
- set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros")
10
- set(CMAKE_C11_COMPILE_FEATURES "c_static_assert")
11
-
12
- set(CMAKE_C_PLATFORM_ID "Darwin")
13
- set(CMAKE_C_SIMULATE_ID "")
14
- set(CMAKE_C_SIMULATE_VERSION "")
15
-
16
- set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar")
17
- set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib")
18
- set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld")
19
- set(CMAKE_COMPILER_IS_GNUCC )
20
- set(CMAKE_C_COMPILER_LOADED 1)
21
- set(CMAKE_C_COMPILER_WORKS TRUE)
22
- set(CMAKE_C_ABI_COMPILED TRUE)
23
- set(CMAKE_COMPILER_IS_MINGW )
24
- set(CMAKE_COMPILER_IS_CYGWIN )
25
- if(CMAKE_COMPILER_IS_CYGWIN)
26
- set(CYGWIN 1)
27
- set(UNIX 1)
28
- endif()
29
-
30
- set(CMAKE_C_COMPILER_ENV_VAR "CC")
31
-
32
- if(CMAKE_COMPILER_IS_MINGW)
33
- set(MINGW 1)
34
- endif()
35
- set(CMAKE_C_COMPILER_ID_RUN 1)
36
- set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
37
- set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
38
- set(CMAKE_C_LINKER_PREFERENCE 10)
39
-
40
- # Save compiler ABI information.
41
- set(CMAKE_C_SIZEOF_DATA_PTR "8")
42
- set(CMAKE_C_COMPILER_ABI "")
43
- set(CMAKE_C_LIBRARY_ARCHITECTURE "")
44
-
45
- if(CMAKE_C_SIZEOF_DATA_PTR)
46
- set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
47
- endif()
48
-
49
- if(CMAKE_C_COMPILER_ABI)
50
- set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
51
- endif()
52
-
53
- if(CMAKE_C_LIBRARY_ARCHITECTURE)
54
- set(CMAKE_LIBRARY_ARCHITECTURE "")
55
- endif()
56
-
57
- set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
58
- if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
59
- set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
60
- endif()
61
-
62
-
63
-
64
-
65
-
66
- set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
67
- set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib;/usr/local/lib")
68
- set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Frameworks;/System/Library/Frameworks")
@@ -1,69 +0,0 @@
1
- set(CMAKE_CXX_COMPILER "/Library/Developer/CommandLineTools/usr/bin/c++")
2
- set(CMAKE_CXX_COMPILER_ARG1 "")
3
- set(CMAKE_CXX_COMPILER_ID "AppleClang")
4
- set(CMAKE_CXX_COMPILER_VERSION "8.0.0.8000042")
5
- set(CMAKE_CXX_COMPILER_WRAPPER "")
6
- set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98")
7
- set(CMAKE_CXX_COMPILE_FEATURES "cxx_template_template_parameters;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
8
- set(CMAKE_CXX98_COMPILE_FEATURES "cxx_template_template_parameters")
9
- set(CMAKE_CXX11_COMPILE_FEATURES "cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
10
- set(CMAKE_CXX14_COMPILE_FEATURES "cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
11
-
12
- set(CMAKE_CXX_PLATFORM_ID "Darwin")
13
- set(CMAKE_CXX_SIMULATE_ID "")
14
- set(CMAKE_CXX_SIMULATE_VERSION "")
15
-
16
- set(CMAKE_AR "/Library/Developer/CommandLineTools/usr/bin/ar")
17
- set(CMAKE_RANLIB "/Library/Developer/CommandLineTools/usr/bin/ranlib")
18
- set(CMAKE_LINKER "/Library/Developer/CommandLineTools/usr/bin/ld")
19
- set(CMAKE_COMPILER_IS_GNUCXX )
20
- set(CMAKE_CXX_COMPILER_LOADED 1)
21
- set(CMAKE_CXX_COMPILER_WORKS TRUE)
22
- set(CMAKE_CXX_ABI_COMPILED TRUE)
23
- set(CMAKE_COMPILER_IS_MINGW )
24
- set(CMAKE_COMPILER_IS_CYGWIN )
25
- if(CMAKE_COMPILER_IS_CYGWIN)
26
- set(CYGWIN 1)
27
- set(UNIX 1)
28
- endif()
29
-
30
- set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
31
-
32
- if(CMAKE_COMPILER_IS_MINGW)
33
- set(MINGW 1)
34
- endif()
35
- set(CMAKE_CXX_COMPILER_ID_RUN 1)
36
- set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
37
- set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
38
- set(CMAKE_CXX_LINKER_PREFERENCE 30)
39
- set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
40
-
41
- # Save compiler ABI information.
42
- set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
43
- set(CMAKE_CXX_COMPILER_ABI "")
44
- set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
45
-
46
- if(CMAKE_CXX_SIZEOF_DATA_PTR)
47
- set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
48
- endif()
49
-
50
- if(CMAKE_CXX_COMPILER_ABI)
51
- set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
52
- endif()
53
-
54
- if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
55
- set(CMAKE_LIBRARY_ARCHITECTURE "")
56
- endif()
57
-
58
- set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
59
- if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
60
- set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
61
- endif()
62
-
63
-
64
-
65
-
66
-
67
- set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "c++")
68
- set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib;/usr/local/lib")
69
- set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Frameworks;/System/Library/Frameworks")
@@ -1,561 +0,0 @@
1
- #ifdef __cplusplus
2
- # error "A C++ compiler has been selected for C."
3
- #endif
4
-
5
- #if defined(__18CXX)
6
- # define ID_VOID_MAIN
7
- #endif
8
- #if defined(__CLASSIC_C__)
9
- /* cv-qualifiers did not exist in K&R C */
10
- # define const
11
- # define volatile
12
- #endif
13
-
14
-
15
- /* Version number components: V=Version, R=Revision, P=Patch
16
- Version date components: YYYY=Year, MM=Month, DD=Day */
17
-
18
- #if defined(__INTEL_COMPILER) || defined(__ICC)
19
- # define COMPILER_ID "Intel"
20
- # if defined(_MSC_VER)
21
- # define SIMULATE_ID "MSVC"
22
- # endif
23
- /* __INTEL_COMPILER = VRP */
24
- # define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
25
- # define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
26
- # if defined(__INTEL_COMPILER_UPDATE)
27
- # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
28
- # else
29
- # define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
30
- # endif
31
- # if defined(__INTEL_COMPILER_BUILD_DATE)
32
- /* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
33
- # define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
34
- # endif
35
- # if defined(_MSC_VER)
36
- /* _MSC_VER = VVRR */
37
- # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
38
- # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
39
- # endif
40
-
41
- #elif defined(__PATHCC__)
42
- # define COMPILER_ID "PathScale"
43
- # define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
44
- # define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
45
- # if defined(__PATHCC_PATCHLEVEL__)
46
- # define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
47
- # endif
48
-
49
- #elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
50
- # define COMPILER_ID "Embarcadero"
51
- # define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
52
- # define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
53
- # define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
54
-
55
- #elif defined(__BORLANDC__)
56
- # define COMPILER_ID "Borland"
57
- /* __BORLANDC__ = 0xVRR */
58
- # define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
59
- # define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
60
-
61
- #elif defined(__WATCOMC__) && __WATCOMC__ < 1200
62
- # define COMPILER_ID "Watcom"
63
- /* __WATCOMC__ = VVRR */
64
- # define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
65
- # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
66
- # if (__WATCOMC__ % 10) > 0
67
- # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
68
- # endif
69
-
70
- #elif defined(__WATCOMC__)
71
- # define COMPILER_ID "OpenWatcom"
72
- /* __WATCOMC__ = VVRP + 1100 */
73
- # define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
74
- # define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
75
- # if (__WATCOMC__ % 10) > 0
76
- # define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
77
- # endif
78
-
79
- #elif defined(__SUNPRO_C)
80
- # define COMPILER_ID "SunPro"
81
- # if __SUNPRO_C >= 0x5100
82
- /* __SUNPRO_C = 0xVRRP */
83
- # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
84
- # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
85
- # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
86
- # else
87
- /* __SUNPRO_CC = 0xVRP */
88
- # define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
89
- # define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
90
- # define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
91
- # endif
92
-
93
- #elif defined(__HP_cc)
94
- # define COMPILER_ID "HP"
95
- /* __HP_cc = VVRRPP */
96
- # define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
97
- # define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
98
- # define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
99
-
100
- #elif defined(__DECC)
101
- # define COMPILER_ID "Compaq"
102
- /* __DECC_VER = VVRRTPPPP */
103
- # define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
104
- # define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
105
- # define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
106
-
107
- #elif defined(__IBMC__) && defined(__COMPILER_VER__)
108
- # define COMPILER_ID "zOS"
109
- /* __IBMC__ = VRP */
110
- # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
111
- # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
112
- # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
113
-
114
- #elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
115
- # define COMPILER_ID "XL"
116
- /* __IBMC__ = VRP */
117
- # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
118
- # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
119
- # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
120
-
121
- #elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
122
- # define COMPILER_ID "VisualAge"
123
- /* __IBMC__ = VRP */
124
- # define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
125
- # define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
126
- # define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
127
-
128
- #elif defined(__PGI)
129
- # define COMPILER_ID "PGI"
130
- # define COMPILER_VERSION_MAJOR DEC(__PGIC__)
131
- # define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
132
- # if defined(__PGIC_PATCHLEVEL__)
133
- # define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
134
- # endif
135
-
136
- #elif defined(_CRAYC)
137
- # define COMPILER_ID "Cray"
138
- # define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
139
- # define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
140
-
141
- #elif defined(__TI_COMPILER_VERSION__)
142
- # define COMPILER_ID "TI"
143
- /* __TI_COMPILER_VERSION__ = VVVRRRPPP */
144
- # define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
145
- # define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
146
- # define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
147
-
148
- #elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
149
- # define COMPILER_ID "Fujitsu"
150
-
151
- #elif defined(__TINYC__)
152
- # define COMPILER_ID "TinyCC"
153
-
154
- #elif defined(__BCC__)
155
- # define COMPILER_ID "Bruce"
156
-
157
- #elif defined(__SCO_VERSION__)
158
- # define COMPILER_ID "SCO"
159
-
160
- #elif defined(__clang__) && defined(__apple_build_version__)
161
- # define COMPILER_ID "AppleClang"
162
- # if defined(_MSC_VER)
163
- # define SIMULATE_ID "MSVC"
164
- # endif
165
- # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
166
- # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
167
- # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
168
- # if defined(_MSC_VER)
169
- /* _MSC_VER = VVRR */
170
- # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
171
- # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
172
- # endif
173
- # define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
174
-
175
- #elif defined(__clang__)
176
- # define COMPILER_ID "Clang"
177
- # if defined(_MSC_VER)
178
- # define SIMULATE_ID "MSVC"
179
- # endif
180
- # define COMPILER_VERSION_MAJOR DEC(__clang_major__)
181
- # define COMPILER_VERSION_MINOR DEC(__clang_minor__)
182
- # define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
183
- # if defined(_MSC_VER)
184
- /* _MSC_VER = VVRR */
185
- # define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
186
- # define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
187
- # endif
188
-
189
- #elif defined(__GNUC__)
190
- # define COMPILER_ID "GNU"
191
- # define COMPILER_VERSION_MAJOR DEC(__GNUC__)
192
- # if defined(__GNUC_MINOR__)
193
- # define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
194
- # endif
195
- # if defined(__GNUC_PATCHLEVEL__)
196
- # define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
197
- # endif
198
-
199
- #elif defined(_MSC_VER)
200
- # define COMPILER_ID "MSVC"
201
- /* _MSC_VER = VVRR */
202
- # define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
203
- # define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
204
- # if defined(_MSC_FULL_VER)
205
- # if _MSC_VER >= 1400
206
- /* _MSC_FULL_VER = VVRRPPPPP */
207
- # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
208
- # else
209
- /* _MSC_FULL_VER = VVRRPPPP */
210
- # define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
211
- # endif
212
- # endif
213
- # if defined(_MSC_BUILD)
214
- # define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
215
- # endif
216
-
217
- #elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
218
- # define COMPILER_ID "ADSP"
219
- #if defined(__VISUALDSPVERSION__)
220
- /* __VISUALDSPVERSION__ = 0xVVRRPP00 */
221
- # define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
222
- # define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
223
- # define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
224
- #endif
225
-
226
- #elif defined(__IAR_SYSTEMS_ICC__ ) || defined(__IAR_SYSTEMS_ICC)
227
- # define COMPILER_ID "IAR"
228
-
229
- #elif defined(__ARMCC_VERSION)
230
- # define COMPILER_ID "ARMCC"
231
- #if __ARMCC_VERSION >= 1000000
232
- /* __ARMCC_VERSION = VRRPPPP */
233
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
234
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
235
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
236
- #else
237
- /* __ARMCC_VERSION = VRPPPP */
238
- # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
239
- # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
240
- # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
241
- #endif
242
-
243
-
244
- #elif defined(SDCC)
245
- # define COMPILER_ID "SDCC"
246
- /* SDCC = VRP */
247
- # define COMPILER_VERSION_MAJOR DEC(SDCC/100)
248
- # define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
249
- # define COMPILER_VERSION_PATCH DEC(SDCC % 10)
250
-
251
- #elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
252
- # define COMPILER_ID "MIPSpro"
253
- # if defined(_SGI_COMPILER_VERSION)
254
- /* _SGI_COMPILER_VERSION = VRP */
255
- # define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
256
- # define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
257
- # define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
258
- # else
259
- /* _COMPILER_VERSION = VRP */
260
- # define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
261
- # define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
262
- # define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10)
263
- # endif
264
-
265
-
266
- /* These compilers are either not known or too old to define an
267
- identification macro. Try to identify the platform and guess that
268
- it is the native compiler. */
269
- #elif defined(__sgi)
270
- # define COMPILER_ID "MIPSpro"
271
-
272
- #elif defined(__hpux) || defined(__hpua)
273
- # define COMPILER_ID "HP"
274
-
275
- #else /* unknown compiler */
276
- # define COMPILER_ID ""
277
- #endif
278
-
279
- /* Construct the string literal in pieces to prevent the source from
280
- getting matched. Store it in a pointer rather than an array
281
- because some compilers will just produce instructions to fill the
282
- array rather than assigning a pointer to a static array. */
283
- char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
284
- #ifdef SIMULATE_ID
285
- char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
286
- #endif
287
-
288
- #ifdef __QNXNTO__
289
- char const* qnxnto = "INFO" ":" "qnxnto[]";
290
- #endif
291
-
292
- #if defined(__CRAYXE) || defined(__CRAYXC)
293
- char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
294
- #endif
295
-
296
- #define STRINGIFY_HELPER(X) #X
297
- #define STRINGIFY(X) STRINGIFY_HELPER(X)
298
-
299
- /* Identify known platforms by name. */
300
- #if defined(__linux) || defined(__linux__) || defined(linux)
301
- # define PLATFORM_ID "Linux"
302
-
303
- #elif defined(__CYGWIN__)
304
- # define PLATFORM_ID "Cygwin"
305
-
306
- #elif defined(__MINGW32__)
307
- # define PLATFORM_ID "MinGW"
308
-
309
- #elif defined(__APPLE__)
310
- # define PLATFORM_ID "Darwin"
311
-
312
- #elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
313
- # define PLATFORM_ID "Windows"
314
-
315
- #elif defined(__FreeBSD__) || defined(__FreeBSD)
316
- # define PLATFORM_ID "FreeBSD"
317
-
318
- #elif defined(__NetBSD__) || defined(__NetBSD)
319
- # define PLATFORM_ID "NetBSD"
320
-
321
- #elif defined(__OpenBSD__) || defined(__OPENBSD)
322
- # define PLATFORM_ID "OpenBSD"
323
-
324
- #elif defined(__sun) || defined(sun)
325
- # define PLATFORM_ID "SunOS"
326
-
327
- #elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
328
- # define PLATFORM_ID "AIX"
329
-
330
- #elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
331
- # define PLATFORM_ID "IRIX"
332
-
333
- #elif defined(__hpux) || defined(__hpux__)
334
- # define PLATFORM_ID "HP-UX"
335
-
336
- #elif defined(__HAIKU__)
337
- # define PLATFORM_ID "Haiku"
338
-
339
- #elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
340
- # define PLATFORM_ID "BeOS"
341
-
342
- #elif defined(__QNX__) || defined(__QNXNTO__)
343
- # define PLATFORM_ID "QNX"
344
-
345
- #elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
346
- # define PLATFORM_ID "Tru64"
347
-
348
- #elif defined(__riscos) || defined(__riscos__)
349
- # define PLATFORM_ID "RISCos"
350
-
351
- #elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
352
- # define PLATFORM_ID "SINIX"
353
-
354
- #elif defined(__UNIX_SV__)
355
- # define PLATFORM_ID "UNIX_SV"
356
-
357
- #elif defined(__bsdos__)
358
- # define PLATFORM_ID "BSDOS"
359
-
360
- #elif defined(_MPRAS) || defined(MPRAS)
361
- # define PLATFORM_ID "MP-RAS"
362
-
363
- #elif defined(__osf) || defined(__osf__)
364
- # define PLATFORM_ID "OSF1"
365
-
366
- #elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
367
- # define PLATFORM_ID "SCO_SV"
368
-
369
- #elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
370
- # define PLATFORM_ID "ULTRIX"
371
-
372
- #elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
373
- # define PLATFORM_ID "Xenix"
374
-
375
- #elif defined(__WATCOMC__)
376
- # if defined(__LINUX__)
377
- # define PLATFORM_ID "Linux"
378
-
379
- # elif defined(__DOS__)
380
- # define PLATFORM_ID "DOS"
381
-
382
- # elif defined(__OS2__)
383
- # define PLATFORM_ID "OS2"
384
-
385
- # elif defined(__WINDOWS__)
386
- # define PLATFORM_ID "Windows3x"
387
-
388
- # else /* unknown platform */
389
- # define PLATFORM_ID
390
- # endif
391
-
392
- #else /* unknown platform */
393
- # define PLATFORM_ID
394
-
395
- #endif
396
-
397
- /* For windows compilers MSVC and Intel we can determine
398
- the architecture of the compiler being used. This is because
399
- the compilers do not have flags that can change the architecture,
400
- but rather depend on which compiler is being used
401
- */
402
- #if defined(_WIN32) && defined(_MSC_VER)
403
- # if defined(_M_IA64)
404
- # define ARCHITECTURE_ID "IA64"
405
-
406
- # elif defined(_M_X64) || defined(_M_AMD64)
407
- # define ARCHITECTURE_ID "x64"
408
-
409
- # elif defined(_M_IX86)
410
- # define ARCHITECTURE_ID "X86"
411
-
412
- # elif defined(_M_ARM)
413
- # if _M_ARM == 4
414
- # define ARCHITECTURE_ID "ARMV4I"
415
- # elif _M_ARM == 5
416
- # define ARCHITECTURE_ID "ARMV5I"
417
- # else
418
- # define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
419
- # endif
420
-
421
- # elif defined(_M_MIPS)
422
- # define ARCHITECTURE_ID "MIPS"
423
-
424
- # elif defined(_M_SH)
425
- # define ARCHITECTURE_ID "SHx"
426
-
427
- # else /* unknown architecture */
428
- # define ARCHITECTURE_ID ""
429
- # endif
430
-
431
- #elif defined(__WATCOMC__)
432
- # if defined(_M_I86)
433
- # define ARCHITECTURE_ID "I86"
434
-
435
- # elif defined(_M_IX86)
436
- # define ARCHITECTURE_ID "X86"
437
-
438
- # else /* unknown architecture */
439
- # define ARCHITECTURE_ID ""
440
- # endif
441
-
442
- #else
443
- # define ARCHITECTURE_ID
444
- #endif
445
-
446
- /* Convert integer to decimal digit literals. */
447
- #define DEC(n) \
448
- ('0' + (((n) / 10000000)%10)), \
449
- ('0' + (((n) / 1000000)%10)), \
450
- ('0' + (((n) / 100000)%10)), \
451
- ('0' + (((n) / 10000)%10)), \
452
- ('0' + (((n) / 1000)%10)), \
453
- ('0' + (((n) / 100)%10)), \
454
- ('0' + (((n) / 10)%10)), \
455
- ('0' + ((n) % 10))
456
-
457
- /* Convert integer to hex digit literals. */
458
- #define HEX(n) \
459
- ('0' + ((n)>>28 & 0xF)), \
460
- ('0' + ((n)>>24 & 0xF)), \
461
- ('0' + ((n)>>20 & 0xF)), \
462
- ('0' + ((n)>>16 & 0xF)), \
463
- ('0' + ((n)>>12 & 0xF)), \
464
- ('0' + ((n)>>8 & 0xF)), \
465
- ('0' + ((n)>>4 & 0xF)), \
466
- ('0' + ((n) & 0xF))
467
-
468
- /* Construct a string literal encoding the version number components. */
469
- #ifdef COMPILER_VERSION_MAJOR
470
- char const info_version[] = {
471
- 'I', 'N', 'F', 'O', ':',
472
- 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
473
- COMPILER_VERSION_MAJOR,
474
- # ifdef COMPILER_VERSION_MINOR
475
- '.', COMPILER_VERSION_MINOR,
476
- # ifdef COMPILER_VERSION_PATCH
477
- '.', COMPILER_VERSION_PATCH,
478
- # ifdef COMPILER_VERSION_TWEAK
479
- '.', COMPILER_VERSION_TWEAK,
480
- # endif
481
- # endif
482
- # endif
483
- ']','\0'};
484
- #endif
485
-
486
- /* Construct a string literal encoding the version number components. */
487
- #ifdef SIMULATE_VERSION_MAJOR
488
- char const info_simulate_version[] = {
489
- 'I', 'N', 'F', 'O', ':',
490
- 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
491
- SIMULATE_VERSION_MAJOR,
492
- # ifdef SIMULATE_VERSION_MINOR
493
- '.', SIMULATE_VERSION_MINOR,
494
- # ifdef SIMULATE_VERSION_PATCH
495
- '.', SIMULATE_VERSION_PATCH,
496
- # ifdef SIMULATE_VERSION_TWEAK
497
- '.', SIMULATE_VERSION_TWEAK,
498
- # endif
499
- # endif
500
- # endif
501
- ']','\0'};
502
- #endif
503
-
504
- /* Construct the string literal in pieces to prevent the source from
505
- getting matched. Store it in a pointer rather than an array
506
- because some compilers will just produce instructions to fill the
507
- array rather than assigning a pointer to a static array. */
508
- char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
509
- char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
510
-
511
-
512
-
513
-
514
- #if !defined(__STDC__)
515
- # if defined(_MSC_VER) && !defined(__clang__)
516
- # define C_DIALECT "90"
517
- # else
518
- # define C_DIALECT
519
- # endif
520
- #elif __STDC_VERSION__ >= 201000L
521
- # define C_DIALECT "11"
522
- #elif __STDC_VERSION__ >= 199901L
523
- # define C_DIALECT "99"
524
- #else
525
- # define C_DIALECT "90"
526
- #endif
527
- const char* info_language_dialect_default =
528
- "INFO" ":" "dialect_default[" C_DIALECT "]";
529
-
530
- /*--------------------------------------------------------------------------*/
531
-
532
- #ifdef ID_VOID_MAIN
533
- void main() {}
534
- #else
535
- # if defined(__CLASSIC_C__)
536
- int main(argc, argv) int argc; char *argv[];
537
- # else
538
- int main(int argc, char* argv[])
539
- # endif
540
- {
541
- int require = 0;
542
- require += info_compiler[argc];
543
- require += info_platform[argc];
544
- require += info_arch[argc];
545
- #ifdef COMPILER_VERSION_MAJOR
546
- require += info_version[argc];
547
- #endif
548
- #ifdef SIMULATE_ID
549
- require += info_simulate[argc];
550
- #endif
551
- #ifdef SIMULATE_VERSION_MAJOR
552
- require += info_simulate_version[argc];
553
- #endif
554
- #if defined(__CRAYXE) || defined(__CRAYXC)
555
- require += info_cray[argc];
556
- #endif
557
- require += info_language_dialect_default[argc];
558
- (void)argv;
559
- return require;
560
- }
561
- #endif