| 1 |
set(CUSTOMPHRASEEDITOR_SOURCES |
| 2 |
main.cpp |
| 3 |
customphraseeditor.cpp |
| 4 |
customphrasemodel.cpp |
| 5 |
editordialog.cpp |
| 6 |
../../im/pinyin/customphrase.cpp |
| 7 |
) |
| 8 |
|
| 9 |
add_library(customphraseeditor MODULE ${CUSTOMPHRASEEDITOR_SOURCES}) |
| 10 |
target_link_libraries(customphraseeditor Fcitx5Qt${QT_MAJOR_VERSION}::WidgetsAddons ${BROWSER_TARGET} Qt${QT_MAJOR_VERSION}::Concurrent LibIME::Core) |
| 11 |
set_target_properties(customphraseeditor PROPERTIES AUTOMOC TRUE AUTOUIC TRUE AUTOUIC_OPTIONS "-tr=fcitx::tr2fcitx;--include=fcitxqti18nhelper.h") |
| 12 |
|
| 13 |
install(TARGETS customphraseeditor DESTINATION ${CMAKE_INSTALL_LIBDIR}/fcitx5/qt${QT_MAJOR_VERSION}) |