mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
Reviewed-on: https://codeberg.org/leana8959/.files/pulls/25 Co-authored-by: Léana 江 <leana.jiang+git@icloud.com> Co-committed-by: Léana 江 <leana.jiang+git@icloud.com>
45 lines
2.5 KiB
Diff
45 lines
2.5 KiB
Diff
diff --git a/src/modules/quickphrase/CMakeLists.txt b/src/modules/quickphrase/CMakeLists.txt
|
|
index b5bc37ac..04f4da59 100644
|
|
--- a/src/modules/quickphrase/CMakeLists.txt
|
|
+++ b/src/modules/quickphrase/CMakeLists.txt
|
|
@@ -1,13 +1,13 @@
|
|
-add_fcitx5_addon(quickphrase quickphrase.cpp quickphraseprovider.cpp)
|
|
-target_link_libraries(quickphrase Fcitx5::Core Fcitx5::Module::Spell)
|
|
-install(TARGETS quickphrase DESTINATION "${FCITX_INSTALL_ADDONDIR}")
|
|
+# add_fcitx5_addon(quickphrase quickphrase.cpp quickphraseprovider.cpp)
|
|
+# target_link_libraries(quickphrase Fcitx5::Core Fcitx5::Module::Spell)
|
|
+# install(TARGETS quickphrase DESTINATION "${FCITX_INSTALL_ADDONDIR}")
|
|
configure_file(quickphrase.conf.in.in quickphrase.conf.in @ONLY)
|
|
fcitx5_translate_desktop_file(${CMAKE_CURRENT_BINARY_DIR}/quickphrase.conf.in quickphrase.conf)
|
|
-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/quickphrase.conf" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/addon"
|
|
- COMPONENT config)
|
|
+# install(FILES "${CMAKE_CURRENT_BINARY_DIR}/quickphrase.conf" DESTINATION "${FCITX_INSTALL_PKGDATADIR}/addon"
|
|
+# COMPONENT config)
|
|
fcitx5_export_module(QuickPhrase TARGET quickphrase BUILD_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_SOURCE_DIR}" HEADERS quickphrase_public.h INSTALL)
|
|
|
|
-install(DIRECTORY quickphrase.d DESTINATION "${FCITX_INSTALL_PKGDATADIR}/data"
|
|
- COMPONENT config
|
|
- FILES_MATCHING PATTERN "*.mb")
|
|
+# install(DIRECTORY quickphrase.d DESTINATION "${FCITX_INSTALL_PKGDATADIR}/data"
|
|
+# COMPONENT config
|
|
+# FILES_MATCHING PATTERN "*.mb")
|
|
|
|
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
|
|
index 643d96f4..0916c732 100644
|
|
--- a/test/CMakeLists.txt
|
|
+++ b/test/CMakeLists.txt
|
|
@@ -162,10 +162,10 @@ if (ENABLE_KEYBOARD)
|
|
add_test(NAME testspell COMMAND testspell)
|
|
endif()
|
|
|
|
-add_executable(testquickphrase testquickphrase.cpp)
|
|
-target_link_libraries(testquickphrase Fcitx5::Core Fcitx5::Module::QuickPhrase Fcitx5::Module::TestFrontend Fcitx5::Module::TestIM)
|
|
-add_dependencies(testquickphrase copy-addon quickphrase testui testfrontend testim)
|
|
-add_test(NAME testquickphrase COMMAND testquickphrase)
|
|
+# add_executable(testquickphrase testquickphrase.cpp)
|
|
+# target_link_libraries(testquickphrase Fcitx5::Core Fcitx5::Module::QuickPhrase Fcitx5::Module::TestFrontend Fcitx5::Module::TestIM)
|
|
+# add_dependencies(testquickphrase copy-addon quickphrase testui testfrontend testim)
|
|
+# add_test(NAME testquickphrase COMMAND testquickphrase)
|
|
|
|
if (ENABLE_X11)
|
|
add_executable(testxim testxim.cpp)
|