2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(
|
|
|
|
-DWIN32
|
|
|
|
-D_WINDOWS
|
|
|
|
-D_MBCS
|
2012-10-24 21:49:09 +00:00
|
|
|
-DJPEG_DLL
|
|
|
|
-Dmain=mainptr)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
include_directories(
|
2016-04-20 12:36:25 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/libjpeg
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_library(libjpeg SHARED
|
|
|
|
jaricom.c
|
|
|
|
jcapimin.c
|
|
|
|
jcapistd.c
|
|
|
|
jcarith.c
|
|
|
|
jccoefct.c
|
|
|
|
jccolor.c
|
|
|
|
jcdctmgr.c
|
|
|
|
jchuff.c
|
|
|
|
jcinit.c
|
|
|
|
jcmainct.c
|
|
|
|
jcmarker.c
|
|
|
|
jcmaster.c
|
|
|
|
jcomapi.c
|
|
|
|
jcparam.c
|
|
|
|
jcprepct.c
|
|
|
|
jcsample.c
|
|
|
|
jctrans.c
|
|
|
|
jdapimin.c
|
|
|
|
jdapistd.c
|
|
|
|
jdarith.c
|
|
|
|
jdatadst.c
|
|
|
|
jdatasrc.c
|
|
|
|
jdcoefct.c
|
|
|
|
jdcolor.c
|
|
|
|
jddctmgr.c
|
|
|
|
jdhuff.c
|
|
|
|
jdinput.c
|
|
|
|
jdmainct.c
|
|
|
|
jdmarker.c
|
|
|
|
jdmaster.c
|
|
|
|
jdmerge.c
|
|
|
|
jdpostct.c
|
|
|
|
jdsample.c
|
|
|
|
jdtrans.c
|
|
|
|
jerror.c
|
|
|
|
jfdctflt.c
|
|
|
|
jfdctfst.c
|
|
|
|
jfdctint.c
|
|
|
|
jidctflt.c
|
|
|
|
jidctfst.c
|
|
|
|
jidctint.c
|
|
|
|
jquant1.c
|
|
|
|
jquant2.c
|
|
|
|
jutils.c
|
|
|
|
jmemmgr.c
|
|
|
|
jmemnobs.c)
|
|
|
|
|
2012-10-24 22:03:25 +00:00
|
|
|
set_module_type(libjpeg win32dll)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(libjpeg msvcrt kernel32)
|
|
|
|
add_cd_file(TARGET libjpeg DESTINATION reactos/system32 FOR all)
|