[SHELL32] SHChangeNotify: Add drive, remove drive (#6782)
[reactos.git] / dll / 3rdparty / libxslt / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/libxslt
3 ${REACTOS_SOURCE_DIR}/sdk/lib/3rdparty/libwin-iconv)
4
5 add_definitions(
6 -DHAVE_CONFIG_H
7 -DWIN32
8 -D_WINDOWS
9 -D_MBCS
10 -DHAVE_STAT
11 -DHAVE_WIN32_THREADS
12 -D_REENTRANT
13 -DLIBXML_STATIC)
14
15 list(APPEND SOURCE
16 attributes.c
17 attrvt.c
18 documents.c
19 extensions.c
20 extra.c
21 functions.c
22 imports.c
23 keys.c
24 namespaces.c
25 numbers.c
26 pattern.c
27 preproc.c
28 security.c
29 templates.c
30 transform.c
31 variables.c
32 xslt.c
33 xsltlocale.c
34 xsltutils.c
35 precomp.h)
36
37 add_library(libxslt MODULE ${SOURCE})
38 set_module_type(libxslt win32dll)
39 target_link_libraries(libxslt libxml2 iconv-static zlib)
40 add_importlibs(libxslt msvcrt ws2_32 kernel32)
41
42 if(MSVC)
43 add_importlibs(libxslt ntdll)
44 endif()
45
46 if(NOT MSVC)
47 target_compile_options(libxslt PRIVATE -Wno-misleading-indentation -Wno-pointer-sign -Wno-unused-function)
48 endif()
49
50 add_pch(libxslt precomp.h SOURCE)
51 add_cd_file(TARGET libxslt DESTINATION reactos/system32 FOR all)