gitlost
33ebcea30c
Disable ZINT_SANITIZE for MSVC for now; use RESULT_VAR (MR #124 , commit [ee3f25])
2021-06-26 00:50:56 +01:00
Schaich
ee3f25fada
Detect Sanitizer support
...
Sanitizers require both front and backend support on the target platform.
Detect whether applications can be compiled and linked with sanitizer support
and enable sanitizers that can be both compiled and linked with.
check_c_compiler_flags is insufficient here, because we need library support
on top of just compiler support.
This implicitly disables sanitizer support for most cross-compiling and
embedded targets which use gcc or llvm based toolchains but don't have library
support, while enabling it on MSVC and Intel compilers.
While here, bind the sanitizer dependency to the zint library targets, and
remove the hardcoded no-var-tracking-assignments. variable assignment
tracking is a very powerful tool to find the true source of uninitialized
value based conditional jumps, and, if undesired, it can be disabled by
configuring the ASAN_OPTIONS environment variable.
2021-06-25 03:26:12 +09:00
gitlost
54947fb435
Restore backend_qt - static only now; qzint: legacy support for renamed methods
2021-06-24 18:31:08 +01:00
gitlost
4a8cac2a5a
CODEONE/DATAMATRIX/MAILMARK/PLESSEY: fix some 32-bit/portability bugs
...
PLESSEY: add options NCR weighted mod-10, hide check digit(s) in HRT
test suite: now runnable under MSVC 2019, 2017, 2015, MinGW/MSYS
win32/README: update with MSVC 2019 and CMake instructions
2021-06-10 11:15:39 +01:00
Schaich
88bbeb862b
Move getopt out of the frontend, because it's used in the backend's test, too
2021-06-02 21:14:14 +09:00
Schaich
9ff3f13c19
Optionalize the PNG and the Qt dependencies
...
Expose the ability to turn these dependencies off, which results in reduced
functionality. However, it enables a developer using the zint library to
instruct cmake to build a libzint as deployed by e.g. build servers which
don't have png/zint installed, without having to uninstall those libraries
from the development system
2021-06-02 21:14:14 +09:00
Schaich
5a8e9a86ad
[Untested] Remove odd looking libpng global link flag expansion
...
If explicit link flag handling is required, it *should* be handled by
FindPNG, and we should explicitly bind these kind of things to targets,
rather than expanding the global linker flags
I have no apple setup and can therefore not test this commit
2021-06-02 21:14:14 +09:00
Schaich
4c524838f5
Add enable_testing to the top level project
...
This enables us to run ctest on the top level build directory
2021-06-02 21:14:14 +09:00
Schaich
83bac8c8a5
Bind macro definitions to the zint library target
...
The libpng dependency is exported to consumers, while the ZINT_TEST option
affects the build output. Both are therefore marked public
2021-06-02 21:14:14 +09:00
gitlost
14f67331c2
#223 Use cmake options to interface command line parameters, props Schaich Alonso
2021-03-16 23:38:47 +00:00
gitlost
c875371289
#221 Use cmake import targets for the Qt dependency (Xml), props Schaich Alonso
2021-03-11 11:41:13 +00:00
gitlost
6322c0c2b0
#213 Use PNG::PNG for libpng, require cmake 3.5, props Schaich Alonso
2020-11-30 15:51:14 +00:00
Robin Stuart
f9b639ed9c
Move QZint class into frontend binary
2020-11-22 20:17:46 +00:00
Robin Stuart
3eb31fe3f8
Take version information from CmakeLists.txt
...
Warning: potential incompatibility because version number is no longer stored in zint.h
2020-11-22 11:29:45 +00:00
gitlost
943ba79866
AZTEC: fix bit-stuffing; AZTECRUNE: fix >= 128; DATAMATRIX: eod shift -> 0 pad; Qt6
2020-10-26 12:21:43 +00:00
gitlost
90012ab23f
EANX_CC: allow for check digit + buffer overflow for too long add-on; GUI text colour; cmake 3.0
2020-10-05 23:22:06 +01:00
gitlost
ac7b5dd282
#206 build: version to 2.9.1.9; ZINT_VERSION_BUILD (9 dev); tools/update_version.php
2020-09-04 16:38:11 +01:00
Robin Stuart
e9652df70c
Change PDF417TRUNC -> PDF417COMP and version 2.8 -> 2.9
2020-07-29 22:35:31 +01:00
Robin Stuart
0628e3ee4d
Update version 2.7.1 > 2.8.0
2020-04-07 17:27:45 +01:00
gitlost
9b771dba3a
Make zint-static build optional
2020-03-30 10:54:21 +01:00
gitlost
bca82ecc0d
libzint.so: suppress exporting INTERNAL functions to the shared library; ZINT_TEST
2019-12-19 00:37:55 +00:00
gitlost
e331fd1e90
QR optimize encoding modes
2019-12-16 17:31:52 +00:00
gitlost
74082e4d1b
Bump Zint version to 2.7.0 in CMakeLists.txt
2019-12-09 19:14:39 +00:00
Harald Oehlmann
6e1283ccd8
2019-10-07 2.6.7 HaO Set version to 2.6.7, documentation, readme
2019-10-07 11:57:35 +02:00
Harald Oehlmann
6751a816a6
2019-09-19 HaO Set Version to 2.6.6
2019-09-18 11:58:57 +02:00
Harald Oehlmann
40aab7908b
2018-08-30 2.6.5 HaO Set version to 2.6.5
2019-09-02 12:37:01 +02:00
gitlost
d76cdd615b
Fixes for eci, binary div, upce, other
2019-09-01 20:23:15 +01:00
Harald Oehlmann
6949143419
2018-08-30 2.6.4 HaO Set version to 2.6.4
2019-08-30 19:18:14 +02:00
Robin Stuart
ffd1ed2d6b
Update version number to 2.6.3
2018-02-15 10:46:02 +00:00
Robin Stuart
73c9b502b5
Update version to 2.6.2
...
Plus some tidying up in preperation for new release
2017-10-22 12:39:37 +01:00
Robin Stuart
1882d76b70
Update version to 2.6.1
2017-08-27 09:31:02 +01:00
Robin Stuart
19ba8a34c4
Update to version 2.6.0 and update copyright to 2017
2017-05-11 21:14:38 +01:00
Robin Stuart
0f9a326398
Update to Qt5
2016-12-11 15:29:06 +00:00
Robin Stuart
e7858dfe98
Add version information to zint.h and increment release version
...
Relates to #51
2016-12-10 09:04:06 +00:00
Robin Stuart
858c6264b1
Code format and audit, part 4
...
Update copyright info, remove unused code, etc.
2016-02-20 12:37:50 +00:00
Harald Oehlmann
96974d2cd1
Fix issue #3 : Fix FindZint.cmake dest dir (patch by Jaroslaw Staniek)
2015-09-14 21:47:07 +02:00
oxygenic
8c78216dc1
version number updated
2012-12-31 14:41:42 +01:00
oxygenic
4c45bac1ae
reworked
2012-12-30 14:55:05 +01:00
Robin Stuart
29edddcf94
Update version to 2.4.2
...
Update version number to 2.4.2 and remove reference to broken website.
2011-05-02 07:24:09 +01:00
Robin Stuart
2853b473f6
Reduce Warnings in Debian
...
A number of adjustments to reduce the warnings when building .deb packages in Debian
2010-10-07 17:03:41 +01:00
Robin Stuart
db568c0ed1
Update version to 2.4
...
Update version number of library
2010-09-12 16:36:39 +01:00
hooper114
545ff663d3
Update version to 2.3.2
2010-05-23 07:18:15 +00:00
hooper114
63dda2c5a4
*** empty log message ***
2010-03-01 22:49:09 +00:00
brianray
fa49844c6f
Changes to cmake script needed to get build on the mac with libpng build from sources. Will me making universal binary later.
2010-02-28 03:44:54 +00:00
hooper114
f6dc4dfc07
Remove Codablock-F
2010-01-28 17:55:59 +00:00
hooper114
35cacaef67
Update version number to 2.3.0
2009-11-08 22:17:11 +00:00
hooper114
de9984a346
Update version numbering to 2.2.2
2009-09-29 11:15:16 +00:00
hooper114
0cfcc41bb4
Update version to 2.1.1
2009-08-06 08:36:01 +00:00
hooper114
31ffc6e644
Update version number to 2.2
2009-07-13 19:03:28 +00:00
hooper114
10ec8ebf20
Update version number to 2.1.4
2009-06-19 18:28:38 +00:00