- CMakeLists.txt it will (re)generate the Makefile for actually build the your program (if needed)
- Every time that you change the CMakeLists.txt and run
make
it will (re)generate the Makefile - You have to remember to add the dir's of the headers file that must be included
- You have to remember to add any file or subfolder of non-header files to be compiled