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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
|
add_definitions(-DTRANSLATION_DOMAIN=\"kdevplatform\")
########### next target ###############
set(KDevPlatformUtil_LIB_SRCS
autoorientedsplitter.cpp
filesystemhelpers.cpp
foregroundlock.cpp
formattinghelpers.cpp
zoomcontroller.cpp
kdevstringhandler.cpp
focusedtreeview.cpp
processlinemaker.cpp
commandexecutor.cpp
environmentselectionwidget.cpp
environmentselectionmodel.cpp
environmentprofilelist.cpp
jobstatus.cpp
activetooltip.cpp
executecompositejob.cpp
shellutils.cpp
multilevellistview.cpp
objectlist.cpp
placeholderitemproxymodel.cpp
projecttestjob.cpp
widgetcolorizer.cpp
path.cpp
texteditorhelpers.cpp
stack.cpp
expandablelineedit.cpp
)
if(NOT WIN32)
add_subdirectory(dbus_socket_transformer)
endif()
if(BUILD_TESTING)
add_subdirectory(duchainify) # needs KDev::Tests
endif()
if(BUILD_TESTING)
add_subdirectory(tests)
endif()
declare_qt_logging_category(KDevPlatformUtil_LIB_SRCS
TYPE LIBRARY
CATEGORY_BASENAME "util"
)
kdevplatform_add_library(KDevPlatformUtil SOURCES ${KDevPlatformUtil_LIB_SRCS})
target_link_libraries(KDevPlatformUtil
PUBLIC
KDev::Interfaces
PRIVATE
KF5::ItemModels
KF5::GuiAddons
)
install( FILES kdevplatform_shell_environment.sh DESTINATION bin PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ)
add_executable(kdev_format_source kdevformatsource.cpp kdevformatfile.cpp)
ecm_mark_nongui_executable(kdev_format_source)
target_link_libraries(kdev_format_source Qt5::Core)
install(TARGETS kdev_format_source DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(FILES .zshrc PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ
DESTINATION ${KDE_INSTALL_DATAROOTDIR}/kdevplatform/shellutils/)
########### install files ###############
install( FILES
autoorientedsplitter.h
filesystemhelpers.h
foregroundlock.h
formattinghelpers.h
zoomcontroller.h
wildcardhelpers.h
kdevstringhandler.h
ksharedobject.h
focusedtreeview.h
activetooltip.h
processlinemaker.h
commandexecutor.h
environmentselectionwidget.h
environmentprofilelist.h
jobstatus.h
pushvalue.h
kdevvarlengtharray.h
embeddedfreetree.h
executecompositejob.h
convenientfreelist.h
multilevellistview.h
objectlist.h
placeholderitemproxymodel.h
projecttestjob.h
widgetcolorizer.h
path.h
stack.h
texteditorhelpers.h
${CMAKE_CURRENT_BINARY_DIR}/utilexport.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/util COMPONENT Devel)
|