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