zxing_cpp_no_cmake 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (377) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +13 -0
  3. data/.gitmodules +0 -0
  4. data/CHANGELOG.rdoc +6 -0
  5. data/Gemfile +3 -0
  6. data/Manifest.txt +375 -0
  7. data/README.rdoc +141 -0
  8. data/Rakefile +28 -0
  9. data/bin/zxd +87 -0
  10. data/bin/zxe +53 -0
  11. data/ext/zxing/extconf.rb +20 -0
  12. data/ext/zxing/zxing-cpp/.gitignore +2 -0
  13. data/ext/zxing/zxing-cpp/AUTHORS +115 -0
  14. data/ext/zxing/zxing-cpp/CMakeLists.txt +89 -0
  15. data/ext/zxing/zxing-cpp/COPYING +201 -0
  16. data/ext/zxing/zxing-cpp/NOTICE +65 -0
  17. data/ext/zxing/zxing-cpp/README.md +45 -0
  18. data/ext/zxing/zxing-cpp/build/CMakeCache.txt +382 -0
  19. data/ext/zxing/zxing-cpp/build/CMakeFiles/3.15.4/CMakeCCompiler.cmake +76 -0
  20. data/ext/zxing/zxing-cpp/build/CMakeFiles/3.15.4/CMakeCXXCompiler.cmake +79 -0
  21. data/ext/zxing/zxing-cpp/build/CMakeFiles/3.15.4/CMakeDetermineCompilerABI_C.bin +0 -0
  22. data/ext/zxing/zxing-cpp/build/CMakeFiles/3.15.4/CMakeDetermineCompilerABI_CXX.bin +0 -0
  23. data/ext/zxing/zxing-cpp/build/CMakeFiles/3.15.4/CMakeSystem.cmake +15 -0
  24. data/ext/zxing/zxing-cpp/build/CMakeFiles/3.15.4/CompilerIdC/CMakeCCompilerId.c +665 -0
  25. data/ext/zxing/zxing-cpp/build/CMakeFiles/3.15.4/CompilerIdC/a.out +0 -0
  26. data/ext/zxing/zxing-cpp/build/CMakeFiles/3.15.4/CompilerIdCXX/CMakeCXXCompilerId.cpp +644 -0
  27. data/ext/zxing/zxing-cpp/build/CMakeFiles/3.15.4/CompilerIdCXX/a.out +0 -0
  28. data/ext/zxing/zxing-cpp/build/CMakeFiles/CMakeDirectoryInformation.cmake +16 -0
  29. data/ext/zxing/zxing-cpp/build/CMakeFiles/CMakeOutput.log +447 -0
  30. data/ext/zxing/zxing-cpp/build/CMakeFiles/Makefile.cmake +125 -0
  31. data/ext/zxing/zxing-cpp/build/CMakeFiles/Makefile2 +177 -0
  32. data/ext/zxing/zxing-cpp/build/CMakeFiles/TargetDirectories.txt +9 -0
  33. data/ext/zxing/zxing-cpp/build/CMakeFiles/cmake.check_cache +1 -0
  34. data/ext/zxing/zxing-cpp/build/CMakeFiles/libzxing.dir/CXX.includecache +1892 -0
  35. data/ext/zxing/zxing-cpp/build/CMakeFiles/libzxing.dir/DependInfo.cmake +120 -0
  36. data/ext/zxing/zxing-cpp/build/CMakeFiles/libzxing.dir/build.make +1584 -0
  37. data/ext/zxing/zxing-cpp/build/CMakeFiles/libzxing.dir/cmake_clean.cmake +109 -0
  38. data/ext/zxing/zxing-cpp/build/CMakeFiles/libzxing.dir/cmake_clean_target.cmake +3 -0
  39. data/ext/zxing/zxing-cpp/build/CMakeFiles/libzxing.dir/depend.internal +1465 -0
  40. data/ext/zxing/zxing-cpp/build/CMakeFiles/libzxing.dir/depend.make +1465 -0
  41. data/ext/zxing/zxing-cpp/build/CMakeFiles/libzxing.dir/flags.make +10 -0
  42. data/ext/zxing/zxing-cpp/build/CMakeFiles/libzxing.dir/link.txt +2 -0
  43. data/ext/zxing/zxing-cpp/build/CMakeFiles/libzxing.dir/progress.make +102 -0
  44. data/ext/zxing/zxing-cpp/build/CMakeFiles/progress.marks +1 -0
  45. data/ext/zxing/zxing-cpp/build/CMakeFiles/testrunner.dir/CXX.includecache +344 -0
  46. data/ext/zxing/zxing-cpp/build/CMakeFiles/testrunner.dir/DependInfo.cmake +33 -0
  47. data/ext/zxing/zxing-cpp/build/CMakeFiles/testrunner.dir/build.make +266 -0
  48. data/ext/zxing/zxing-cpp/build/CMakeFiles/testrunner.dir/cmake_clean.cmake +21 -0
  49. data/ext/zxing/zxing-cpp/build/CMakeFiles/testrunner.dir/depend.internal +103 -0
  50. data/ext/zxing/zxing-cpp/build/CMakeFiles/testrunner.dir/depend.make +103 -0
  51. data/ext/zxing/zxing-cpp/build/CMakeFiles/testrunner.dir/flags.make +10 -0
  52. data/ext/zxing/zxing-cpp/build/CMakeFiles/testrunner.dir/link.txt +1 -0
  53. data/ext/zxing/zxing-cpp/build/CMakeFiles/testrunner.dir/progress.make +14 -0
  54. data/ext/zxing/zxing-cpp/build/CMakeFiles/zxing.dir/CXX.includecache +378 -0
  55. data/ext/zxing/zxing-cpp/build/CMakeFiles/zxing.dir/DependInfo.cmake +25 -0
  56. data/ext/zxing/zxing-cpp/build/CMakeFiles/zxing.dir/build.make +145 -0
  57. data/ext/zxing/zxing-cpp/build/CMakeFiles/zxing.dir/cmake_clean.cmake +13 -0
  58. data/ext/zxing/zxing-cpp/build/CMakeFiles/zxing.dir/depend.internal +53 -0
  59. data/ext/zxing/zxing-cpp/build/CMakeFiles/zxing.dir/depend.make +53 -0
  60. data/ext/zxing/zxing-cpp/build/CMakeFiles/zxing.dir/flags.make +10 -0
  61. data/ext/zxing/zxing-cpp/build/CMakeFiles/zxing.dir/link.txt +1 -0
  62. data/ext/zxing/zxing-cpp/build/CMakeFiles/zxing.dir/progress.make +6 -0
  63. data/ext/zxing/zxing-cpp/build/Makefile +3706 -0
  64. data/ext/zxing/zxing-cpp/build/cmake_install.cmake +73 -0
  65. data/ext/zxing/zxing-cpp/build/libzxing.a +0 -0
  66. data/ext/zxing/zxing-cpp/build/testrunner +0 -0
  67. data/ext/zxing/zxing-cpp/build/zxing +0 -0
  68. data/ext/zxing/zxing-cpp/cli/src/ImageReaderSource.cpp +113 -0
  69. data/ext/zxing/zxing-cpp/cli/src/ImageReaderSource.h +40 -0
  70. data/ext/zxing/zxing-cpp/cli/src/jpgd.cpp +3174 -0
  71. data/ext/zxing/zxing-cpp/cli/src/jpgd.h +319 -0
  72. data/ext/zxing/zxing-cpp/cli/src/lodepng.cpp +6261 -0
  73. data/ext/zxing/zxing-cpp/cli/src/lodepng.h +1695 -0
  74. data/ext/zxing/zxing-cpp/cli/src/main.cpp +297 -0
  75. data/ext/zxing/zxing-cpp/cmake/FindCPPUNIT.cmake +54 -0
  76. data/ext/zxing/zxing-cpp/cmake/FindIconv.cmake +57 -0
  77. data/ext/zxing/zxing-cpp/core/src/bigint/.gitignore +6 -0
  78. data/ext/zxing/zxing-cpp/core/src/bigint/BigInteger.cc +405 -0
  79. data/ext/zxing/zxing-cpp/core/src/bigint/BigInteger.hh +215 -0
  80. data/ext/zxing/zxing-cpp/core/src/bigint/BigIntegerAlgorithms.cc +70 -0
  81. data/ext/zxing/zxing-cpp/core/src/bigint/BigIntegerAlgorithms.hh +25 -0
  82. data/ext/zxing/zxing-cpp/core/src/bigint/BigIntegerLibrary.hh +8 -0
  83. data/ext/zxing/zxing-cpp/core/src/bigint/BigIntegerUtils.cc +50 -0
  84. data/ext/zxing/zxing-cpp/core/src/bigint/BigIntegerUtils.hh +72 -0
  85. data/ext/zxing/zxing-cpp/core/src/bigint/BigUnsigned.cc +697 -0
  86. data/ext/zxing/zxing-cpp/core/src/bigint/BigUnsigned.hh +418 -0
  87. data/ext/zxing/zxing-cpp/core/src/bigint/BigUnsignedInABase.cc +125 -0
  88. data/ext/zxing/zxing-cpp/core/src/bigint/BigUnsignedInABase.hh +122 -0
  89. data/ext/zxing/zxing-cpp/core/src/bigint/ChangeLog +146 -0
  90. data/ext/zxing/zxing-cpp/core/src/bigint/Makefile +73 -0
  91. data/ext/zxing/zxing-cpp/core/src/bigint/NumberlikeArray.hh +177 -0
  92. data/ext/zxing/zxing-cpp/core/src/bigint/README +71 -0
  93. data/ext/zxing/zxing-cpp/core/src/win32/zxing/iconv.h +14 -0
  94. data/ext/zxing/zxing-cpp/core/src/win32/zxing/stdint.h +247 -0
  95. data/ext/zxing/zxing-cpp/core/src/win32/zxing/win_iconv.c +2035 -0
  96. data/ext/zxing/zxing-cpp/core/src/zxing/BarcodeFormat.cpp +40 -0
  97. data/ext/zxing/zxing-cpp/core/src/zxing/BarcodeFormat.h +60 -0
  98. data/ext/zxing/zxing-cpp/core/src/zxing/Binarizer.cpp +45 -0
  99. data/ext/zxing/zxing-cpp/core/src/zxing/Binarizer.h +50 -0
  100. data/ext/zxing/zxing-cpp/core/src/zxing/BinaryBitmap.cpp +70 -0
  101. data/ext/zxing/zxing-cpp/core/src/zxing/BinaryBitmap.h +56 -0
  102. data/ext/zxing/zxing-cpp/core/src/zxing/ChecksumException.cpp +28 -0
  103. data/ext/zxing/zxing-cpp/core/src/zxing/ChecksumException.h +34 -0
  104. data/ext/zxing/zxing-cpp/core/src/zxing/DecodeHints.cpp +142 -0
  105. data/ext/zxing/zxing-cpp/core/src/zxing/DecodeHints.h +85 -0
  106. data/ext/zxing/zxing-cpp/core/src/zxing/Exception.cpp +43 -0
  107. data/ext/zxing/zxing-cpp/core/src/zxing/Exception.h +51 -0
  108. data/ext/zxing/zxing-cpp/core/src/zxing/FormatException.cpp +41 -0
  109. data/ext/zxing/zxing-cpp/core/src/zxing/FormatException.h +37 -0
  110. data/ext/zxing/zxing-cpp/core/src/zxing/IllegalStateException.h +35 -0
  111. data/ext/zxing/zxing-cpp/core/src/zxing/InvertedLuminanceSource.cpp +68 -0
  112. data/ext/zxing/zxing-cpp/core/src/zxing/InvertedLuminanceSource.h +48 -0
  113. data/ext/zxing/zxing-cpp/core/src/zxing/LuminanceSource.cpp +86 -0
  114. data/ext/zxing/zxing-cpp/core/src/zxing/LuminanceSource.h +59 -0
  115. data/ext/zxing/zxing-cpp/core/src/zxing/MultiFormatReader.cpp +124 -0
  116. data/ext/zxing/zxing-cpp/core/src/zxing/MultiFormatReader.h +48 -0
  117. data/ext/zxing/zxing-cpp/core/src/zxing/NotFoundException.h +35 -0
  118. data/ext/zxing/zxing-cpp/core/src/zxing/Reader.cpp +31 -0
  119. data/ext/zxing/zxing-cpp/core/src/zxing/Reader.h +40 -0
  120. data/ext/zxing/zxing-cpp/core/src/zxing/ReaderException.h +37 -0
  121. data/ext/zxing/zxing-cpp/core/src/zxing/Result.cpp +61 -0
  122. data/ext/zxing/zxing-cpp/core/src/zxing/Result.h +55 -0
  123. data/ext/zxing/zxing-cpp/core/src/zxing/ResultIO.cpp +34 -0
  124. data/ext/zxing/zxing-cpp/core/src/zxing/ResultPoint.cpp +108 -0
  125. data/ext/zxing/zxing-cpp/core/src/zxing/ResultPoint.h +55 -0
  126. data/ext/zxing/zxing-cpp/core/src/zxing/ResultPointCallback.cpp +26 -0
  127. data/ext/zxing/zxing-cpp/core/src/zxing/ResultPointCallback.h +39 -0
  128. data/ext/zxing/zxing-cpp/core/src/zxing/ZXing.h +133 -0
  129. data/ext/zxing/zxing-cpp/core/src/zxing/aztec/AztecDetectorResult.cpp +54 -0
  130. data/ext/zxing/zxing-cpp/core/src/zxing/aztec/AztecDetectorResult.h +48 -0
  131. data/ext/zxing/zxing-cpp/core/src/zxing/aztec/AztecReader.cpp +68 -0
  132. data/ext/zxing/zxing-cpp/core/src/zxing/aztec/AztecReader.h +49 -0
  133. data/ext/zxing/zxing-cpp/core/src/zxing/aztec/decoder/Decoder.cpp +489 -0
  134. data/ext/zxing/zxing-cpp/core/src/zxing/aztec/decoder/Decoder.h +69 -0
  135. data/ext/zxing/zxing-cpp/core/src/zxing/aztec/detector/Detector.cpp +548 -0
  136. data/ext/zxing/zxing-cpp/core/src/zxing/aztec/detector/Detector.h +92 -0
  137. data/ext/zxing/zxing-cpp/core/src/zxing/common/Array.h +170 -0
  138. data/ext/zxing/zxing-cpp/core/src/zxing/common/BitArray.cpp +155 -0
  139. data/ext/zxing/zxing-cpp/core/src/zxing/common/BitArray.h +81 -0
  140. data/ext/zxing/zxing-cpp/core/src/zxing/common/BitArrayIO.cpp +31 -0
  141. data/ext/zxing/zxing-cpp/core/src/zxing/common/BitMatrix.cpp +143 -0
  142. data/ext/zxing/zxing-cpp/core/src/zxing/common/BitMatrix.h +91 -0
  143. data/ext/zxing/zxing-cpp/core/src/zxing/common/BitSource.cpp +76 -0
  144. data/ext/zxing/zxing-cpp/core/src/zxing/common/BitSource.h +74 -0
  145. data/ext/zxing/zxing-cpp/core/src/zxing/common/CharacterSetECI.cpp +105 -0
  146. data/ext/zxing/zxing-cpp/core/src/zxing/common/CharacterSetECI.h +53 -0
  147. data/ext/zxing/zxing-cpp/core/src/zxing/common/Counted.h +140 -0
  148. data/ext/zxing/zxing-cpp/core/src/zxing/common/DecoderResult.cpp +46 -0
  149. data/ext/zxing/zxing-cpp/core/src/zxing/common/DecoderResult.h +51 -0
  150. data/ext/zxing/zxing-cpp/core/src/zxing/common/DetectorResult.cpp +39 -0
  151. data/ext/zxing/zxing-cpp/core/src/zxing/common/DetectorResult.h +43 -0
  152. data/ext/zxing/zxing-cpp/core/src/zxing/common/GlobalHistogramBinarizer.cpp +212 -0
  153. data/ext/zxing/zxing-cpp/core/src/zxing/common/GlobalHistogramBinarizer.h +48 -0
  154. data/ext/zxing/zxing-cpp/core/src/zxing/common/GreyscaleLuminanceSource.cpp +80 -0
  155. data/ext/zxing/zxing-cpp/core/src/zxing/common/GreyscaleLuminanceSource.h +53 -0
  156. data/ext/zxing/zxing-cpp/core/src/zxing/common/GreyscaleRotatedLuminanceSource.cpp +81 -0
  157. data/ext/zxing/zxing-cpp/core/src/zxing/common/GreyscaleRotatedLuminanceSource.h +46 -0
  158. data/ext/zxing/zxing-cpp/core/src/zxing/common/GridSampler.cpp +122 -0
  159. data/ext/zxing/zxing-cpp/core/src/zxing/common/GridSampler.h +45 -0
  160. data/ext/zxing/zxing-cpp/core/src/zxing/common/HybridBinarizer.cpp +226 -0
  161. data/ext/zxing/zxing-cpp/core/src/zxing/common/HybridBinarizer.h +67 -0
  162. data/ext/zxing/zxing-cpp/core/src/zxing/common/IllegalArgumentException.cpp +27 -0
  163. data/ext/zxing/zxing-cpp/core/src/zxing/common/IllegalArgumentException.h +36 -0
  164. data/ext/zxing/zxing-cpp/core/src/zxing/common/PerspectiveTransform.cpp +107 -0
  165. data/ext/zxing/zxing-cpp/core/src/zxing/common/PerspectiveTransform.h +49 -0
  166. data/ext/zxing/zxing-cpp/core/src/zxing/common/Point.h +47 -0
  167. data/ext/zxing/zxing-cpp/core/src/zxing/common/Str.cpp +61 -0
  168. data/ext/zxing/zxing-cpp/core/src/zxing/common/Str.h +51 -0
  169. data/ext/zxing/zxing-cpp/core/src/zxing/common/StringUtils.cpp +198 -0
  170. data/ext/zxing/zxing-cpp/core/src/zxing/common/StringUtils.h +52 -0
  171. data/ext/zxing/zxing-cpp/core/src/zxing/common/detector/JavaMath.h +43 -0
  172. data/ext/zxing/zxing-cpp/core/src/zxing/common/detector/MathUtils.h +57 -0
  173. data/ext/zxing/zxing-cpp/core/src/zxing/common/detector/MonochromeRectangleDetector.cpp +175 -0
  174. data/ext/zxing/zxing-cpp/core/src/zxing/common/detector/MonochromeRectangleDetector.h +62 -0
  175. data/ext/zxing/zxing-cpp/core/src/zxing/common/detector/WhiteRectangleDetector.cpp +330 -0
  176. data/ext/zxing/zxing-cpp/core/src/zxing/common/detector/WhiteRectangleDetector.h +59 -0
  177. data/ext/zxing/zxing-cpp/core/src/zxing/common/reedsolomon/GenericGF.cpp +150 -0
  178. data/ext/zxing/zxing-cpp/core/src/zxing/common/reedsolomon/GenericGF.h +73 -0
  179. data/ext/zxing/zxing-cpp/core/src/zxing/common/reedsolomon/GenericGFPoly.cpp +218 -0
  180. data/ext/zxing/zxing-cpp/core/src/zxing/common/reedsolomon/GenericGFPoly.h +56 -0
  181. data/ext/zxing/zxing-cpp/core/src/zxing/common/reedsolomon/ReedSolomonDecoder.cpp +174 -0
  182. data/ext/zxing/zxing-cpp/core/src/zxing/common/reedsolomon/ReedSolomonDecoder.h +49 -0
  183. data/ext/zxing/zxing-cpp/core/src/zxing/common/reedsolomon/ReedSolomonException.cpp +30 -0
  184. data/ext/zxing/zxing-cpp/core/src/zxing/common/reedsolomon/ReedSolomonException.h +33 -0
  185. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/DataMatrixReader.cpp +54 -0
  186. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/DataMatrixReader.h +45 -0
  187. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/Version.cpp +199 -0
  188. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/Version.h +87 -0
  189. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/decoder/BitMatrixParser.cpp +361 -0
  190. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/decoder/BitMatrixParser.h +59 -0
  191. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/decoder/DataBlock.cpp +113 -0
  192. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/decoder/DataBlock.h +49 -0
  193. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/decoder/DecodedBitStreamParser.cpp +415 -0
  194. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/decoder/DecodedBitStreamParser.h +104 -0
  195. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/decoder/Decoder.cpp +93 -0
  196. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/decoder/Decoder.h +49 -0
  197. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/detector/CornerPoint.cpp +46 -0
  198. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/detector/CornerPoint.h +43 -0
  199. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/detector/Detector.cpp +447 -0
  200. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/detector/Detector.h +94 -0
  201. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/detector/DetectorException.cpp +23 -0
  202. data/ext/zxing/zxing-cpp/core/src/zxing/datamatrix/detector/DetectorException.h +23 -0
  203. data/ext/zxing/zxing-cpp/core/src/zxing/multi/ByQuadrantReader.cpp +75 -0
  204. data/ext/zxing/zxing-cpp/core/src/zxing/multi/ByQuadrantReader.h +42 -0
  205. data/ext/zxing/zxing-cpp/core/src/zxing/multi/GenericMultipleBarcodeReader.cpp +137 -0
  206. data/ext/zxing/zxing-cpp/core/src/zxing/multi/GenericMultipleBarcodeReader.h +51 -0
  207. data/ext/zxing/zxing-cpp/core/src/zxing/multi/MultipleBarcodeReader.cpp +29 -0
  208. data/ext/zxing/zxing-cpp/core/src/zxing/multi/MultipleBarcodeReader.h +41 -0
  209. data/ext/zxing/zxing-cpp/core/src/zxing/multi/qrcode/QRCodeMultiReader.cpp +58 -0
  210. data/ext/zxing/zxing-cpp/core/src/zxing/multi/qrcode/QRCodeMultiReader.h +36 -0
  211. data/ext/zxing/zxing-cpp/core/src/zxing/multi/qrcode/detector/MultiDetector.cpp +47 -0
  212. data/ext/zxing/zxing-cpp/core/src/zxing/multi/qrcode/detector/MultiDetector.h +37 -0
  213. data/ext/zxing/zxing-cpp/core/src/zxing/multi/qrcode/detector/MultiFinderPatternFinder.cpp +236 -0
  214. data/ext/zxing/zxing-cpp/core/src/zxing/multi/qrcode/detector/MultiFinderPatternFinder.h +47 -0
  215. data/ext/zxing/zxing-cpp/core/src/zxing/oned/CodaBarReader.cpp +340 -0
  216. data/ext/zxing/zxing-cpp/core/src/zxing/oned/CodaBarReader.h +57 -0
  217. data/ext/zxing/zxing-cpp/core/src/zxing/oned/Code128Reader.cpp +497 -0
  218. data/ext/zxing/zxing-cpp/core/src/zxing/oned/Code128Reader.h +48 -0
  219. data/ext/zxing/zxing-cpp/core/src/zxing/oned/Code39Reader.cpp +329 -0
  220. data/ext/zxing/zxing-cpp/core/src/zxing/oned/Code39Reader.h +63 -0
  221. data/ext/zxing/zxing-cpp/core/src/zxing/oned/Code93Reader.cpp +303 -0
  222. data/ext/zxing/zxing-cpp/core/src/zxing/oned/Code93Reader.h +58 -0
  223. data/ext/zxing/zxing-cpp/core/src/zxing/oned/EAN13Reader.cpp +85 -0
  224. data/ext/zxing/zxing-cpp/core/src/zxing/oned/EAN13Reader.h +49 -0
  225. data/ext/zxing/zxing-cpp/core/src/zxing/oned/EAN8Reader.cpp +65 -0
  226. data/ext/zxing/zxing-cpp/core/src/zxing/oned/EAN8Reader.h +47 -0
  227. data/ext/zxing/zxing-cpp/core/src/zxing/oned/ITFReader.cpp +337 -0
  228. data/ext/zxing/zxing-cpp/core/src/zxing/oned/ITFReader.h +54 -0
  229. data/ext/zxing/zxing-cpp/core/src/zxing/oned/MultiFormatOneDReader.cpp +96 -0
  230. data/ext/zxing/zxing-cpp/core/src/zxing/oned/MultiFormatOneDReader.h +38 -0
  231. data/ext/zxing/zxing-cpp/core/src/zxing/oned/MultiFormatUPCEANReader.cpp +110 -0
  232. data/ext/zxing/zxing-cpp/core/src/zxing/oned/MultiFormatUPCEANReader.h +41 -0
  233. data/ext/zxing/zxing-cpp/core/src/zxing/oned/OneDReader.cpp +228 -0
  234. data/ext/zxing/zxing-cpp/core/src/zxing/oned/OneDReader.h +81 -0
  235. data/ext/zxing/zxing-cpp/core/src/zxing/oned/OneDResultPoint.cpp +28 -0
  236. data/ext/zxing/zxing-cpp/core/src/zxing/oned/OneDResultPoint.h +35 -0
  237. data/ext/zxing/zxing-cpp/core/src/zxing/oned/UPCAReader.cpp +70 -0
  238. data/ext/zxing/zxing-cpp/core/src/zxing/oned/UPCAReader.h +50 -0
  239. data/ext/zxing/zxing-cpp/core/src/zxing/oned/UPCEANReader.cpp +309 -0
  240. data/ext/zxing/zxing-cpp/core/src/zxing/oned/UPCEANReader.h +88 -0
  241. data/ext/zxing/zxing-cpp/core/src/zxing/oned/UPCEReader.cpp +146 -0
  242. data/ext/zxing/zxing-cpp/core/src/zxing/oned/UPCEReader.h +47 -0
  243. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/PDF417Reader.cpp +170 -0
  244. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/PDF417Reader.h +49 -0
  245. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/BitMatrixParser.cpp +997 -0
  246. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/BitMatrixParser.h +84 -0
  247. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/DecodedBitStreamParser.cpp +563 -0
  248. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/DecodedBitStreamParser.h +84 -0
  249. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/Decoder.cpp +118 -0
  250. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/Decoder.h +62 -0
  251. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/ec/ErrorCorrection.cpp +214 -0
  252. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/ec/ErrorCorrection.h +71 -0
  253. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/ec/ModulusGF.cpp +120 -0
  254. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/ec/ModulusGF.h +72 -0
  255. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/ec/ModulusPoly.cpp +284 -0
  256. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/decoder/ec/ModulusPoly.h +68 -0
  257. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/detector/Detector.cpp +665 -0
  258. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/detector/Detector.h +106 -0
  259. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/detector/LinesSampler.cpp +715 -0
  260. data/ext/zxing/zxing-cpp/core/src/zxing/pdf417/detector/LinesSampler.h +122 -0
  261. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/ErrorCorrectionLevel.cpp +65 -0
  262. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/ErrorCorrectionLevel.h +52 -0
  263. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/FormatInformation.cpp +117 -0
  264. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/FormatInformation.h +54 -0
  265. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/QRCodeReader.cpp +52 -0
  266. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/QRCodeReader.h +48 -0
  267. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/Version.cpp +560 -0
  268. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/Version.h +85 -0
  269. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/BitMatrixParser.cpp +183 -0
  270. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/BitMatrixParser.h +56 -0
  271. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/DataBlock.cpp +118 -0
  272. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/DataBlock.h +50 -0
  273. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/DataMask.cpp +159 -0
  274. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/DataMask.h +50 -0
  275. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/DecodedBitStreamParser.cpp +428 -0
  276. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/DecodedBitStreamParser.h +72 -0
  277. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/Decoder.cpp +107 -0
  278. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/Decoder.h +46 -0
  279. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/Mode.cpp +90 -0
  280. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/decoder/Mode.h +57 -0
  281. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/AlignmentPattern.cpp +47 -0
  282. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/AlignmentPattern.h +45 -0
  283. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/AlignmentPatternFinder.cpp +208 -0
  284. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/AlignmentPatternFinder.h +68 -0
  285. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/Detector.cpp +315 -0
  286. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/Detector.h +69 -0
  287. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/FinderPattern.cpp +69 -0
  288. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/FinderPattern.h +48 -0
  289. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/FinderPatternFinder.cpp +559 -0
  290. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/FinderPatternFinder.h +76 -0
  291. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/FinderPatternInfo.cpp +41 -0
  292. data/ext/zxing/zxing-cpp/core/src/zxing/qrcode/detector/FinderPatternInfo.h +47 -0
  293. data/ext/zxing/zxing-cpp/core/tests/src/TestRunner.cpp +30 -0
  294. data/ext/zxing/zxing-cpp/core/tests/src/common/BitArrayTest.cpp +216 -0
  295. data/ext/zxing/zxing-cpp/core/tests/src/common/BitArrayTest.h +61 -0
  296. data/ext/zxing/zxing-cpp/core/tests/src/common/BitMatrixTest.cpp +106 -0
  297. data/ext/zxing/zxing-cpp/core/tests/src/common/BitMatrixTest.h +55 -0
  298. data/ext/zxing/zxing-cpp/core/tests/src/common/BitSourceTest.cpp +49 -0
  299. data/ext/zxing/zxing-cpp/core/tests/src/common/BitSourceTest.h +42 -0
  300. data/ext/zxing/zxing-cpp/core/tests/src/common/CountedTest.cpp +58 -0
  301. data/ext/zxing/zxing-cpp/core/tests/src/common/CountedTest.h +46 -0
  302. data/ext/zxing/zxing-cpp/core/tests/src/common/PerspectiveTransformTest.cpp +69 -0
  303. data/ext/zxing/zxing-cpp/core/tests/src/common/PerspectiveTransformTest.h +47 -0
  304. data/ext/zxing/zxing-cpp/core/tests/src/common/reedsolomon/ReedSolomonTest.cpp +129 -0
  305. data/ext/zxing/zxing-cpp/core/tests/src/common/reedsolomon/ReedSolomonTest.h +62 -0
  306. data/ext/zxing/zxing-cpp/core/tests/src/qrcode/ErrorCorrectionLevelTest.cpp +47 -0
  307. data/ext/zxing/zxing-cpp/core/tests/src/qrcode/ErrorCorrectionLevelTest.h +45 -0
  308. data/ext/zxing/zxing-cpp/core/tests/src/qrcode/FormatInformationTest.cpp +88 -0
  309. data/ext/zxing/zxing-cpp/core/tests/src/qrcode/FormatInformationTest.h +47 -0
  310. data/ext/zxing/zxing-cpp/core/tests/src/qrcode/VersionTest.cpp +88 -0
  311. data/ext/zxing/zxing-cpp/core/tests/src/qrcode/VersionTest.h +49 -0
  312. data/ext/zxing/zxing-cpp/core/tests/src/qrcode/decoder/DataMaskTest.cpp +132 -0
  313. data/ext/zxing/zxing-cpp/core/tests/src/qrcode/decoder/DataMaskTest.h +91 -0
  314. data/ext/zxing/zxing-cpp/core/tests/src/qrcode/decoder/ModeTest.cpp +52 -0
  315. data/ext/zxing/zxing-cpp/core/tests/src/qrcode/decoder/ModeTest.h +47 -0
  316. data/ext/zxing/zxing.cc +224 -0
  317. data/lib/zxing.rb +50 -0
  318. data/lib/zxing/.gitignore +2 -0
  319. data/lib/zxing/aztec.rb +5 -0
  320. data/lib/zxing/aztec/aztec_reader.rb +14 -0
  321. data/lib/zxing/bad_image_exception.rb +4 -0
  322. data/lib/zxing/binarizer.rb +8 -0
  323. data/lib/zxing/binary_bitmap.rb +15 -0
  324. data/lib/zxing/checksum_exception.rb +4 -0
  325. data/lib/zxing/common.rb +7 -0
  326. data/lib/zxing/common/bit_matrix.rb +9 -0
  327. data/lib/zxing/common/hybrid_binarizer.rb +17 -0
  328. data/lib/zxing/common/illegal_argument_exception.rb +4 -0
  329. data/lib/zxing/datamatrix.rb +5 -0
  330. data/lib/zxing/datamatrix/data_matrix_reader.rb +14 -0
  331. data/lib/zxing/decodable.rb +11 -0
  332. data/lib/zxing/exception.rb +4 -0
  333. data/lib/zxing/ffi.rb +20 -0
  334. data/lib/zxing/ffi/aztec.rb +6 -0
  335. data/lib/zxing/ffi/aztec/aztec_reader.rb +9 -0
  336. data/lib/zxing/ffi/binarizer.rb +25 -0
  337. data/lib/zxing/ffi/binary_bitmap.rb +15 -0
  338. data/lib/zxing/ffi/common.rb +8 -0
  339. data/lib/zxing/ffi/common/bit_matrix.rb +12 -0
  340. data/lib/zxing/ffi/common/greyscale_luminance_source.rb +30 -0
  341. data/lib/zxing/ffi/common/hybrid_binarizer.rb +10 -0
  342. data/lib/zxing/ffi/datamatrix.rb +6 -0
  343. data/lib/zxing/ffi/datamatrix/data_matrix_reader.rb +9 -0
  344. data/lib/zxing/ffi/library.rb +102 -0
  345. data/lib/zxing/ffi/luminance_source.rb +18 -0
  346. data/lib/zxing/ffi/multi_format_reader.rb +9 -0
  347. data/lib/zxing/ffi/oned.rb +6 -0
  348. data/lib/zxing/ffi/oned/code_39_reader.rb +10 -0
  349. data/lib/zxing/ffi/qrcode.rb +8 -0
  350. data/lib/zxing/ffi/qrcode/decoder.rb +10 -0
  351. data/lib/zxing/ffi/qrcode/detector.rb +10 -0
  352. data/lib/zxing/ffi/reader.rb +58 -0
  353. data/lib/zxing/ffi/result.rb +23 -0
  354. data/lib/zxing/format_exception.rb +4 -0
  355. data/lib/zxing/illegal_argument_exception.rb +4 -0
  356. data/lib/zxing/image.rb +15 -0
  357. data/lib/zxing/luminance_source.rb +18 -0
  358. data/lib/zxing/multi_format_reader.rb +11 -0
  359. data/lib/zxing/not_found_exception.rb +4 -0
  360. data/lib/zxing/oned.rb +5 -0
  361. data/lib/zxing/oned/code_39_reader.rb +15 -0
  362. data/lib/zxing/qrcode.rb +8 -0
  363. data/lib/zxing/qrcode/decoder.rb +14 -0
  364. data/lib/zxing/qrcode/detector.rb +14 -0
  365. data/lib/zxing/qrcode/encoder.rb +8 -0
  366. data/lib/zxing/qrcode/encoder/byte_matrix.rb +18 -0
  367. data/lib/zxing/qrcode/encoder/encoder.rb +9 -0
  368. data/lib/zxing/qrcode/encoder/qrcode.rb +18 -0
  369. data/lib/zxing/reader.rb +8 -0
  370. data/lib/zxing/reader_exception.rb +4 -0
  371. data/lib/zxing/reed_solomon_exception.rb +2 -0
  372. data/lib/zxing/result.rb +18 -0
  373. data/lib/zxing/rmagick.rb +5 -0
  374. data/lib/zxing/rmagick/image.rb +109 -0
  375. data/lib/zxing/version.rb +33 -0
  376. data/zxing_cpp.gemspec +36 -0
  377. metadata +515 -0
