| Index: compile |
| =================================================================== |
| --- a/compile |
| +++ b/compile |
| @@ -70,17 +70,18 @@ def getenv(emscripten_config): |
| 'NODE_JS': scope.get('NODE_JS', 'node'), |
| }) |
| return env |
| def generate_bindings(env): |
| params = [ |
| env['PYTHON'], os.path.join(env['EMSCRIPTEN'], 'emcc'), |
| - '-o', BINDINGS_GENERATOR, '-std=gnu++14', '--js-library', JS_LIBRARY, |
| + '-o', BINDINGS_GENERATOR, '-std=c++1z', '--js-library', JS_LIBRARY, |
|
sergei
2017/05/08 10:58:19
does c++1z influence somehow on the generated code
Wladimir Palant
2017/05/08 11:41:34
No, the build is identical. The only thing changin
|
| + '--js-library', os.path.join(SOURCE_DIR, 'bindings', 'library.js'), |
| ] + list(get_source_files('bindings')) |
| subprocess.check_call(params, env=env) |
| with open(BINDINGS_OUTPUT, 'w') as file: |
| subprocess.check_call([env['NODE_JS'], BINDINGS_GENERATOR], |
| stdout=file) |