019a87474102002148c8c3d9e0071316ddb93ac6
[reactos.git] / reactos / dll / appcompat / apphelp / CMakeLists.txt
1
2 include_directories(${SHIMLIB_DIR})
3
4 remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
5 add_definitions(-D_WIN32_WINNT=0x600 -DWINVER=0x600)
6
7 spec2def(apphelp.dll apphelp.spec ADD_IMPORTLIB)
8
9 list(APPEND SOURCE
10 apphelp.c
11 hsdb.c
12 layer.c
13 sdbapi.c
14 sdbfileattr.c
15 sdbread.c
16 sdbstringtable.c
17 sdbwrite.c
18 apphelp.spec
19 apphelp.h
20 ${CMAKE_CURRENT_BINARY_DIR}/apphelp_stubs.c)
21
22 add_library(apphelp SHARED
23 ${SOURCE}
24 apphelp.rc
25 ${CMAKE_CURRENT_BINARY_DIR}/apphelp.def)
26
27 set_module_type(apphelp win32dll)
28 target_link_libraries(apphelp wine)
29 add_delay_importlibs(apphelp version)
30 add_importlibs(apphelp msvcrt kernel32 ntdll)
31 add_cd_file(TARGET apphelp DESTINATION reactos/system32 FOR all)