-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from synacker/release/2.1
Release/2.1
- Loading branch information
Showing
11 changed files
with
154 additions
and
69 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
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
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
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
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,41 +1,17 @@ | ||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_BINDIR}) | ||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/${CMAKE_INSTALL_LIBDIR}) | ||
if(UNIX AND NOT APPLE) | ||
install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/daggy/ | ||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/daggy/ | ||
FILES_MATCHING | ||
PATTERN libQt6Network.so* | ||
PATTERN libQt6Core.so* | ||
PATTERN libssh2.so* | ||
PATTERN libyaml-cpp.so* | ||
PATTERN libcrypto*.so* | ||
if (PACKAGE_DEPS) | ||
install(TARGETS ${TARGET} | ||
RUNTIME_DEPENDENCY_SET ${TARGET}_deps | ||
) | ||
elseif(APPLE) | ||
install(DIRECTORY ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/daggy/ | ||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/daggy/ | ||
FILES_MATCHING | ||
PATTERN libQt6Network*dylib | ||
PATTERN libQt6Core*dylib | ||
PATTERN libssh2*dylib | ||
PATTERN libyaml-cpp*dylib | ||
PATTERN libcrypto*dylib | ||
|
||
install(RUNTIME_DEPENDENCY_SET ${TARGET}_deps | ||
PRE_EXCLUDE_REGEXES | ||
[=[api-ms-]=] | ||
[=[ext-ms-]=] | ||
[[kernel32\.dll]] | ||
[[libc\.so\..*]] [[libgcc_s\.so\..*]] [[libm\.so\..*]] [[libstdc\+\+\.so\..*]] | ||
POST_EXCLUDE_REGEXES | ||
[=[.*system32\/.*\.dll]=] | ||
[=[^\/(lib|usr\/lib|usr\/local\/lib\/lib64)]=] | ||
DIRECTORIES ${CONAN_RUNTIME_LIB_DIRS} ${CONAN_LIB_DIRS} | ||
) | ||
else() | ||
set(VC_REDIST ${CMAKE_BINARY_DIR}/vc_redist-x64.exe) | ||
if(NOT EXISTS ${VC_REDIST}) | ||
execute_process(COMMAND powershell wget -UseBasicParsing -OutFile ${VC_REDIST} 'https://aka.ms/vs/16/release/vc_redist.x64.exe') | ||
endif() | ||
install(FILES ${VC_REDIST} | ||
DESTINATION vcredist) | ||
install(DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} | ||
DESTINATION . | ||
FILES_MATCHING | ||
PATTERN Qt6Network.dll | ||
PATTERN Qt6Core.dll | ||
PATTERN libssh2.dll | ||
PATTERN yaml-cpp.dll | ||
PATTERN libcrypto-1_1-x64.dll) | ||
install(FILES | ||
${CMAKE_CURRENT_LIST_DIR}/daggyenv.bat | ||
DESTINATION ${CMAKE_INSTALL_BINDIR}) | ||
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,7 +1,7 @@ | ||
if(CONAN_BUILD) | ||
if(APPLE) | ||
set_target_properties(${TARGET} PROPERTIES INSTALL_RPATH "@executable_path/../${CMAKE_INSTALL_LIBDIR};@executable_path/../${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}") | ||
set_target_properties(${TARGET} PROPERTIES INSTALL_RPATH "@executable_path/../${CMAKE_INSTALL_LIBDIR}") | ||
elseif(UNIX) | ||
set_target_properties(${TARGET} PROPERTIES INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}:$ORIGIN/../${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}") | ||
set_target_properties(${TARGET} PROPERTIES INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}") | ||
endif() | ||
endif() |
Oops, something went wrong.