2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-D_NOTIFYHOOK_IMPL)
|
|
|
|
|
2012-03-07 21:21:27 +00:00
|
|
|
spec2def(notifyhook.dll notifyhook.spec ADD_IMPORTLIB)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
notifyhook.c
|
|
|
|
notifyhook.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/notifyhook.def)
|
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(notifyhook MODULE ${SOURCE})
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
set_module_type(notifyhook win32dll)
|
|
|
|
|
|
|
|
add_importlibs(notifyhook user32 msvcrt kernel32)
|
2012-03-07 21:21:27 +00:00
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET notifyhook DESTINATION reactos/system32 FOR all)
|