c++ : preprocessor switches
Posted: Fri Jul 06, 2012 6:37 pm
Hello,
To compile an application using the AOO API on linux, we have to pass the following switches to the compiler :
-DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3
The resulting program does compile and run.
Although the OO documentation is extensive, I have not found one single place in the docs pointing out all usable switches. The avove ones have been found searching the web.
Can someone point out where these switches are listed and documented ?
Thank you.
To compile an application using the AOO API on linux, we have to pass the following switches to the compiler :
-DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3
The resulting program does compile and run.
Although the OO documentation is extensive, I have not found one single place in the docs pointing out all usable switches. The avove ones have been found searching the web.
Can someone point out where these switches are listed and documented ?
Thank you.