1
2add_definitions(-D_NOTIFYHOOK_IMPL)
3
4spec2def(notifyhook.dll notifyhook.spec ADD_IMPORTLIB)
5
6list(APPEND SOURCE
7    notifyhook.c
8    notifyhook.rc
9    ${CMAKE_CURRENT_BINARY_DIR}/notifyhook.def)
10
11add_library(notifyhook MODULE ${SOURCE})
12
13set_module_type(notifyhook win32dll)
14
15add_importlibs(notifyhook user32 msvcrt kernel32)
16
17add_cd_file(TARGET notifyhook DESTINATION reactos/system32 FOR all)
18