-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional Auto-Type improvements based on feedback
- Loading branch information
1 parent
f3e37d9
commit cfdfcd0
Showing
8 changed files
with
186 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
set(autotype_mac_SOURCES AutoTypeMac.cpp) | ||
|
||
add_library(keepassx-autotype-cocoa MODULE ${autotype_mac_SOURCES}) | ||
set_target_properties(keepassx-autotype-cocoa PROPERTIES LINK_FLAGS "-framework Foundation -framework AppKit -framework Carbon") | ||
target_link_libraries(keepassx-autotype-cocoa ${PROGNAME} Qt5::Core Qt5::Widgets) | ||
add_library(keepassxc-autotype-cocoa MODULE ${autotype_mac_SOURCES}) | ||
set_target_properties(keepassxc-autotype-cocoa PROPERTIES LINK_FLAGS "-framework Foundation -framework AppKit -framework Carbon") | ||
target_link_libraries(keepassxc-autotype-cocoa ${PROGNAME} Qt5::Core Qt5::Widgets) | ||
|
||
if(WITH_APP_BUNDLE) | ||
add_custom_command(TARGET keepassx-autotype-cocoa | ||
add_custom_command(TARGET keepassxc-autotype-cocoa | ||
POST_BUILD | ||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/libkeepassx-autotype-cocoa.so ${PLUGIN_INSTALL_DIR}/libkeepassx-autotype-cocoa.so | ||
COMMAND ${MACDEPLOYQT_EXE} ${PROGNAME}.app -executable=${PLUGIN_INSTALL_DIR}/libkeepassx-autotype-cocoa.so -no-plugins 2> /dev/null | ||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/libkeepassxc-autotype-cocoa.so ${PLUGIN_INSTALL_DIR}/libkeepassxc-autotype-cocoa.so | ||
COMMAND ${MACDEPLOYQT_EXE} ${PROGNAME}.app -executable=${PLUGIN_INSTALL_DIR}/libkeepassxc-autotype-cocoa.so -no-plugins 2> /dev/null | ||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/src | ||
COMMENT "Deploying autotype plugin") | ||
else() | ||
install(TARGETS keepassx-autotype-cocoa | ||
install(TARGETS keepassxc-autotype-cocoa | ||
BUNDLE DESTINATION . COMPONENT Runtime | ||
LIBRARY DESTINATION ${PLUGIN_INSTALL_DIR} COMPONENT Runtime) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
set(autotype_test_SOURCES AutoTypeTest.cpp) | ||
|
||
add_library(keepassx-autotype-test MODULE ${autotype_test_SOURCES}) | ||
target_link_libraries(keepassx-autotype-test keepassx_core ${autotype_LIB} Qt5::Core Qt5::Widgets) | ||
add_library(keepassxc-autotype-test MODULE ${autotype_test_SOURCES}) | ||
target_link_libraries(keepassxc-autotype-test keepassx_core ${autotype_LIB} Qt5::Core Qt5::Widgets) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
set(autotype_win_SOURCES AutoTypeWindows.cpp) | ||
|
||
add_library(keepassx-autotype-windows MODULE ${autotype_win_SOURCES}) | ||
target_link_libraries(keepassx-autotype-windows keepassx_core ${autotype_LIB} Qt5::Core Qt5::Widgets) | ||
install(TARGETS keepassx-autotype-windows | ||
add_library(keepassxc-autotype-windows MODULE ${autotype_win_SOURCES}) | ||
target_link_libraries(keepassxc-autotype-windows keepassx_core ${autotype_LIB} Qt5::Core Qt5::Widgets) | ||
install(TARGETS keepassxc-autotype-windows | ||
BUNDLE DESTINATION . COMPONENT Runtime | ||
LIBRARY DESTINATION ${PLUGIN_INSTALL_DIR} COMPONENT Runtime) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters