summaryrefslogtreecommitdiffstats
path: root/tools/designer/editor/CMakeLists.txt
blob: 9d4070d6a91a66f8c504b82a91ff1f5722767423 (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

include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_SOURCE_DIR}/mkspecs/linux-g++-64
  ${CMAKE_BINARY_DIR}/include
  ${ZLIB_INCLUDE_DIRS}
)

link_directories()


##### tqteditor (shared)

set( target tqteditor )

set( ${target}_SOURCES
    editor.cpp
    parenmatcher.cpp
    completion.cpp
    viewmanager.cpp
    markerwidget.cpp
    conf.cpp
    browser.cpp
    arghintwidget.cpp
    cindent.cpp
    yyindent.cpp

    preferences.ui
)

tde_add_library( ${target} SHARED
  SOURCES ${${target}_SOURCES}
  LINK tqt-mt-shared
  VERSION 1.0.0
  DESTINATION ${LIB_INSTALL_DIR}
  DEPENDENCIES tquic
)

tqt_automoc( ${target}-shared )