Debian Codegraph @

qt5/guiwrapper/CMakeLists.txt

raw
1 set(QT_WRAPPER_SRCS
2 main.cpp
3 wrapperapp.cpp
4 mainwindow.cpp
5 )
6
7 add_executable(fcitx5-qt5-gui-wrapper ${QT_WRAPPER_SRCS})
8
9 set_target_properties(fcitx5-qt5-gui-wrapper
10 PROPERTIES AUTOMOC TRUE AUTOUIC TRUE AUTOUIC_OPTIONS "-tr=fcitx::tr2fcitx;--include=fcitxqti18nhelper.h")
11
12 target_link_libraries(fcitx5-qt5-gui-wrapper
13 Fcitx5::Utils
14 Qt5::Core
15 Qt5::Gui
16 Qt5::Widgets
17 Fcitx5Qt5::DBusAddons
18 Fcitx5Qt5::WidgetsAddons
19 )
20
21 install(TARGETS fcitx5-qt5-gui-wrapper DESTINATION "${CMAKE_INSTALL_LIBEXECDIR}")
22 configure_file(org.fcitx.fcitx5-qt5-gui-wrapper.desktop.in.in ${CMAKE_CURRENT_BINARY_DIR}/org.fcitx.fcitx5-qt5-gui-wrapper.desktop.in @ONLY)
23 fcitx5_translate_desktop_file(${CMAKE_CURRENT_BINARY_DIR}/org.fcitx.fcitx5-qt5-gui-wrapper.desktop.in
24 org.fcitx.fcitx5-qt5-gui-wrapper.desktop)
25 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/org.fcitx.fcitx5-qt5-gui-wrapper.desktop DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)