Code::Blocks Forums

User forums => Help => Topic started by: tobias on January 27, 2007, 06:49:24 pm

Title: Swap Header/Source where they aren't in the same folder
Post by: tobias on January 27, 2007, 06:49:24 pm
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
Title: Re: Swap Header/Source where they aren't in the same folder
Post by: Der Meister on January 27, 2007, 07:05:12 pm
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'.