SCons PreProcessor patch: Stop processing "#define" in false condition
Example "rtconfig.h" content: ... //#define BOARD_USING_LED #if defined(BOARD_USING_LED) #define RT_USING_RTGUI #endif ... - Before patching, RTGUI module will be built although not intend to do so. - After patching, RTGUI module will not be built.
Showing
想要评论请 注册 或 登录