ivanovkirilg / linebot

A 'robot' moving on 1 axis for learning purposes
0 stars 0 forks source link

Componentize code base #1

Closed ivanovkirilg closed 7 months ago

ivanovkirilg commented 8 months ago

The source code is reorganized into directories/sub-projects with a regular structure.

Component name: 2 or 4 letters reminiscent of the functionality (e.g. CTRL from ConTRoLler).

Directory structure:

CMPT    (component)
|- inc     (internal headers)
|- include (added to include paths of clients)
|  |- CMPT    (public headers)
|- src     (source code)
|- test    (internal test code)