mirror of
https://github.com/reactos/reactos.git
synced 2025-01-12 01:00:06 +00:00
9ff87a62ad
- More work on the dlls. By Alexey Komarov. svn path=/branches/cmake-bringup/; revision=49135
61 lines
1 KiB
CMake
61 lines
1 KiB
CMake
|
|
add_definitions(-DWIN32 -D_WINDOWS -D_MBCS -DJPEG_DLL)
|
|
add_definitions(-Dmain=mainptr)
|
|
add_definitions(-D_DLL -D__USE_CRTIMP)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/libjpeg)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
|
|
|
|
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)
|
|
|
|
set_entrypoint(libjpeg 0)
|
|
|
|
add_importlibs(libjpeg msvcrt)
|
|
|
|
add_dependencies(libjpeg psdk buildno_header)
|