-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recover windows installer cmake file. #44
Recover windows installer cmake file. #44
Conversation
Signed-off-by: Yury-Fridlyand <yury.fridlyand@improving.com>
set(AWS_SDK_BIN_DIR "${PROJECT_ROOT}/src/vcpkg_installed/x${BITNESS}-windows/bin") | ||
install(DIRECTORY ${AWS_SDK_BIN_DIR} DESTINATION . COMPONENT "Driver" FILES_MATCHING PATTERN "*.dll") | ||
|
||
if(CMAKE_BUILD_TYPE STREQUAL "Debug") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this input parameter by the user? Should we check case-insensitive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe. I just recovered deleted piece of file. The only thing I added is FILES_MATCHING PATTERN "*.dll"
to exclude big pdb
files (debug symbols).
|
||
if(CMAKE_BUILD_TYPE STREQUAL "Debug") | ||
# We actually never build the installer for Debug | ||
install(FILES "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Debug/libcurl-d.dll" DESTINATION bin COMPONENT "Driver") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be easier to read if you just include CMAKE_BUILD_TYPE as part of the string, like:
install(FILES "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/" CMAKE_BUILD_TYPE "/libcurl-d.dll" DESTINATION bin COMPONENT "Driver")
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File name of libcurl changes between release and debug
Description
Partially revert changes from #27.
New installer content:
Tested on Windows 32/64 bit and Mac.
Issues Resolved
Fixes #43
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.