You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
342 B
CMake
13 lines
342 B
CMake
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}
|
|
)
|