User forums > Help

Swap Header/Source where they aren't in the same folder

(1/1)

tobias:
Hi,

I want the following file structure in my project:
  sources in ./src
  headers in ./$projectname$

But it seems that if I do 'Swap Header/Source' it doesn't find the appropriate file. Is there a way to set a source folder and a headers folder where c::b looks for the files.

Thanks
Tobias

Der Meister:
If you add your folder to the include-directories for this project that Code::Blocks should find your header files when you use 'Swap Header/Source'.

Navigation

[0] Message Index

Go to full version