dwmkerr/switch — pull request #21 by negerns (2014-09-25 03:55:45+00:00)
Title: Switch using common directory names

In C++, header files are usually in 'include' directories and
implementation files are in 'source' directories. These directories
usually share a common root path.

\include\...
\source\...

There is also the possibility that C++ project components are
placed in their own sub-directory with corresponding 'include'
and 'source' directories.

\component_1\include\...
\component_1\source\...
\component_2\include\...
\component_2\source\...

What it does not yet do is scan for other directory layouts.
An example is when 'include' files are placed into deeper
subdirectories:

\component_1\include\sub1\*.h
\component_1\include\sub2\*.h
\component_1\source\*.cpp

The common directories taken into account are:

includes; include; inc
sources; source; src

These are pre-defined for now but they should be configurable.