summaryrefslogtreecommitdiffstats
path: root/unix/x0vncserver
diff options
context:
space:
mode:
Diffstat (limited to 'unix/x0vncserver')
-rw-r--r--unix/x0vncserver/CMakeLists.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/unix/x0vncserver/CMakeLists.txt b/unix/x0vncserver/CMakeLists.txt
new file mode 100644
index 00000000..b2e1f86a
--- /dev/null
+++ b/unix/x0vncserver/CMakeLists.txt
@@ -0,0 +1,21 @@
+include_directories(${X11_INCLUDE_DIR})
+include_directories(${CMAKE_SOURCE_DIR}/unix/tx)
+include_directories(${CMAKE_SOURCE_DIR}/unix)
+include_directories(${CMAKE_SOURCE_DIR}/common)
+
+add_executable(x0vncserver
+ buildtime.c
+ Geometry.cxx
+ Image.cxx
+ PollingManager.cxx
+ PollingScheduler.cxx
+ TimeMillis.cxx
+ x0vncserver.cxx
+ XPixelBuffer.cxx
+ ../vncconfig/QueryConnectDialog.cxx
+)
+
+target_link_libraries(x0vncserver tx rfb network rdr ${X11_LIBRARIES})
+
+install(TARGETS x0vncserver DESTINATION bin)
+install(FILES x0vncserver.man DESTINATION man/man1 RENAME xvnc0server.1)