[SERVER-9771] Enable support for building the C++ driver as a DLL on windows. Created: 23/May/13 Updated: 10/Mar/14 Resolved: 13/Sep/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Attempting to build a DLL for the C++ driver fails on windows, but many of our clients would do better to use it than the static library. |
| Comments |
| Comment by auto [ 12/Sep/13 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: Add generate_def.py script for windows dll. |
| Comment by auto [ 12/Sep/13 ] |
|
Author: {u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by Andrew Morrow (Inactive) [ 12/Jun/13 ] |
|
Not making this 'depend' since we probably want to close |
| Comment by Andrew Morrow (Inactive) [ 23/May/13 ] |
|
Agreed, but that is identical to the (poor) semantics of the shared client on UNIX, so we are no worse. Later, we will have a project to actually produce a defined client API and use visibility/dllexport attributes to restrict to that. But the alternative is to not offer DLL on windows. |
| Comment by Tad Marshall [ 23/May/13 ] |
|
I think that following the StackOverflow method will make the entire internal API the external API, which would not be desirable. |
| Comment by Andrew Morrow (Inactive) [ 23/May/13 ] |
|
Due to |