Forums

Preprocessor in CCS

Started by bell...@hotmail.com December 20, 2006
Hi,

I need to do the following project building steps in the given order:

1 - Call the C preprocessor
2 - Call "my own program" for additional preprocessing
3 - Call the compiler
4 - Call the linker

Steps 1, 3 and 4 are automatic in CCS. But is there a way to break the building execution so I can insert my own step 2?

There are flags in CCS to generate a .pp output from the preprocessor. But then either the build stops or it continues with compilation without giving me a chance to do something about the intermediate .pp file.

I know this can be solved using an external makefile, but any solutions using CCS without external makefile?

Thank you.