* Sync up to trunk head (r64829).
[reactos.git] / dll / 3rdparty / libjpeg / CMakeLists.txt
1
2 add_definitions(
3 -DWIN32
4 -D_WINDOWS
5 -D_MBCS
6 -DJPEG_DLL
7 -Dmain=mainptr)
8
9 include_directories(
10 ${REACTOS_SOURCE_DIR}/include/reactos/libs/libjpeg
11 ${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
12
13 add_library(libjpeg SHARED
14 jaricom.c
15 jcapimin.c
16 jcapistd.c
17 jcarith.c
18 jccoefct.c
19 jccolor.c
20 jcdctmgr.c
21 jchuff.c
22 jcinit.c
23 jcmainct.c
24 jcmarker.c
25 jcmaster.c
26 jcomapi.c
27 jcparam.c
28 jcprepct.c
29 jcsample.c
30 jctrans.c
31 jdapimin.c
32 jdapistd.c
33 jdarith.c
34 jdatadst.c
35 jdatasrc.c
36 jdcoefct.c
37 jdcolor.c
38 jddctmgr.c
39 jdhuff.c
40 jdinput.c
41 jdmainct.c
42 jdmarker.c
43 jdmaster.c
44 jdmerge.c
45 jdpostct.c
46 jdsample.c
47 jdtrans.c
48 jerror.c
49 jfdctflt.c
50 jfdctfst.c
51 jfdctint.c
52 jidctflt.c
53 jidctfst.c
54 jidctint.c
55 jquant1.c
56 jquant2.c
57 jutils.c
58 jmemmgr.c
59 jmemnobs.c)
60
61 set_module_type(libjpeg win32dll)
62 add_importlibs(libjpeg msvcrt kernel32)
63 add_cd_file(TARGET libjpeg DESTINATION reactos/system32 FOR all)