[CMAKE]
[reactos.git] / dll / 3rdparty / libxslt / CMakeLists.txt
1
2 add_definitions(
3 -DHAVE_CONFIG_H
4 -DWIN32
5 -D_WINDOWS
6 -D_MBCS
7 -DHAVE_STAT
8 -DHAVE_WIN32_THREADS
9 -D_REENTRANT
10 -D_WINSOCKAPI_
11 -DLIBXML_STATIC
12 -D_DLL -D__USE_CRTIMP)
13
14 add_library(libxslt SHARED
15 attributes.c
16 attrvt.c
17 documents.c
18 extensions.c
19 extra.c
20 functions.c
21 imports.c
22 keys.c
23 namespaces.c
24 numbers.c
25 pattern.c
26 preproc.c
27 security.c
28 templates.c
29 transform.c
30 variables.c
31 xslt.c
32 xsltlocale.c
33 xsltutils.c)
34
35 set_entrypoint(libxslt 0)
36
37 target_link_libraries(libxslt libxml2)
38
39 add_importlibs(libxslt msvcrt ws2_32 kernel32)
40 if(MSVC)
41 add_importlibs(libxslt ntdll)
42 endif()
43
44 add_dependencies(libxslt psdk)
45
46 add_cd_file(TARGET libxslt DESTINATION reactos/system32 FOR all)