Code::Blocks Forums
User forums => Help => Topic started by: rickg22 on November 07, 2010, 06:25:04 pm
-
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.
-
project build option dialog has a page: pre/post build steps.
Does this works? :D
-
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.