Setting compiler settings through code.

Hello,

I was wondering if there's a way to 'force' compiler/command line flags in the code, to ensure specific behavior when someone else compiles my code.

For instance, I want to make sure people compiling my code will have OpenMP support enabled ('/openmp' in command line). Is there a way to do this?
Usually that's done with #define of #pragma.

But I don't know if all flags are supported
Topic archived. No new replies allowed.