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

include_directories( SYSTEM
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

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}
)