* Sync up to trunk HEAD (r62285). Branch guys deserve the significant speedups too ;)
[reactos.git] / 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 crypt32_private.h)
39
40 add_library(crypt32 SHARED
41 ${SOURCE}
42 crypt32.rc
43 ${CMAKE_CURRENT_BINARY_DIR}/crypt32_stubs.c
44 ${CMAKE_CURRENT_BINARY_DIR}/crypt32.def)
45
46 set_module_type(crypt32 win32dll)
47 target_link_libraries(crypt32 wine ${PSEH_LIB} oldnames)
48 add_importlibs(crypt32 user32 advapi32 msvcrt kernel32 ntdll)
49 add_pch(crypt32 crypt32_private.h SOURCE)
50 add_cd_file(TARGET crypt32 DESTINATION reactos/system32 FOR all)