[CMAKE]
[reactos.git] / dll / win32 / crypt32 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_DLL
5 -D__USE_CRTIMP
6 -D_WINE)
7
8 remove_definitions(-D_WIN32_WINNT=0x502)
9 add_definitions(-D_WIN32_WINNT=0x600)
10
11 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
12
13 spec2def(crypt32.dll crypt32.spec)
14
15 add_library(crypt32 SHARED
16 base64.c
17 cert.c
18 chain.c
19 collectionstore.c
20 context.c
21 crl.c
22 ctl.c
23 decode.c
24 encode.c
25 filestore.c
26 main.c
27 message.c
28 msg.c
29 object.c
30 oid.c
31 proplist.c
32 protectdata.c
33 provstore.c
34 regstore.c
35 rootstore.c
36 serialize.c
37 sip.c
38 store.c
39 str.c
40 crypt32.rc
41 version.rc
42 ${CMAKE_CURRENT_BINARY_DIR}/crypt32.def)
43
44 set_module_type(crypt32 win32dll)
45
46 target_link_libraries(crypt32
47 wine
48 pseh
49 oldnames)
50
51 add_importlibs(crypt32 user32 advapi32 msvcrt kernel32 ntdll)
52
53 add_cab_target(crypt32 1)