Open the automake manager by clicking on the lower icon on the left side, it has a piece of paper and screwdriver icon. Select the subproject folder at the top, and right click the target at the bottom, add existing files. It's in the Handbook documentation.
You probably just want to use an #include statement, but have that path in your include paths. I haven't figured that out yet.