mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00

- Improve win32k, lib{jpeg,png,tiff,xslt} and win32k. svn path=/branches/cmake-bringup/; revision=49488
62 lines
1.1 KiB
CMake
62 lines
1.1 KiB
CMake
|
|
add_definitions(
|
|
-DWIN32
|
|
-DNDEBUG
|
|
-DBUILD_LIBTIFF_DLL
|
|
-DDLL_EXPORT
|
|
-DUSE_WIN32_FILEIO
|
|
-D_DLL -D__USE_CRTIMP)
|
|
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/libtiff
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
|
|
|
|
add_library(libtiff SHARED
|
|
mkg3states.c
|
|
tif_aux.c
|
|
tif_close.c
|
|
tif_codec.c
|
|
tif_color.c
|
|
tif_compress.c
|
|
tif_dir.c
|
|
tif_dirinfo.c
|
|
tif_dirread.c
|
|
tif_dirwrite.c
|
|
tif_dumpmode.c
|
|
tif_error.c
|
|
tif_extension.c
|
|
tif_fax3.c
|
|
tif_fax3sm.c
|
|
tif_flush.c
|
|
tif_getimage.c
|
|
tif_jbig.c
|
|
tif_jpeg.c
|
|
tif_luv.c
|
|
tif_lzw.c
|
|
tif_next.c
|
|
tif_ojpeg.c
|
|
tif_open.c
|
|
tif_packbits.c
|
|
tif_pixarlog.c
|
|
tif_predict.c
|
|
tif_print.c
|
|
tif_read.c
|
|
tif_strip.c
|
|
tif_swab.c
|
|
tif_thunder.c
|
|
tif_tile.c
|
|
tif_version.c
|
|
tif_warning.c
|
|
tif_win32.c
|
|
tif_write.c
|
|
tif_zip.c)
|
|
|
|
set_entrypoint(libtiff 0)
|
|
|
|
target_link_libraries(libtiff mingw_common zlib getopt)
|
|
|
|
add_importlibs(libtiff user32 msvcrt kernel32)
|
|
|
|
add_dependencies(libtiff psdk buildno_header)
|
|
|
|
add_cab_target(libtiff 1)
|