summaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/CMakeLists.txt
blob: 83d7f1c62a1bdb932b1159ed228f0a8db7a07744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
set(RFB_WIN32_SOURCES
  AboutDialog.cxx
  CKeyboard.cxx
  Clipboard.cxx
  CPointer.cxx
  CurrentUser.cxx
  DeviceContext.cxx
  DeviceFrameBuffer.cxx
  Dialog.cxx
  DIBSectionBuffer.cxx
  DynamicFn.cxx
  EventManager.cxx
  LaunchProcess.cxx
  ListViewControl.cxx
  LowLevelKeyEvents.cxx
  MonitorInfo.cxx
  MsgWindow.cxx
  OSVersion.cxx
  ProgressControl.cxx
  RegConfig.cxx
  Registry.cxx
  ScaledDIBSectionBuffer.cxx
  SecurityPage.cxx
  SDisplayCorePolling.cxx
  SDisplayCoreWMHooks.cxx
  SDisplay.cxx
  Security.cxx
  Service.cxx
  SInput.cxx
  SocketManager.cxx
  TCharArray.cxx
  Threading.cxx
  ToolBar.cxx
  TsSessions.cxx
  Win32Util.cxx
  WMCursor.cxx
  WMHooks.cxx
  WMNotifier.cxx
  WMPoller.cxx
  WMShatter.cxx
  WMWindowCopyRect.cxx)

if(BUILD_WINVNC)
  set(RFB_WIN32_SOURCES ${RFB_WIN32_SOURCES} CleanDesktop.cxx)
endif()

add_library(rfb_win32 STATIC ${RFB_WIN32_SOURCES})

target_link_libraries(rfb_win32 user32.lib comctl32.lib version.lib)