[SERVER-7576] Make Visual Studio builds require Python, and run Python scripts Created: 07/Nov/12  Updated: 26/Oct/15  Resolved: 07/Nov/12

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.3.0
Fix Version/s: 2.3.1

Type: Task Priority: Major - P3
Reporter: Tad Marshall Assignee: Tad Marshall
Resolution: Done Votes: 0
Labels: Windows
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows


Issue Links:
Related
related to DOCS-940 Visual Studio builds require python, ... Closed
Participants:

 Description   

Some Python-based build steps have been added to the scons build to create source and header files. Porting these Python scripts to JScript for the Visual Studio builds is time-consuming and potentially error prone. It would be better to simply require that Python be installed (and on the PATH) for building the executables in Visual Studio.

Change the Visual Studio project files to run the Python scripts directly so that the same code is running in scons and in Visual Studio.



 Comments   
Comment by auto [ 07/Nov/12 ]

Author:

{u'date': u'2012-11-07T13:03:55Z', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-7565 SERVER-7126 SERVER-7576 Visual Studio require Python, run Python scripts

This commit makes the Visual Studio builds require Python to be installed.

Add Pre-Build Events to Visual Studio projects to run the same Python
scripts that the scons build runs to create src/mongo/base/error_codes.cpp,
src/mongo/base/error_codes.h, src/mongo/db/auth/action_type.h and
src/mongo/db/auth/action_type.cpp.
Branch: master
https://github.com/mongodb/mongo/commit/5a7456f2c726953fd7c433d96c76e9b0a1ba6105

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