[CXX-1607] Build examples without first installing Created: 05/Jul/18 Updated: 27/Oct/23 Resolved: 02/Aug/18 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
When building examples, it's necessary to first make install so the examples can build against system installed headers and libraries. This is an extra step when building locally. It would be nice if we can build the examples without having to install first. |
| Comments |
| Comment by A. Jesse Jiryu Davis [ 02/Aug/18 ] |
|
We may reopen in the future if rebuilding the examples becomes a serious obstacle. |
| Comment by Andrew Morrow (Inactive) [ 09/Jul/18 ] |
|
So, there is actually a rationale for why this is done this way. We want people to be able to build the examples against their own installations of {mongo,bson}cxx. By building them against our installation, we know the examples aren't, for instance, relying on headers we don't install, etc. |