Other Parts Discussed in Thread: MSP430F247
I use IAR MSP430 IDE (EW430). I need a very specialistic information.
There are some Preprocessor Statements (#ifdef, #else, #endif) in my codes. I want EW430 to generate automatically two output files for two different definitions at each compiling time, is it possible?
For exmaple;
My project name is "TST" and EW430 generates "tst.txt" file for MSP430F247 after a building.
There are two Preprocessor Statements such as "#define VERSION1" and "#define VERSION2" in my codes.
EW430 should generate two output files such as;
1) "tst_version1.txt" by using "#define VERSION1"
2) "tst_version2.txt" by using "#define VERSION2"
I don't want to build my project two times for creating two different output files by entering two different Preprocessor Statements at each compiling time. I want EW430 to generate automatically two output files by using different Preprocessor Statements. Is it possible?
I know that my question is about compiler but may be there are some guys which know about this issue.
Best Regards,
Mehmet