User forums > Using Code::Blocks

custom build for .H (C header) files

(1/1)

ggo98:
Hello all,

sorry if this has already been answered, but I do not find the solution.

I would like to use the compiler and debugger settings, advanced options to do some stuff on C header files (.h files).

Adding a custom command for a specific file extension does work well, but not for .h header files.
(I'm using Codeblocks 10.05)

Does someone know if there is there a way to do this please?

Thanks in advance for any pointer, help or info.
Olivier.

MortenMacFly:

--- Quote from: ggo98 on August 13, 2012, 10:33:32 am ---but not for .h header files.
(I'm using Codeblocks 10.05)

--- End quote ---
A lot things have changes since 10.05 so first of all you should try with a nightly.
Then if its still, not working, you should verify that you actually enabled "compile" for this file, as header files are usually not built (except PCH). Compilers compile source files, you know...

ggo98:
Hi Morten,

thank you for the answer.

Actually, "compile" is enabled.

I will try the nighty builds...

Thanks again,
Olivier.

Navigation

[0] Message Index

Go to full version