[DINPUT]
[reactos.git] / reactos / dll / 3rdparty / libpng / CMakeLists.txt
1
2 add_definitions(
3 -DWIN32
4 -DNDEBUG
5 -D_WINDOWS
6 -DPNG_BUILD_DLL)
7
8 include_directories(
9 ${REACTOS_SOURCE_DIR}/include/reactos/libs/libpng
10 ${REACTOS_SOURCE_DIR}/include/reactos/libs/zlib)
11
12 add_library(libpng SHARED
13 png.c
14 pngerror.c
15 pngget.c
16 pngmem.c
17 pngpread.c
18 pngread.c
19 pngrio.c
20 pngrtran.c
21 pngrutil.c
22 pngset.c
23 pngtrans.c
24 pngwio.c
25 pngwrite.c
26 pngwtran.c
27 pngwutil.c)
28
29 set_module_type(libpng win32dll)
30 target_link_libraries(libpng zlib)
31 add_importlibs(libpng msvcrt kernel32 ntdll)
32 add_dependencies(libpng psdk)
33 add_cd_file(TARGET libpng DESTINATION reactos/system32 FOR all)