* Sync up to trunk r55544.
[reactos.git] / dll / win32 / crypt32 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -D_WINE)
5
6 remove_definitions(-D_WIN32_WINNT=0x502)
7 add_definitions(-D_WIN32_WINNT=0x600)
8
9 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
10
11 set_rc_compiler()
12
13 spec2def(crypt32.dll crypt32.spec)
14
15 list(APPEND SOURCE
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 ${CMAKE_CURRENT_BINARY_DIR}/crypt32_stubs.c
42 ${CMAKE_CURRENT_BINARY_DIR}/crypt32.def)
43
44 add_library(crypt32 SHARED ${SOURCE})
45
46 allow_warnings(crypt32)
47
48 set_module_type(crypt32 win32dll)
49
50 target_link_libraries(crypt32
51 wine
52 ${PSEH_LIB}
53 oldnames)
54
55 add_importlibs(crypt32 user32 advapi32 msvcrt kernel32 ntdll)
56 add_cd_file(TARGET crypt32 DESTINATION reactos/system32 FOR all)
57 add_importlib_target(crypt32.spec)