[SERVER-8969] Windows minimum version should be specified on the build command line, not in targetver.h Created: 13/Mar/13  Updated: 11/Jul/16  Resolved: 09/Apr/13

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 2.5.0

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-8842 SCons build should pass -mmacosx-vers... Closed
Participants:

 Description   

Much like SERVER-8842, we should have an SCons option that sets the minimum supported windows version for the build. Setting this option would select a value for _WIN32_WINNT and pass that as a define on the build line, rather than our current practice of hard coding _WIN32_WINNT in targetver.h

As part of this change, the --win2008plus flag should be removed, and the MONGO_USE_SRW macro should be replaced with a check of _WIN32_WINNT against the windows version definitions found here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa383745(v=vs.85).aspx



 Comments   
Comment by auto [ 09/Apr/13 ]

Author:

{u'date': u'2013-04-02T21:15:13Z', u'name': u'Andrew Morrow', u'email': u'acm@10gen.com'}

Message: SERVER-8969 Support specifying minimum windows version to build
Branch: master
https://github.com/mongodb/mongo/commit/53d7bcd4ed2996a4115211075643090173e7cf7a

Comment by Tad Marshall [ 13/Mar/13 ]

Would it be possible to make build switches like this visible in buildInfo? It might be helpful to view information like this in server logs and/or MMS at some point.

Generated at Thu Feb 08 03:18:57 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.