2016-03-31 12:54:05 +00:00
|
|
|
|
2016-10-30 19:39:43 +00:00
|
|
|
include_directories(${SHIMLIB_DIR})
|
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502 -DWINVER=0x502)
|
2017-07-01 20:06:30 +00:00
|
|
|
add_definitions(-D_WIN32_WINNT=0x601 -DWINVER=0x601)
|
2017-07-27 20:36:51 +00:00
|
|
|
#add_definitions(-DSDBAPI_DEBUG_ALLOC)
|
2016-10-30 19:39:43 +00:00
|
|
|
|
2016-03-31 12:54:05 +00:00
|
|
|
spec2def(apphelp.dll apphelp.spec ADD_IMPORTLIB)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
apphelp.c
|
2017-07-28 19:00:27 +00:00
|
|
|
dbgheap.c
|
2016-09-03 16:20:52 +00:00
|
|
|
hsdb.c
|
2016-03-31 12:54:05 +00:00
|
|
|
layer.c
|
2016-05-01 19:12:06 +00:00
|
|
|
sdbapi.c
|
2016-06-11 21:12:43 +00:00
|
|
|
sdbfileattr.c
|
2016-05-22 20:27:02 +00:00
|
|
|
sdbread.c
|
2016-06-11 21:12:43 +00:00
|
|
|
sdbstringtable.c
|
2016-05-22 20:27:02 +00:00
|
|
|
sdbwrite.c
|
2017-05-13 18:49:27 +00:00
|
|
|
shimeng.c
|
2016-03-31 12:54:05 +00:00
|
|
|
apphelp.spec
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/apphelp_stubs.c)
|
|
|
|
|
2017-09-08 20:19:51 +00:00
|
|
|
list(APPEND HEADERS
|
|
|
|
apphelp.h
|
|
|
|
sdbpapi.h
|
|
|
|
sdbstringtable.h
|
2019-01-03 21:11:13 +00:00
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/appcompat/sdbtagid.h
|
|
|
|
${REACTOS_SOURCE_DIR}/sdk/include/reactos/appcompat/sdbtypes.h
|
2017-09-08 20:19:51 +00:00
|
|
|
sdbwrite.h
|
|
|
|
shimeng.h)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(apphelp MODULE
|
2016-03-31 12:54:05 +00:00
|
|
|
${SOURCE}
|
2017-09-08 20:19:51 +00:00
|
|
|
${HEADERS}
|
2016-10-30 19:39:43 +00:00
|
|
|
apphelp.rc
|
2016-03-31 12:54:05 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/apphelp.def)
|
|
|
|
|
2017-07-28 19:00:27 +00:00
|
|
|
set_module_type(apphelp win32dll UNICODE ENTRYPOINT DllMain 12)
|
2016-05-01 19:12:06 +00:00
|
|
|
add_delay_importlibs(apphelp version)
|
2017-07-28 19:00:27 +00:00
|
|
|
add_importlibs(apphelp kernel32 ntdll)
|
2016-03-31 12:54:05 +00:00
|
|
|
add_cd_file(TARGET apphelp DESTINATION reactos/system32 FOR all)
|