GTM Test

I moved the GTM Test support files under Lite3/GTMTest to allow for easier integration in new projects. You still need to

  1. create an Unit test target
  2. make sure that the Unit test files are associated only with the new target (otherwise you get a link error about having to _main functions then)
  3. define ALog in the precompiled header file and define -DDEBUG as other OTHER_CFLAGS
  4. add sqlite3 to the project


#ifdef DEBUG
# define DLog(...) NSLog(__VA_ARGS__)
#else
# define DLog(...) /* */
#endif
#define ALog(...) NSLog(__VA_ARGS__)

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.