Warning, /maui/mauikit-terminal/src/lib/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 project(KTerminalLib)
0002 
0003 include_directories(
0004     ${CMAKE_CURRENT_SOURCE_DIR})
0005 
0006 # this lib uses them
0007 add_definitions(-DHAVE_POSIX_OPENPT -DHAVE_SYS_TIME_H)
0008 remove_definitions(-DQT_NO_SIGNALS_SLOTS_KEYWORDS)
0009 remove_definitions(-DQT_NO_KEYWORDS)
0010 remove_definitions(-DQT_NO_CAST_TO_ASCII)
0011 remove_definitions(-DQT_NO_CAST_FROM_ASCII)
0012 set(lib_SRCS
0013 
0014     BlockArray.cpp
0015     ColorScheme.cpp
0016     customcolorscheme.cpp
0017     Emulation.cpp
0018     Filter.cpp
0019     History.cpp
0020     HistorySearch.cpp
0021     KeyboardTranslator.cpp
0022     konsole_wcwidth.cpp
0023     kprocess.cpp
0024     kpty.cpp
0025     kptydevice.cpp
0026     kptyprocess.cpp
0027     ProcessInfo.cpp
0028     Pty.cpp
0029     Screen.cpp
0030     ScreenWindow.cpp
0031     Session.cpp
0032     ksession.cpp
0033     ShellCommand.cpp
0034     TerminalCharacterDecoder.cpp
0035     TerminalDisplay.cpp
0036     tools.cpp
0037     Vt102Emulation.cpp)
0038 
0039 add_library(${PROJECT_NAME} STATIC
0040     ${lib_SRCS})
0041 
0042 target_link_libraries(${PROJECT_NAME}
0043     Qt${QT_MAJOR_VERSION}::Core
0044     Qt${QT_MAJOR_VERSION}::Quick
0045     Qt${QT_MAJOR_VERSION}::Gui
0046     Qt${QT_MAJOR_VERSION}::Widgets
0047     KF${KF_MAJOR_VERSION}::CoreAddons
0048     KF${KF_MAJOR_VERSION}::ConfigCore)
0049 
0050 install(DIRECTORY color-schemes DESTINATION ${KDE_INSTALL_QMLDIR}/org/mauikit/terminal)
0051 install(DIRECTORY kb-layouts DESTINATION ${KDE_INSTALL_QMLDIR}/org/mauikit/terminal)