[CMAKE]
[reactos.git] / dll / win32 / imagehlp / CMakeLists.txt
1
2 add_definitions(
3 -D_DLL -D__USE_CRTIMP
4 -D_IMAGEHLP_SOURCE_)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(imagehlp.dll imagehlp.spec)
9
10 list(APPEND SOURCE
11 access.c
12 imagehlp_main.c
13 integrity.c
14 modify.c
15 imagehlp.rc
16 ${CMAKE_CURRENT_BINARY_DIR}/imagehlp.def)
17
18 add_library(imagehlp SHARED
19 ${CMAKE_CURRENT_BINARY_DIR}/imagehlp_precomp.h.gch
20 ${SOURCE})
21
22 set_module_type(imagehlp win32dll)
23
24 target_link_libraries(imagehlp wine)
25
26 add_importlibs(imagehlp dbghelp msvcrt kernel32 ntdll)
27 add_importlib_target(imagehlp.spec)
28
29 add_pch(imagehlp ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
30
31 add_cab_target(imagehlp 1)