3
INCLUDE_REGULAR_EXPRESSION("^(jchuff|jconfig|jdct|jdhuff|jerror|jinclude|jmemsys|jmorecfg|jpegint|jpeglib|jversion|jpeg).*$")
5
INCLUDE_DIRECTORIES(${FLTKJPEG_SOURCE_DIR})
6
INCLUDE_DIRECTORIES(${FLTKJPEG_BINARY_DIR})
8
# memmgr back ends: compile only one of these into a working library
9
# (For now, let's use the mode that requires the image fit into memory.
10
# This is the recommended mode for Win32 anyway.)
11
SET(systemdependent_SRCS jmemnobs.c)
13
# library object files common to compression and decompression
15
jcomapi.c jutils.c jerror.c jmemmgr.c
18
# compression library object files
20
jcapimin.c jcapistd.c jctrans.c jcparam.c jdatadst.c jcinit.c
21
jcmaster.c jcmarker.c jcmainct.c jcprepct.c jccoefct.c jccolor.c
22
jcsample.c jchuff.c jcphuff.c jcdctmgr.c jfdctfst.c jfdctflt.c
26
# decompression library object files
27
SET(decompression_SRCS
28
jdapimin.c jdapistd.c jdtrans.c jdatasrc.c jdmaster.c
29
jdinput.c jdmarker.c jdhuff.c jdphuff.c jdmainct.c jdcoefct.c
30
jdpostct.c jddctmgr.c jidctfst.c jidctflt.c jidctint.c jidctred.c
31
jdsample.c jdcolor.c jquant1.c jquant2.c jdmerge.c
34
ADD_LIBRARY(fltk_jpeg ${systemdependent_SRCS} ${common_SRCS} ${compression_SRCS} ${decompression_SRCS})