0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-01 19:51:30 +03:00
Files
3rdparty
dark_style_sheet
easyprofiler
light_style_sheet
zint-2.6.1
backend
2of5.c
CMakeLists.txt
DEVELOPER
LICENSE
auspost.c
aztec.c
aztec.h
bmp.c
bmp.h
codablock.c
code.c
code1.c
code1.h
code128.c
code16k.c
code49.c
code49.h
common.c
common.h
composite.c
composite.h
dllversion.c
dmatrix.c
dmatrix.h
dotcode.c
eci.c
eci.h
emf.c
emf.h
font.h
gb18030.h
gb2312.h
gif.c
gridmtx.c
gridmtx.h
gs1.c
gs1.h
hanxin.c
hanxin.h
imail.c
large.c
large.h
library.c
libzint.rc
maxicode.c
maxicode.h
medical.c
ms_stdint.h
pcx.c
pcx.h
pdf417.c
pdf417.h
plessey.c
png.c
postal.c
ps.c
qr.c
qr.h
raster.c
reedsol.c
reedsol.h
render.c
rss.c
rss.h
sjis.h
stdint_msvc.h
svg.c
telepen.c
tif.c
tif.h
upcean.c
zint.h
backend_qt
COPYING
3rdparty.pro
console
demo_r1
demo_r2
designer
designer_plugin
docs
include
limereport
tests
translations
.gitignore
.travis.yml
COPYING
LICENSE
README.md
common.pri
followTo.patch
limereport.pri
limereport.pro
qzint.pri
LimeReport/3rdparty/zint-2.6.1/backend/CMakeLists.txt
Rodrigo Torres ba828a984f Update zint
2017-09-04 00:44:16 -03:00

32 lines
1.2 KiB
CMake

# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >
project(zint)
find_package(PNG)
set(zint_COMMON_SRCS common.c library.c render.c large.c reedsol.c gs1.c eci.c)
set(zint_ONEDIM_SRCS code.c code128.c 2of5.c upcean.c telepen.c medical.c plessey.c rss.c)
set(zint_POSTAL_SRCS postal.c auspost.c imail.c)
set(zint_TWODIM_SRCS code16k.c codablock.c dmatrix.c pdf417.c qr.c maxicode.c composite.c aztec.c code49.c code1.c gridmtx.c hanxin.c dotcode.c)
set(zint_OUTPUT_SRCS render.c ps.c svg.c emf.c bmp.c pcx.c gif.c png.c tif.c raster.c)
set(zint_SRCS ${zint_OUTPUT_SRCS} ${zint_COMMON_SRCS} ${zint_ONEDIM_SRCS} ${zint_POSTAL_SRCS} ${zint_TWODIM_SRCS})
if(PNG_FOUND)
include_directories( ${PNG_INCLUDES} )
else(PNG_FOUND)
add_definitions (-DNO_PNG)
endif(PNG_FOUND)
add_library(zint SHARED ${zint_SRCS})
set_target_properties(zint PROPERTIES SOVERSION "${ZINT_VERSION_MAJOR}.${ZINT_VERSION_MINOR}"
VERSION ${ZINT_VERSION})
if(PNG_FOUND)
target_link_libraries(zint ${PNG_LIBRARIES} )
endif(PNG_FOUND)
target_link_libraries(zint -lm)
install(TARGETS zint ${INSTALL_TARGETS_DEFAULT_ARGS} )
install(FILES zint.h DESTINATION ${INCLUDE_INSTALL_DIR} COMPONENT Devel)