-D should work as expected, e.g. in my build (em++ is the g++ counterpart):

...em++ -DGLM_FORCE_RADIANS=1 -DORYOL_EMSCRIPTEN=1 -DORYOL_NO_ASSERT=1


Am Mittwoch, 7. Dezember 2016 09:04:22 UTC+1 schrieb nick314:
>
> Is there a way to define a macro while emcc compiling, jus like gcc -D 
> __MACRO__ so that I can pass the macro to preprocessor of underlying 
> compiler?
>
> Thanks a lot
>

-- 
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.

Reply via email to