User forums > Using Code::Blocks

How do add a target to generate cpp output files?

<< < (2/2)

hanshuckebein:
"Advanced Compiler Options" | "Command line macro":   $compiler $options $includes -E $file -o $object

The resulting gcc command is:   gcc <options> -c file.c -E bin/file.o

=> since -c is present, file.c gets compiled and not preprocessed only

Navigation

[0] Message Index

[*] Previous page

Go to full version