-
Notifications
You must be signed in to change notification settings - Fork 28
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
SNOW-1524259: Add option to build libsnowflakeclient as dynamic library #782
base: master
Are you sure you want to change the base?
Conversation
f7fcd62
to
e95c698
Compare
0f57b57
to
e95c698
Compare
sf_get_tmp_dir @74 | ||
sf_calloc @75 | ||
sf_free @76 | ||
uuid4_generate @77 |
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.
we will need to update the exports whenever the public api is changed or we can make it dynamically created?
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.
The exports are currently manually created (same as the ODBC driver) as we don't want to expose internal functions. There are tools that can generate the exports file but I'm not sure if they can build. I'll test it out and get back to you.
../deps-build/${PLATFORM}/${VSDIR}/${CMAKE_BUILD_TYPE}/cmocka/include | ||
) | ||
set_target_properties( | ||
${T} PROPERTIES LINK_FLAGS "/ignore:4099") |
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.
why do we need this ignore?
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.
Removed. It's not needed here.
…wflakedb/libsnowflakeclient into SNOW-1524259-dynamic-library
teamwork issue 1033
Add support for building libsnowflakeclient as a dynamic linking library.