Wednesday, July 11, 2012

something about compiler and linker

Q: -DDEBUG
A: in code, you can use below code special for debug version
#ifdef DEBUG
// do sth for debug
#else
// do sth for release
#endif

Q: -DSTLPORT_VERSION=400
A: define STLPORT_VERSION=400

No comments:

Post a Comment