[APPHELP/SHIMENG] Begin implementing the core of the SHIM engine.
[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=0x601 -DWINVER=0x601)
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 shimeng.c
19 apphelp.spec
20 apphelp.h
21 ${CMAKE_CURRENT_BINARY_DIR}/apphelp_stubs.c)
22
23 add_library(apphelp SHARED
24 ${SOURCE}
25 apphelp.rc
26 ${CMAKE_CURRENT_BINARY_DIR}/apphelp.def)
27
28 set_module_type(apphelp win32dll)
29 target_link_libraries(apphelp wine)
30 add_delay_importlibs(apphelp version)
31 add_importlibs(apphelp msvcrt kernel32 ntdll)
32 add_cd_file(TARGET apphelp DESTINATION reactos/system32 FOR all)