File tree Expand file tree Collapse file tree 10 files changed +632
-72
lines changed
Expand file tree Collapse file tree 10 files changed +632
-72
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Changes for 0.5.0
1111* Fixed issue #61: Support for WIX installer.
1212* Fixed issue #68: INSTALL.md mentions that 'application does not provides pre-build binaries' which is incorrect.
1313* Fixed issue #69: Compilation of PACKAGE target fails if Wix Toolset is not installed on system.
14+ * Fixed issue #70: Merge Win32Clipboard library dependency into ShellAnything.
1415
1516
1617Changes for 0.4.0
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ The following software must be installed on the system for compiling source code
4040* [ Google Logging Library v0.4.0] ( https://github.com/google/glog/tree/v0.4.0 )
4141* [ TinyXML 2 v6.2.0] ( https://github.com/leethomason/tinyxml2/tree/6.2.0 )
4242* [ RapidAssist v0.8.1] ( https://github.com/end2endzone/RapidAssist/tree/0.8.1 )
43- * [ win32Clipboard v0.3.0] ( https://github.com/end2endzone/win32Clipboard/tree/0.3.0 )
4443* [ CMake] ( http://www.cmake.org/ ) v3.4.3 (or newer)
4544* (optional) [ Grip (GitHub Readme Instant Preview)] ( https://github.com/joeyespo/grip ) v4.5.2 (or newer)
4645
Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ before_build:
6464- cmd : call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_googletest.bat
6565- cmd : call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_tinyxml2.bat
6666- cmd : call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_rapidassist.bat
67- - cmd : call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_win32Clipboard.bat
6867- cmd : call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_glog.bat
6968- cmd : call %APPVEYOR_BUILD_FOLDER%\ci\appveyor\install_grip.bat
7069
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ if "%APPVEYOR_BUILD_FOLDER%"=="" (
99set GTEST_ROOT = %APPVEYOR_BUILD_FOLDER% \third_parties\googletest\install
1010set rapidassist_DIR = %APPVEYOR_BUILD_FOLDER% \third_parties\RapidAssist\install
1111set tinyxml2_DIR = %APPVEYOR_BUILD_FOLDER% \third_parties\tinyxml2\install
12- set win32clipboard_DIR = %APPVEYOR_BUILD_FOLDER% \third_parties\win32Clipboard\install
1312set glog_DIR = %APPVEYOR_BUILD_FOLDER% \third_parties\glog\install_dir
1413set INSTALL_LOCATION = %APPVEYOR_BUILD_FOLDER% \install
1514
4746set GTEST_ROOT =
4847set rapidassist_DIR =
4948set tinyxml2_DIR =
50- set win32clipboard_DIR =
5149set glog_DIR =
5250set INSTALL_LOCATION =
5351
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2424
2525#include " shellanything/ActionClipboard.h"
2626#include " PropertyManager.h"
27+ #include " Win32Clipboard.h"
2728
28- #include " win32clipboard/win32clipboard.h"
2929#include " rapidassist/unicode.h"
3030
3131#pragma warning( push )
@@ -53,7 +53,7 @@ namespace shellanything
5353 std::wstring value_utf16 = ra::unicode::Utf8ToUnicode (value);
5454
5555 // get clipboard handler
56- win32clipboard ::Clipboard & clipboard = win32clipboard ::Clipboard::GetInstance ();
56+ Win32Clipboard ::Clipboard & clipboard = Win32Clipboard ::Clipboard::GetInstance ();
5757
5858 // debug
5959 LOG (INFO) << " Setting clipboard to '" << value << " '." ;
Original file line number Diff line number Diff line change 11find_package (rapidassist REQUIRED)
22find_package (tinyxml2 REQUIRED)
3- find_package (win32clipboard REQUIRED)
43find_package (glog REQUIRED)
54
65#resource.rc
@@ -75,6 +74,8 @@ add_library(shellanything STATIC
7574 ErrorManager.cpp
7675 PropertyManager.h
7776 PropertyManager.cpp
77+ Win32Clipboard.h
78+ Win32Clipboard.cpp
7879)
7980
8081add_library (shellext SHARED
@@ -128,7 +129,6 @@ target_include_directories(shellanything
128129 PRIVATE
129130 ${GTEST_INCLUDE_DIR}
130131 rapidassist
131- win32clipboard
132132 glog::glog
133133)
134134target_include_directories (shellext
@@ -138,7 +138,7 @@ target_include_directories(shellext
138138 rapidassist
139139 glog::glog
140140)
141- target_link_libraries (shellanything PRIVATE ${PTHREAD_LIBRARIES} ${GTEST_LIBRARIES} rapidassist win32clipboard glog::glog)
141+ target_link_libraries (shellanything PRIVATE ${PTHREAD_LIBRARIES} ${GTEST_LIBRARIES} rapidassist glog::glog)
142142target_link_libraries (shellext PRIVATE shellanything rapidassist glog::glog)
143143
144144# Also add Tinyxml2 include and libraries.
You can’t perform that action at this time.
0 commit comments