mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
4a97f4cff3
1. VCXProj now builds all .cpp files itself 2. Moved obj files to Build/ to keep repo clean 3. Split jstoh so that it can be called by vcxproj file 4. Make_Vcxproj - fixed to handle cl temp files, fixes now that vcxproj builds generated files, and fix _TARGET_ search and replace Note: Depends on python installation
16 lines
299 B
Python
16 lines
299 B
Python
import os
|
|
|
|
from jstoh import jsToHeader
|
|
from SCons.Builder import Builder
|
|
|
|
def jsToH(target, source, env):
|
|
jsToHeader(str(target[0]), source)
|
|
|
|
jshBuilder = Builder( action=jsToH )
|
|
|
|
def generate(env, **kw):
|
|
env.Append( BUILDERS=dict( JSHeader=jshBuilder ) )
|
|
|
|
def exists(env):
|
|
return True
|