[CDRIVER-181] reorganize env packaging to ease build for the R driver Created: 14/Nov/12  Updated: 19/Oct/16  Resolved: 07/Jan/13

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.7.1

Type: Improvement Priority: Minor - P4
Reporter: Gary Murakami Assignee: Gary Murakami
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Hi Gary & Dan,

It would make things much smoother if env_standard.c, wnv_win32.c, and env_posix.c were combined into a single file, say env.c that used conditional preprocessor directives to determine which environment to compile for. R's package build is brain dead. It just compiles everything that has a *.c extension.

Regards,
Gerald



 Comments   
Comment by Gary Murakami [ 07/Jan/13 ]

https://github.com/mongodb/mongo-c-driver/commit/6b8db9fbb2b5b6fdaeacd84183e0a9a9fc1668a7
https://github.com/mongodb/mongo-c-driver/commit/6c361a4e1d23247612d455b2ff4a636107a6e171

Generated at Wed Feb 07 21:08:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.