summaryrefslogtreecommitdiffstats
path: root/win/wm_hooks
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2012-04-25 14:35:46 +0000
committerPierre Ossman <ossman@cendio.se>2012-04-25 14:35:46 +0000
commit4c378e0f930c749c8b6464320def86f7531b82e4 (patch)
treef00e6a62c7d0559edf006b9d96bd9c733b171f7d /win/wm_hooks
parent2b6dd6a4f7d5eb8bdcf4413a430e1d8e85514af4 (diff)
downloadtigervnc-4c378e0f930c749c8b6464320def86f7531b82e4.tar.gz
tigervnc-4c378e0f930c749c8b6464320def86f7531b82e4.zip
Build wm_hooks in its own directory. Makes the build structure more clear.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4896 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/wm_hooks')
-rw-r--r--win/wm_hooks/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/win/wm_hooks/CMakeLists.txt b/win/wm_hooks/CMakeLists.txt
new file mode 100644
index 00000000..071edafd
--- /dev/null
+++ b/win/wm_hooks/CMakeLists.txt
@@ -0,0 +1,13 @@
+include_directories(${CMAKE_BINARY_DIR}/win ${CMAKE_CURRENT_SOURCE_DIR})
+
+add_library(wm_hooks SHARED
+ ../wm_hooks/wm_hooks.cxx
+ ../wm_hooks/wm_hooks.def
+ ../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}
+)