blob: 441d9bf9cb5b34368a065130a1b5f91f0a2e17a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
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 "")
target_include_directories(wm_hooks PUBLIC ${CMAKE_BINARY_DIR}/win)
target_include_directories(wm_hooks PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
install(TARGETS wm_hooks
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
)
|