-
Notifications
You must be signed in to change notification settings - Fork 173
fix(c): Generate versioned DLLs and import LIBs when building with MSVC #2858
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
96 commits
Select commit
Hold shift + click to select a range
a01b836
Generate versioned DLLs and import LIBs when building with MSVC
IIFE 4a2394a
Update c/cmake_modules/AdbcDefines.cmake
IIFE 3ae75c3
Sory warning list
IIFE b8ad1f2
Merge branch 'window-build' of https://github.com/IIFE/arrow-adbc int…
IIFE c2254ee
Move version rc to c folder
IIFE cc41040
Add Software Foundation to company name
IIFE f87b1d4
Update c/driver/flightsql/CMakeLists.txt
IIFE 563cfd4
Include licence comment
IIFE cf87023
Merge branch 'window-build' of https://github.com/IIFE/arrow-adbc int…
IIFE fa7e0f6
Use defines for hard-coded values
IIFE 9f73ec3
Use WIN32 instead of MSVC for windows specific conditions
IIFE 2a5a1eb
Fix pre-commit
IIFE 08f96db
Add vcpkg pipeline
lidavidm d0ebe48
try again
lidavidm 112599a
try again
lidavidm 4cefd77
try again
lidavidm 12f66b7
vcpkg install
lidavidm aab31a1
don't build tests
lidavidm 81e9ea5
Use msbuild to build and install
IIFE 10c3776
Fix pre-commit
IIFE 81b6db7
Put licence before include
IIFE 622a066
Merge branch 'window-build' of https://github.com/IIFE/arrow-adbc int…
IIFE 3575619
Merge remote-tracking branch 'origin/main' into window-build
IIFE 413d069
Merge branch 'apache:main' into window-build
IIFE 6179a26
Fix warning 4456 on windows
IIFE c3c3108
Add summary to disabled warnings
IIFE 104d04f
Use WIN32 instead of MSVC
IIFE 9c043c0
Use WIN32 instead of MSVC
IIFE 72c3668
Add internal name and use adbc_version
IIFE d061a5a
update vcpkg build pipeline
IIFE d68a05e
Update .github/workflows/native-windows.yml
IIFE 8f98346
update to 2025.06.13 vcpkg
IIFE 82806b8
Merge branch 'apache:main' into window-build
IIFE 9db5d09
Ensure consistent API used for Windows when setting and getting envir…
IIFE 7390176
Ensure runtime dependencies are copied to install folder
IIFE 14b96ae
Ensure config subdir is included in library path
IIFE 98e6f97
Add presets for debug and release that set build and install folders …
IIFE 14a1d2d
Update windows pipeline to build/test in debug and release
IIFE 9745dac
Make condition on MSVC so it doesn't affect other builds of windows (…
IIFE 7f402ad
use cmake option to turn runtime dependencies copy on/off
IIFE d6db78e
Update AllDisabled test to cater for Windows error messages, as in Wi…
IIFE 6898d9d
Test in release only, and use bundled gtest
IIFE 12ccdfd
Fix precommit
IIFE d82407c
cache vcpkg and use config in job matrix
IIFE 3445e4f
Use ADBC_BUILD_VCPKG option to drive behaviour of building with vcpkg…
IIFE 2227c55
Install libpq sqlite3 with vcpkg
IIFE 4d62b37
user lower case debug
IIFE d4c1a00
Put back to WIN32
IIFE 02e752b
use env var for local app data path
IIFE d713f66
build release as well
IIFE 841de71
Remove vcpkg cache for now, doesn't seem to work
IIFE caaac41
disable test step for now
IIFE d6ebdf0
Add config to job name
IIFE 6712c63
try python driver manager build fix
IIFE acc86a6
try python driver manager build fix
IIFE adfeff5
try using tdm-gcc
IIFE 8516f78
remove tdm test
IIFE 2a43333
reneable vcpkg test
IIFE 2ad78b4
try windows-2022
IIFE 6bb7d89
use windows-2022 on all jobs
IIFE 2281a5f
Try capturing crash dump
IIFE 507c6ee
ensure local install path is searched first before other paths. This …
IIFE b7eb629
Merge branch 'main' into window-build
IIFE b80104e
fix pre-commit
IIFE f7f5f53
use windows-latest
IIFE 6fc466b
Merge branch 'window-build' of https://github.com/IIFE/arrow-adbc int…
IIFE 8c539ad
force use of msys ucrt for gcc
IIFE 6928a6a
try pinning gcc version using winlibs
IIFE 5c5620a
try using latest winlibs
IIFE a8bdc9f
pin msbuild action
IIFE 824b3d5
update driver manager in go folder
IIFE 88972ae
use ucrt runtime
IIFE 9acf729
remove hard coded generator and let build system choose default one. …
IIFE e249134
only use winlibs where required for python build
IIFE a132035
Update .github/workflows/native-windows.yml
IIFE a995837
revert unintended changes
IIFE d1c4510
Merge branch 'window-build' of https://github.com/IIFE/arrow-adbc int…
IIFE a162178
replicate setup winlibs with powershell
IIFE 4721561
improve winlibs setup
IIFE a3d695e
Update ci/scripts/cpp_test.ps1
IIFE fc9b29f
Update c/driver_manager/adbc_driver_manager.cc
IIFE 04d1af2
Update .github/workflows/native-windows.yml
IIFE a6dbf1d
use github_path and snake case
IIFE 23d77ae
use github_path and only install mingw-w64-x86_64-tools
IIFE 8d36f26
Update c/cmake_modules/GoUtils.cmake
IIFE a71ee95
Update c/driver/flightsql/CMakeLists.txt
IIFE 6e09c0c
Update c/driver/snowflake/CMakeLists.txt
IIFE e67aa1c
Revert to echoing env path to github env
IIFE e50f520
Merge branch 'window-build' of https://github.com/IIFE/arrow-adbc int…
IIFE 49c2537
Update c/driver_manager/CMakeLists.txt
IIFE ccd0bd2
Update c/driver_manager/adbc_driver_manager_test.cc
IIFE 7f654f7
Update go/adbc/drivermgr/adbc_driver_manager.cc
IIFE 82550c2
update go driver manager
IIFE a6aeedc
Remove Windows config subdirectory handling
IIFE a02ba04
Update c/cmake_modules/BuildUtils.cmake
IIFE d3e54b9
Apply suggestions from code review
lidavidm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| #include <windows.h> | ||
IIFE marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| VS_VERSION_INFO VERSIONINFO | ||
| FILEVERSION @ADBC_VERSION_MAJOR@,@ADBC_VERSION_MINOR@,@ADBC_VERSION_PATCH@,0 | ||
| PRODUCTVERSION @ADBC_VERSION_MAJOR@,@ADBC_VERSION_MINOR@,@ADBC_VERSION_PATCH@,0 | ||
| FILEFLAGSMASK VS_FFI_FILEFLAGSMASK | ||
| FILEFLAGS 0x0L | ||
| FILEOS VOS__WINDOWS32 | ||
| FILETYPE VFT_DLL | ||
| FILESUBTYPE VFT2_UNKNOWN | ||
IIFE marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| BEGIN | ||
| BLOCK "StringFileInfo" | ||
| BEGIN | ||
| BLOCK "040904b0" | ||
IIFE marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| BEGIN | ||
| VALUE "FileDescription", "ADBC: Arrow Database Connectivity" | ||
| VALUE "FileVersion", "@ADBC_FULL_SO_VERSION@" | ||
| VALUE "ProductVersion", "@ADBC_FULL_SO_VERSION@" | ||
| VALUE "CompanyName", "Apache" | ||
IIFE marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| VALUE "ProductName", "@LIB_NAME@" | ||
| END | ||
| END | ||
| BLOCK "VarFileInfo" | ||
| BEGIN | ||
| VALUE "Translation", 0x409, 1200 | ||
IIFE marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| END | ||
| END | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.