It's executed in the test suite, so a grep for that filename in tests/*
should find it (or just *.py is enough), and the commandline it is executed
with. Specifically looks like the command is
def test_sdl2_ttf(self):
shutil.copy2(path_from_root('tests', 'freetype',
'LiberationSansBold.ttf'), self.get_dir())
self.btest('sdl2_ttf.c', reference='sdl2_ttf.png',
args=['-O2', '-s', 'USE_SDL=2', '-s', 'USE_SDL_TTF=2',
'--embed-file', 'LiberationSansBold.ttf'],
message='You should see colorful "hello" and "world" in the window',
timeout=30)
That 'args' array is a list of arguments passed to emcc. The rest of the
emcc command would be just to provide that file as input and specify an
html file as output.
You can also see the full emcc command executed for it by running that test
with EMCC_DEBUG=1 in the env, as then it logs out emcc arguments.
On Fri, May 6, 2016 at 5:12 AM, Thomas Arnbjerg <
[email protected]> wrote:
> Hi all,
>
> Has anyone compiled this file and loaded the result in a browser? If so -
> what is the command line passed to emcc?
>
> Thx
>
> Thomas
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.