If I wanted my code to have a custom preprocessor definition, how do I pass 
that on the emcc commandline?

Lets say I want my C++ code to have something like:

#ifdef FOO
    printf("foo");
#endif

how do I set the value of FOO when I run emcc?

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/5a382dcb-1ce2-4b10-95d2-08d573a78874o%40googlegroups.com.

Reply via email to