[CMAKE]
[reactos.git] / dll / win32 / cryptdll / CMakeLists.txt
1
2
3
4 add_definitions(-D__WINESRC__)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(cryptdll ${CMAKE_CURRENT_SOURCE_DIR}/cryptdll.spec ${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def)
9
10 add_library(cryptdll SHARED cryptdll.c)
11
12 set_target_properties(cryptdll PROPERTIES LINK_FLAGS "-Wl,-entry,_DllMain@12")
13
14 target_link_libraries(cryptdll
15 ${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def
16 wine
17 mingw_common)
18
19 add_dependencies(cryptdll cryptdll_def psdk)