I would like to see my esp-idf code after preprocessing (see which code inside of #ifdef will be compiled).
I tried adding "add_compile_optins(-E)" in my main CMake file, but the build failes :( Anyway I looked in the build dir, and saw .c.obj files (I expected to see .c files).
Is there another way to run only preprocessor? or that ESP-IDF does not support it?
Thanksss
-save-temps. Plainly this OP would like to use-Ebecause they tried it..c.objfiles? Depending on the tool chain, the output name might still be the same if you add-Eoption but the content changes. That is because the makefile specifies the name and it doesn't know that you don't compile but only preprocess. Then, of course, building fails because the linker will not be happy with what it gets.