Skip to content

Instantly share code, notes, and snippets.

@IskenHuang
Created December 11, 2012 03:39
Show Gist options
  • Save IskenHuang/4255734 to your computer and use it in GitHub Desktop.
Save IskenHuang/4255734 to your computer and use it in GitHub Desktop.
multiple target in the same project
#ifdef LITE
//lite version
//your code here
#else
//not lite version(i.e. pro)
//your code here
#endif
//-------------------------------------------------------------
#ifndef PRO
//is pro version
//your code here
#else
//not pro version(i.e. lite)
//your code here
#endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment