You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233
  1. include_directories(${CMAKE_BINARY_DIR}/win)
  2. # Disable auto-generated manifests, since we have our own
  3. if(MSVC)
  4. set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MANIFEST:NO")
  5. endif()
  6. add_library(wm_hooks SHARED
  7. ../wm_hooks/wm_hooks.cxx
  8. ../wm_hooks/wm_hooks.def
  9. ../wm_hooks/wm_hooks.rc)
  10. add_executable(winvnc4 WIN32
  11. buildTime.cxx
  12. ControlPanel.cxx
  13. JavaViewer.cxx
  14. ManagedListener.cxx
  15. QueryConnectDialog.cxx
  16. STrayIcon.cxx
  17. VNCServerService.cxx
  18. VNCServerWin32.cxx
  19. winvnc.cxx
  20. winvnc.rc)
  21. target_link_libraries(winvnc4 rfb rfb_win32 Xregion network rdr ws2_32.lib)
  22. install(TARGETS winvnc4
  23. RUNTIME DESTINATION .
  24. )
  25. install(TARGETS wm_hooks
  26. RUNTIME DESTINATION .
  27. )