* Sync with trunk r64401.
[reactos.git] / dll / win32 / crypt32 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_WINE
5 -D_CRYPT32_)
6
7 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
8 spec2def(crypt32.dll crypt32.spec ADD_IMPORTLIB)
9
10 list(APPEND SOURCE
11 base64.c
12 cert.c
13 chain.c
14 collectionstore.c
15 context.c
16 crl.c
17 ctl.c
18 decode.c
19 encode.c
20 filestore.c
21 main.c
22 message.c
23 msg.c
24 object.c
25 oid.c
26 proplist.c
27 protectdata.c
28 provstore.c
29 regstore.c
30 rootstore.c
31 serialize.c
32 sip.c
33 store.c
34 str.c
35 crypt32_private.h)
36
37 add_library(crypt32 SHARED
38 ${SOURCE}
39 crypt32.rc
40 ${CMAKE_CURRENT_BINARY_DIR}/crypt32_stubs.c
41 ${CMAKE_CURRENT_BINARY_DIR}/crypt32.def)
42
43 set_module_type(crypt32 win32dll)
44 target_link_libraries(crypt32 wine ${PSEH_LIB} oldnames)
45 add_importlibs(crypt32 user32 advapi32 shlwapi msvcrt kernel32 ntdll)
46 add_delay_importlibs(crypt32 cryptnet)
47 add_pch(crypt32 crypt32_private.h SOURCE)
48 add_cd_file(TARGET crypt32 DESTINATION reactos/system32 FOR all)