Is folder structure with 'src' and 'include' mandatory?

#1

Hi all,

Normally, the .cpp and .h files are in sub-folders ‘src’ and ‘includes’, inside the folder in which the file mos.yml is located. Therefore, ‘mos.yml’ contains the following lines, which is also the default:
sources:

  • src
    includes:
  • includes

Now, I want to eliminate this sub-folders and have all source files in the same folder as ‘mos.yml’. To do so, I added the following lines to ‘mos.yml’:
sources:

  • .
    includes:
  • .
    But this does not compile anymore!

Does anybody know, how it is possible to have all source files AND mos.yml inside the same folder?

Kind regards
Rolf

#2

Sorry, the example lines have been reformatted.
But the question is still the same …