summaryrefslogtreecommitdiffstats
path: root/win/wm_hooks/CMakeLists.txt
blob: 02bdb1f0883ce4bbba8f7ef2747c4d41d816624a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
include_directories(${CMAKE_BINARY_DIR}/win ${CMAKE_CURRENT_SOURCE_DIR})

add_library(wm_hooks SHARED
  ../wm_hooks/wm_hooks.cxx
  ../wm_hooks/wm_hooks.rc)

# We want the DLL to be named wm_hooks.dll rather than libwm_hooks.dll
set_target_properties(wm_hooks PROPERTIES PREFIX "")

install(TARGETS wm_hooks
  RUNTIME DESTINATION ${BIN_DIR}
)