GLOBAL MACROS for build not working

Hi all,
When I play the game as a preview with the play button my GLOBAL MACROS are the same as when I make a build and play.
CC_BUILD:false
CC_DEBUG:true
CC_DEV:true
CC_EDITOR:false
CC_JSB:false
CC_PREVIEW:true
CC_TEST:false

How can I differ in which mode I’m running?