]> Creatis software - gdcm.git/blob - src/jpeg/libijg/CMakeLists.txt
ENH: Fix warnings about 'main' being used as local var... and replace tabs with two...
[gdcm.git] / src / jpeg / libijg / CMakeLists.txt
1 # JPEG 8 bits project
2
3 # memmgr back ends: compile only one of these into a working library
4 # (For now, let's use the mode that requires the image fit into memory.
5 # This is the recommended mode for Win32 anyway.)
6 SET(systemdependent_SRCS jmemnobs.c)
7
8 # library object files common to compression and decompression
9 SET(common_SRCS
10 jcomapi.c jutils.c jerror.c jmemmgr.c
11 )
12
13 # compression library object files
14 SET(compression_SRCS
15 jcapimin.c jcapistd.c jctrans.c jcparam.c jdatadst.c jcinit.c
16 jcmaster.c jcmarker.c jcmainct.c jcprepct.c jccoefct.c jccolor.c
17 jcsample.c jchuff.c jcphuff.c jcdctmgr.c jfdctfst.c jfdctflt.c
18 jfdctint.c
19 )
20
21 # decompression library object files
22 SET(decompression_SRCS
23 jdapimin.c jdapistd.c jdtrans.c jdatasrc.c jdmaster.c
24 jdinput.c jdmarker.c jdhuff.c jdphuff.c jdmainct.c jdcoefct.c
25 jdpostct.c jddctmgr.c jidctfst.c jidctflt.c jidctint.c jidctred.c
26 jdsample.c jdcolor.c jquant1.c jquant2.c jdmerge.c
27 )
28
29 ADD_LIBRARY(gdcmijpeg8 ${systemdependent_SRCS} ${common_SRCS} ${compression_SRCS} ${decompression_SRCS})
30
31 INSTALL_TARGETS(/lib/ gdcmijpeg8)
32 INSTALL_FILES(/include .h jconfig.linux jconfig.vc)