summaryrefslogtreecommitdiffstats
path: root/kommander/widget/CMakeLists.txt
blob: 38fb56f7910187edc131ec5f3d936375b06d82d3 (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
include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
  ${CMAKE_SOURCE_DIR}/kommander/plugin
  ${CMAKE_SOURCE_DIR}/kommander/factory
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### kommanderwidget (shared)

tde_add_library( kommanderwidget SHARED AUTOMOC

  SOURCES
        expression.cpp function.cpp
        functionlib.cpp invokeclass.cpp
        kmdrmainwindow.cpp kommanderfunctions.cpp
        kommanderwidget.cpp kommanderwindow.cpp
        myprocess.cpp parsenode.cpp
        parser.cpp parserdata.cpp
  LINK
     tdecore-shared
     tdeio-shared
     tdeui-shared
     kommanderplugin-shared
     kommanderfactory-static

  DESTINATION ${LIB_INSTALL_DIR}
  
  VERSION 0.0.0
)


##### headers

install(
    FILES kommanderwidget.h kommander_export.h
    DESTINATION ${INCLUDE_INSTALL_DIR}
)