[NEWDEV] Set the CM_PROB_FAILED_INSTALL problem code on failed install
[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}/sdk/include/reactos/libs/libjpeg
11 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib)
12
13 list(APPEND SOURCE
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 precomp.h)
61
62 add_library(libjpeg MODULE ${SOURCE})
63 set_module_type(libjpeg win32dll)
64 add_importlibs(libjpeg msvcrt kernel32)
65 add_pch(libjpeg precomp.h SOURCE)
66 add_cd_file(TARGET libjpeg DESTINATION reactos/system32 FOR all)