User forums > Help

pre-compile steps for individual files?

(1/1)

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

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

--- End quote ---
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.

Navigation

[0] Message Index

Go to full version