Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Martin K. on October 31, 2012, 09:26:48 am
-
Hi,
I have converted "a few" (70) Visual Studio 6 Projects to Code::Blocks Projects and now i run into the issue that "Clean Workspace" doesn't clean some compiler generated files. Is it possible to add additional files (like precompiled header oder incremental link files) to the cleaning list?
Martin
-
Is it possible to add additional files (like precompiled header oder incremental link files) to the cleaning list?
You can do whatever you want in the pre- and/or post build steps. Including removing additional files.
BTW: Maybe you should consult the section about PCH's in the manual/WiKi. Probably there is an even easier way if you just declare your PCH files as... erm... PCH's. See how its done in the C::B project file, for example.
-
Is it possible to add additional files (like precompiled header oder incremental link files) to the cleaning list?
You can do whatever you want in the pre- and/or post build steps. Including removing additional files.
BTW: Maybe you should consult the section about PCH's in the manual/WiKi. Probably there is an even easier way if you just declare your PCH files as... erm... PCH's. See how its done in the C::B project file, for example.
I whould like to clean the files on user request (clean Workspace/target, rebuild, ...) and not at every build. :(
Martin
-
I whould like to clean the files on user request (clean Workspace/target, rebuild, ...) and not at every build. :(
Well for such specific tasks: Why don't you make yourself a tool entry? Using macros you can have a generic command that does what you want and when you want (if you click the entry in the "Tools" menu).