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

add_definitions(
  ${TQT_CFLAGS_OTHER}
  -include tqt.h
)

include_directories(
  ${TQT_INCLUDE_DIRS}
  ${CMAKE_BINARY_DIR}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


##### dcopidl ###################################

set( target dcopidl )

set( ${target}_SRCS
  main.cpp yacc.cc scanner.cc
)

tde_add_executable( ${target}
  SOURCES ${${target}_SRCS}
  LINK DCOP-shared
  DESTINATION ${BIN_INSTALL_DIR}
)