-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
45 lines (35 loc) · 1.1 KB
/
CMakeLists.txt
File metadata and controls
45 lines (35 loc) · 1.1 KB
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
project(grepview)
add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9001 )
########### next target ###############
set(kdevgrepview_PART_SRCS
grepviewplugin.cpp
grepdialog.cpp
grepoutputmodel.cpp
grepoutputdelegate.cpp
grepjob.cpp
grepfindthread.cpp
grepoutputview.cpp
greputil.cpp
)
set(kdevgrepview_PART_UI
grepwidget.ui
grepoutputview.ui
)
kde4_add_ui_files(kdevgrepview_PART_SRCS ${kdevgrepview_PART_UI})
kde4_add_plugin(kdevgrepview ${kdevgrepview_PART_SRCS})
target_link_libraries(kdevgrepview
${KDE4_KDECORE_LIBS}
${KDE4_KDEUI_LIBS}
${KDE4_KPARTS_LIBS}
${KDE4_KTEXTEDITOR_LIBS}
${KDEVPLATFORM_INTERFACES_LIBRARIES}
${KDEVPLATFORM_OUTPUTVIEW_LIBRARIES}
${KDEVPLATFORM_PROJECT_LIBRARIES}
${KDEVPLATFORM_UTIL_LIBRARIES}
${KDEVPLATFORM_LANGUAGE_LIBRARIES}
)
install(TARGETS kdevgrepview DESTINATION ${PLUGIN_INSTALL_DIR} )
########### install files ###############
install( FILES kdevgrepview.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( FILES kdevgrepview.rc DESTINATION ${DATA_INSTALL_DIR}/kdevgrepview )
add_subdirectory(tests)