Create a build environment for “C” project to dynamically select folders during compile time
- 阅读更多 关于 Create a build environment for “C” project to dynamically select folders during compile time
问题 Lets say my folder structure is something like this .. +-- Application | +-- MICRO_CONTROLLER_1 | +-- MICRO_CONTROLLER_2 | +-- MICRO_CONTROLLER_3 and i have a compile switch ( SELECT_MICRO) set to #define SELECT_MICRO == MICRO_CONTROLLER_1 , then my project should build application with driver files in MICRO_CONTROLLER_1 , similarly if #define SELECT_MICRO == MICRO_CONTROLLER_2 , then application should build application with driver files in MICRO_CONTROLLER_2 Please let me know if there