News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

any way for "middle" build step?

Started by nus1998, August 19, 2014, 01:41:13 PM

Previous topic - Next topic

nus1998

Hi All,

I use custom command "$compiler $options $includes -E -P $file -o ...."  to pre-compile the file to a temporary file, and then I will use a tool to generate ".c" file from the temporary file, the question is that I can't use the tool in pre-build step neither post-build step, how to implement it as easy as possible?

Thanks in advance

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

nus1998

Thanks a lot.

It seems that I need config the compiler in a global setting to specific file extension? I just think it's not perfect as I can't specify the compiling on dedicated file but not dedicated file type.

nus1998

I found that not only compiling command but other executable command can be executed on dedicated file properties->advanced, so the issue is solved. thanks

oBFusCATed

This option is useful only if you have small number of files:)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]