summaryrefslogtreecommitdiffstats
path: root/dcop/KDE-ICE/CMakeLists.txt
blob: 6963d501750751a87bf23374e407c1a92732615a (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
#################################################
#
#  (C) 2010 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -include tqt.h" )

add_definitions(
  -DICE_t
  -DTRANS_SERVER
  -DTRANS_CLIENT
  -DUNIXCONN
  -DANSICPP
)

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}/dcop
  ${TQT_INCLUDE_DIRS}
)


##### kICE ######################################

set( target kICE )

set( ${target}_SRCS
  accept.c authutil.c connect.c error.c getauth.c
  iceauth.c listen.c listenwk.c locking.c misc.c
  ping.c process.c protosetup.c register.c replywait.c
  setauth.c shutdown.c watch.c transport.c globals.c
)

tde_add_library( ${target} STATIC_PIC
  SOURCES ${${target}_SRCS}
)