@@ -0,0 +1,65 @@
1
+ --------------------------------------------------------------------------------
2
+ NOTICES FOR ISO C9x compliant stdint.h for Microsoft Visual Studio
3
+ --------------------------------------------------------------------------------
4
+
5
+ Based on ISO/IEC 9899:TC2 Committee draft (May 6, 2005) WG14/N1124
6
+
7
+ Copyright (c) 2006-2008 Alexander Chemeris
8
+
9
+ Redistribution and use in source and binary forms, with or without
10
+ modification, are permitted provided that the following conditions are met:
11
+
12
+ 1. Redistributions of source code must retain the above copyright notice,
13
+ this list of conditions and the following disclaimer.
14
+
15
+ 2. Redistributions in binary form must reproduce the above copyright
16
+ notice, this list of conditions and the following disclaimer in the
17
+ documentation and/or other materials provided with the distribution.
18
+
19
+ 3. The name of the author may be used to endorse or promote products
20
+ derived from this software without specific prior written permission.
21
+
22
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
23
+ WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
24
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
25
+ EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
26
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
27
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
28
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
29
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
30
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
31
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32
+
33
+ --------------------------------------------------------------------------------
34
+ NOTICES FOR LodePNG
35
+ --------------------------------------------------------------------------------
36
+
37
+ Copyright (c) 2005-2013 Lode Vandevenne
38
+
39
+ This software is provided 'as-is', without any express or implied
40
+ warranty. In no event will the authors be held liable for any damages
41
+ arising from the use of this software.
42
+
43
+ Permission is granted to anyone to use this software for any purpose,
44
+ including commercial applications, and to alter it and redistribute it
45
+ freely, subject to the following restrictions:
46
+
47
+ 1. The origin of this software must not be misrepresented; you must not
48
+ claim that you wrote the original software. If you use this software
49
+ in a product, an acknowledgment in the product documentation would be
50
+ appreciated but is not required.
51
+
52
+ 2. Altered source versions must be plainly marked as such, and must not be
53
+ misrepresented as being the original software.
54
+
55
+ 3. This notice may not be removed or altered from any source
56
+ distribution.
57
+
58
+ --------------------------------------------------------------------------------
59
+ NOTICES FOR C++ Big Integer Library
60
+ --------------------------------------------------------------------------------
61
+
62
+ I, Matt McCutchen, the sole author of the original Big Integer
63
+ Library, waive my copyright to it, placing it in the public domain.
64
+ The library comes with absolutely no warranty.
65
+
@@ -0,0 +1,45 @@
1
+ # ZXing C++ Port
2
+
3
+ [ZXing](https://github.com/zxing/zxing) is/was a Java library.
4
+
5
+ At some point a complete C++ port/rewrite was created and maintained in the official [ZXing](https://github.com/zxing/zxing) repo. However, at the time of writing the C++ port is no longer maintained and has been removed from the official ZXing repo.
6
+
7
+ This project was forked from the [last ZXing commit](https://github.com/zxing/zxing/commit/00f6340) to contain the C++ project, with the following exceptions
8
+
9
+ * scons (Python) build system has been deleted.
10
+ * Deleted black box tests, because they refer to a large test data in ZXing repo.
11
+ * Added appropriate copyright/licensing details (based on those in the ZXing repo).
12
+ * Updated README.md
13
+
14
+ Removal of build systems was done to minimise maintenance burden.
15
+
16
+ If tests and XCode projects (other than those produced automatically be CMake) are desired, then another repo should be created and this repo referenced as a submodule.
17
+
18
+ # Building using CMake
19
+
20
+ CMake is a tool, that generates native makefiles and workspaces. It integrates well with a number of IDEs including Qt Creator and Visual Studio.
21
+
22
+ Usage with CLion or Qt Creator:
23
+
24
+ 1. Simply open `CMakeLists.txt` as a new project
25
+ 2. Additional command line arguments can be specified (see below)
26
+
27
+ Usage with Makefiles, Visual Studio, etc. (see `cmake --help` for a complete list of generators):
28
+
29
+ 1. `mkdir build`
30
+ 2. `cd` to `build`
31
+ 3. Unix: run `cmake -G "Unix Makefiles" ..`
32
+ 3. Windows: run `cmake -G "Visual Studio 10" ..`
33
+
34
+ You can switch between build modes by specifying:
35
+
36
+ - `-DCMAKE_BUILD_TYPE=Debug` or
37
+ - `-DCMAKE_BUILD_TYPE=Release`
38
+
39
+ # Development tips
40
+
41
+ To profile the code (very useful to optimize the code):
42
+
43
+ 1. Install Valgrind
44
+ 2. Run `valgrind --tool=callgrind build/zxing - path/to/test/data/*.jpg > report.html`
45
+ 3. Analyze output using KCachegrind
@@ -0,0 +1,382 @@
1
+ # This is the CMakeCache file.
2
+ # For build in directory: /home/nigel/r/zxing_cpp.rb/ext/zxing/zxing-cpp/build
3
+ # It was generated by CMake: /usr/bin/cmake
4
+ # You can edit this file to change values found and used by cmake.
5
+ # If you do not want to change any of the values, simply exit the editor.
6
+ # If you do want to change a value, simply edit, save, and exit the editor.
7
+ # The syntax for the file is as follows:
8
+ # KEY:TYPE=VALUE
9
+ # KEY is the name of a variable in the cache.
10
+ # TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
11
+ # VALUE is the current value for the KEY.
12
+
13
+ ########################
14
+ # EXTERNAL cache entries
15
+ ########################
16
+
17
+ //No help, variable specified on the command line.
18
+ BUILD_SHARED_LIBS:BOOL=OFF
19
+
20
+ //Path to a program.
21
+ CMAKE_AR:FILEPATH=/usr/bin/ar
22
+
23
+ //Choose the type of build, options are: None Debug Release RelWithDebInfo
24
+ // MinSizeRel ...
25
+ CMAKE_BUILD_TYPE:STRING=
26
+
27
+ //Enable/Disable color output during build.
28
+ CMAKE_COLOR_MAKEFILE:BOOL=ON
29
+
30
+ //CXX compiler
31
+ CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++
32
+
33
+ //A wrapper around 'ar' adding the appropriate '--plugin' option
34
+ // for the GCC compiler
35
+ CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar
36
+
37
+ //A wrapper around 'ranlib' adding the appropriate '--plugin' option
38
+ // for the GCC compiler
39
+ CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib
40
+
41
+ //Flags used by the CXX compiler during all build types.
42
+ CMAKE_CXX_FLAGS:STRING=-fPIC
43
+
44
+ //Flags used by the CXX compiler during DEBUG builds.
45
+ CMAKE_CXX_FLAGS_DEBUG:STRING=-g
46
+
47
+ //Flags used by the CXX compiler during MINSIZEREL builds.
48
+ CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
49
+
50
+ //Flags used by the CXX compiler during RELEASE builds.
51
+ CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
52
+
53
+ //Flags used by the CXX compiler during RELWITHDEBINFO builds.
54
+ CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
55
+
56
+ //C compiler
57
+ CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc
58
+
59
+ //A wrapper around 'ar' adding the appropriate '--plugin' option
60
+ // for the GCC compiler
61
+ CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar
62
+
63
+ //A wrapper around 'ranlib' adding the appropriate '--plugin' option
64
+ // for the GCC compiler
65
+ CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib
66
+
67
+ //Flags used by the C compiler during all build types.
68
+ CMAKE_C_FLAGS:STRING=-g -O3 -feliminate-unused-debug-types -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=32 -Wformat -Wformat-security -m64 -fasynchronous-unwind-tables -Wp,-D_REENTRANT -ftree-loop-distribute-patterns -Wl,-z -Wl,now -Wl,-z -Wl,relro -fno-semantic-interposition -ffat-lto-objects -fno-trapping-math -Wl,-sort-common -Wl,--enable-new-dtags -mtune=skylake
69
+
70
+ //Flags used by the C compiler during DEBUG builds.
71
+ CMAKE_C_FLAGS_DEBUG:STRING=-g
72
+
73
+ //Flags used by the C compiler during MINSIZEREL builds.
74
+ CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG
75
+
76
+ //Flags used by the C compiler during RELEASE builds.
77
+ CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG
78
+
79
+ //Flags used by the C compiler during RELWITHDEBINFO builds.
80
+ CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG
81
+
82
+ //Flags used by the linker during all build types.
83
+ CMAKE_EXE_LINKER_FLAGS:STRING=
84
+
85
+ //Flags used by the linker during DEBUG builds.
86
+ CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
87
+
88
+ //Flags used by the linker during MINSIZEREL builds.
89
+ CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
90
+
91
+ //Flags used by the linker during RELEASE builds.
92
+ CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
93
+
94
+ //Flags used by the linker during RELWITHDEBINFO builds.
95
+ CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
96
+
97
+ //Enable/Disable output of compile commands during generation.
98
+ CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=OFF
99
+
100
+ //Install path prefix, prepended onto install directories.
101
+ CMAKE_INSTALL_PREFIX:PATH=/usr/local
102
+
103
+ //Path to a program.
104
+ CMAKE_LINKER:FILEPATH=/usr/bin/ld
105
+
106
+ //Path to a program.
107
+ CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
108
+
109
+ //Flags used by the linker during the creation of modules during
110
+ // all build types.
111
+ CMAKE_MODULE_LINKER_FLAGS:STRING=
112
+
113
+ //Flags used by the linker during the creation of modules during
114
+ // DEBUG builds.
115
+ CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
116
+
117
+ //Flags used by the linker during the creation of modules during
118
+ // MINSIZEREL builds.
119
+ CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
120
+
121
+ //Flags used by the linker during the creation of modules during
122
+ // RELEASE builds.
123
+ CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
124
+
125
+ //Flags used by the linker during the creation of modules during
126
+ // RELWITHDEBINFO builds.
127
+ CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
128
+
129
+ //Path to a program.
130
+ CMAKE_NM:FILEPATH=/usr/bin/nm
131
+
132
+ //Path to a program.
133
+ CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
134
+
135
+ //Path to a program.
136
+ CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
137
+
138
+ //Value Computed by CMake
139
+ CMAKE_PROJECT_DESCRIPTION:STATIC=
140
+
141
+ //Value Computed by CMake
142
+ CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
143
+
144
+ //Value Computed by CMake
145
+ CMAKE_PROJECT_NAME:STATIC=zxing
146
+
147
+ //Path to a program.
148
+ CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
149
+
150
+ //Flags used by the linker during the creation of shared libraries
151
+ // during all build types.
152
+ CMAKE_SHARED_LINKER_FLAGS:STRING=
153
+
154
+ //Flags used by the linker during the creation of shared libraries
155
+ // during DEBUG builds.
156
+ CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
157
+
158
+ //Flags used by the linker during the creation of shared libraries
159
+ // during MINSIZEREL builds.
160
+ CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
161
+
162
+ //Flags used by the linker during the creation of shared libraries
163
+ // during RELEASE builds.
164
+ CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
165
+
166
+ //Flags used by the linker during the creation of shared libraries
167
+ // during RELWITHDEBINFO builds.
168
+ CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
169
+
170
+ //If set, runtime paths are not added when installing shared libraries,
171
+ // but are added when building.
172
+ CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
173
+
174
+ //If set, runtime paths are not added when using shared libraries.
175
+ CMAKE_SKIP_RPATH:BOOL=NO
176
+
177
+ //Flags used by the linker during the creation of static libraries
178
+ // during all build types.
179
+ CMAKE_STATIC_LINKER_FLAGS:STRING=
180
+
181
+ //Flags used by the linker during the creation of static libraries
182
+ // during DEBUG builds.
183
+ CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
184
+
185
+ //Flags used by the linker during the creation of static libraries
186
+ // during MINSIZEREL builds.
187
+ CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
188
+
189
+ //Flags used by the linker during the creation of static libraries
190
+ // during RELEASE builds.
191
+ CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
192
+
193
+ //Flags used by the linker during the creation of static libraries
194
+ // during RELWITHDEBINFO builds.
195
+ CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
196
+
197
+ //Path to a program.
198
+ CMAKE_STRIP:FILEPATH=/usr/bin/strip
199
+
200
+ //If this value is on, makefiles will be generated without the
201
+ // .SILENT directive, and all commands will be echoed to the console
202
+ // during the make. This is useful for debugging only. With Visual
203
+ // Studio IDE projects all commands are done without /nologo.
204
+ CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
205
+
206
+ //Path to a library.
207
+ CPPUNIT_DEBUG_LIBRARY:FILEPATH=/usr/lib64/libcppunit.so
208
+
209
+ //Path to a file.
210
+ CPPUNIT_INCLUDE_DIR:PATH=/usr/include
211
+
212
+ //Path to a library.
213
+ CPPUNIT_LIBRARY:FILEPATH=/usr/lib64/libcppunit.so
214
+
215
+ //Path to a file.
216
+ ICONV_INCLUDE_DIR:PATH=/usr/include
217
+
218
+ //Path to a library.
219
+ ICONV_LIBRARIES:FILEPATH=/usr/lib64/libc.so
220
+
221
+ //Dependencies for the target
222
+ libzxing_LIB_DEPENDS:STATIC=general;/usr/lib64/libc.so;
223
+
224
+ //Value Computed by CMake
225
+ zxing_BINARY_DIR:STATIC=/home/nigel/r/zxing_cpp.rb/ext/zxing/zxing-cpp/build
226
+
227
+ //Value Computed by CMake
228
+ zxing_SOURCE_DIR:STATIC=/home/nigel/r/zxing_cpp.rb/ext/zxing/zxing-cpp
229
+
230
+
231
+ ########################
232
+ # INTERNAL cache entries
233
+ ########################
234
+
235
+ //ADVANCED property for variable: CMAKE_AR
236
+ CMAKE_AR-ADVANCED:INTERNAL=1
237
+ //This is the directory where this CMakeCache.txt was created
238
+ CMAKE_CACHEFILE_DIR:INTERNAL=/home/nigel/r/zxing_cpp.rb/ext/zxing/zxing-cpp/build
239
+ //Major version of cmake used to create the current loaded cache
240
+ CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
241
+ //Minor version of cmake used to create the current loaded cache
242
+ CMAKE_CACHE_MINOR_VERSION:INTERNAL=15
243
+ //Patch version of cmake used to create the current loaded cache
244
+ CMAKE_CACHE_PATCH_VERSION:INTERNAL=4
245
+ //ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
246
+ CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
247
+ //Path to CMake executable.
248
+ CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
249
+ //Path to cpack program executable.
250
+ CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
251
+ //Path to ctest program executable.
252
+ CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
253
+ //ADVANCED property for variable: CMAKE_CXX_COMPILER
254
+ CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
255
+ //ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
256
+ CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
257
+ //ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
258
+ CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
259
+ //ADVANCED property for variable: CMAKE_CXX_FLAGS
260
+ CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
261
+ //ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
262
+ CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
263
+ //ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
264
+ CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
265
+ //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
266
+ CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
267
+ //ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
268
+ CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
269
+ //ADVANCED property for variable: CMAKE_C_COMPILER
270
+ CMAKE_C_COMPILER-ADVANCED:INTERNAL=1
271
+ //ADVANCED property for variable: CMAKE_C_COMPILER_AR
272
+ CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1
273
+ //ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB
274
+ CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1
275
+ //ADVANCED property for variable: CMAKE_C_FLAGS
276
+ CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
277
+ //ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
278
+ CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
279
+ //ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
280
+ CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
281
+ //ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
282
+ CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
283
+ //ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
284
+ CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
285
+ //Path to cache edit program executable.
286
+ CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
287
+ //Executable file format
288
+ CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
289
+ //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
290
+ CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
291
+ //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
292
+ CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
293
+ //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
294
+ CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
295
+ //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
296
+ CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
297
+ //ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
298
+ CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
299
+ //ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
300
+ CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
301
+ //Name of external makefile project generator.
302
+ CMAKE_EXTRA_GENERATOR:INTERNAL=
303
+ //Name of generator.
304
+ CMAKE_GENERATOR:INTERNAL=Unix Makefiles
305
+ //Generator instance identifier.
306
+ CMAKE_GENERATOR_INSTANCE:INTERNAL=
307
+ //Name of generator platform.
308
+ CMAKE_GENERATOR_PLATFORM:INTERNAL=
309
+ //Name of generator toolset.
310
+ CMAKE_GENERATOR_TOOLSET:INTERNAL=
311
+ //Source directory with the top level CMakeLists.txt file for this
312
+ // project
313
+ CMAKE_HOME_DIRECTORY:INTERNAL=/home/nigel/r/zxing_cpp.rb/ext/zxing/zxing-cpp
314
+ //Install .so files without execute permission.
315
+ CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
316
+ //ADVANCED property for variable: CMAKE_LINKER
317
+ CMAKE_LINKER-ADVANCED:INTERNAL=1
318
+ //ADVANCED property for variable: CMAKE_MAKE_PROGRAM
319
+ CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
320
+ //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
321
+ CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
322
+ //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
323
+ CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
324
+ //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
325
+ CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
326
+ //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
327
+ CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
328
+ //ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
329
+ CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
330
+ //ADVANCED property for variable: CMAKE_NM
331
+ CMAKE_NM-ADVANCED:INTERNAL=1
332
+ //number of local generators
333
+ CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
334
+ //ADVANCED property for variable: CMAKE_OBJCOPY
335
+ CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
336
+ //ADVANCED property for variable: CMAKE_OBJDUMP
337
+ CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
338
+ //Platform information initialized
339
+ CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
340
+ //ADVANCED property for variable: CMAKE_RANLIB
341
+ CMAKE_RANLIB-ADVANCED:INTERNAL=1
342
+ //Path to CMake installation.
343
+ CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.15
344
+ //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
345
+ CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
346
+ //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
347
+ CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
348
+ //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
349
+ CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
350
+ //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
351
+ CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
352
+ //ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
353
+ CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
354
+ //ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
355
+ CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
356
+ //ADVANCED property for variable: CMAKE_SKIP_RPATH
357
+ CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
358
+ //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
359
+ CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
360
+ //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
361
+ CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
362
+ //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
363
+ CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
364
+ //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
365
+ CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
366
+ //ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
367
+ CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
368
+ //ADVANCED property for variable: CMAKE_STRIP
369
+ CMAKE_STRIP-ADVANCED:INTERNAL=1
370
+ //uname command
371
+ CMAKE_UNAME:INTERNAL=/usr/bin/uname
372
+ //ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
373
+ CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
374
+ //ADVANCED property for variable: ICONV_INCLUDE_DIR
375
+ ICONV_INCLUDE_DIR-ADVANCED:INTERNAL=1
376
+ //ADVANCED property for variable: ICONV_LIBRARIES
377
+ ICONV_LIBRARIES-ADVANCED:INTERNAL=1
378
+ //ADVANCED property for variable: ICONV_SECOND_ARGUMENT_IS_CONST
379
+ ICONV_SECOND_ARGUMENT_IS_CONST-ADVANCED:INTERNAL=1
380
+ //Test ICONV_SECOND_ARGUMENT_IS_CONST
381
+ ICONV_SECOND_ARGUMENT_IS_CONST:INTERNAL=1
382
+