News:

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

Main Menu

pre-compile steps for individual files?

Started by rickg22, November 07, 2010, 06:25:04 PM

Previous topic - Next topic

rickg22

Hi guys! I was wondering...

Is there a way to add a pre-compile step for a particular file in the project? (The usual Qt moc business). I recently posted in another thread how to invoke moc using a custom compiler command before compiling the actual file, but i think it'd be nice if there was a setting (under "properties", for example) to pre-compile the main file without having to resort to using specialized plugins (Qtworkbench) or adding phantom files for the pre-compile steps.

How hard would it be to add that?

Thanks!

Sincerely,
Rick.

ollydbg

project build option dialog has a page: pre/post build steps.
Does this works? :D
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Jenna

Quote from: ollydbg on November 11, 2010, 02:41:52 PM
project build option dialog has a page: pre/post build steps.
Does this works? :D
That's for the project or target, but not only for some files of a target/project and I am absolutely sure Rick knows pre/post-buildsteps.