News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

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

Started by tobias, January 27, 2007, 06:49:24 PM

Previous topic - Next topic

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'.
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand.
Real Programmers don't write in BASIC. Actually, no programmers write in BASIC, after the age of 12.