2010-11-27 09:00:22 +00:00
|
|
|
|
2010-09-25 19:17:39 +00:00
|
|
|
add_definitions(-D_NOTIFYHOOK_IMPL)
|
|
|
|
|
2010-12-03 19:20:45 +00:00
|
|
|
spec2def(notifyhook.dll notifyhook.spec)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
2010-11-27 09:00:22 +00:00
|
|
|
notifyhook.c
|
|
|
|
notifyhook.rc
|
2010-12-03 19:20:45 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/notifyhook.def)
|
|
|
|
|
|
|
|
add_library(notifyhook SHARED ${SOURCE})
|
2010-09-25 19:17:39 +00:00
|
|
|
|
|
|
|
set_module_type(notifyhook win32dll)
|
|
|
|
|
2010-11-27 09:00:22 +00:00
|
|
|
add_importlibs(notifyhook user32 msvcrt kernel32)
|
2010-12-03 19:20:45 +00:00
|
|
|
add_importlib_target(notifyhook.spec)
|
2010-11-27 09:00:22 +00:00
|
|
|
add_cab_target(notifyhook 1)
|