Is there a way to group files together instead of having it use Source and Headers? My current project is 200 files and it would be nice if I could put them inside of groups like in Dev-C++ or XCode. Is there a setting that I'm missing?
Printable View
Is there a way to group files together instead of having it use Source and Headers? My current project is 200 files and it would be nice if I could put them inside of groups like in Dev-C++ or XCode. Is there a setting that I'm missing?
Just have each source file include all the other source files it requires to function, then use #ifndef to make sure it's only included once
You could try "Add new virtual folder" from the context menu.Quote:
Originally Posted by ninja9578
square.h:
cube.h:Code:#ifndef SQUARE
#define SQUARE
#include "shape2d.h"
class Square : public Shape2d
{
...
};
#endif // SQUARE
Code:#ifndef CUBE
#define CUBE
#include "square.h"
#include "shape3d.h"
class Cube : public Square, public Shape3d
{
...
};
#endif // CUBE
I'm still confused by what you're showing me, those are classes, they have nothing to do with file groups :?