[APPCOMPAT] Move sdbtagid.h and sdbtypes.h to a shared location
[reactos.git] / 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 #add_definitions(-DSDBAPI_DEBUG_ALLOC)
7
8 spec2def(apphelp.dll apphelp.spec ADD_IMPORTLIB)
9
10 list(APPEND SOURCE
11 apphelp.c
12 dbgheap.c
13 hsdb.c
14 layer.c
15 sdbapi.c
16 sdbfileattr.c
17 sdbread.c
18 sdbstringtable.c
19 sdbwrite.c
20 shimeng.c
21 apphelp.spec
22 ${CMAKE_CURRENT_BINARY_DIR}/apphelp_stubs.c)
23
24 list(APPEND HEADERS
25 apphelp.h
26 sdbpapi.h
27 sdbstringtable.h
28 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/appcompat/sdbtagid.h
29 ${REACTOS_SOURCE_DIR}/sdk/include/reactos/appcompat/sdbtypes.h
30 sdbwrite.h
31 shimeng.h)
32
33 add_library(apphelp SHARED
34 ${SOURCE}
35 ${HEADERS}
36 apphelp.rc
37 ${CMAKE_CURRENT_BINARY_DIR}/apphelp.def)
38
39 set_module_type(apphelp win32dll UNICODE ENTRYPOINT DllMain 12)
40 add_delay_importlibs(apphelp version)
41 add_importlibs(apphelp kernel32 ntdll)
42 add_cd_file(TARGET apphelp DESTINATION reactos/system32 FOR all)