Reputation: 11
Using Eclipse IDE for C/C++ Developers (see details below) I try to reorganize my code in sub folders. However, if I move a source code file from the existing sub folder to a new sub folder, it is not being compiled. I added the new sub folder to Paths and Symbols->Source locations (and Include) , and it didn't help. My project is based on the Hello_world example from https://github.com/CHERTS/esp8266-devkit.git and it compiles perfectly with it's own sub folder (user) but not with mine :-(
Release 1 (4.4.1) Build id: 20140925-1800 Eclipse C/C++ Development Tools Version: 8.5.0.201409172108
Upvotes: 1
Views: 1115
Reputation: 2220
If you open the makefile
you'll finde the lines:
# which modules (subdirectories) of the project to include in compiling
MODULES = driver user
It looks like you can just add your sub-folders there.
Upvotes: 1