I added a new custom component to my project.
this component is built from several different blocks (with integration between them).
also, I added some API files (C source code + C header). but, when I try to build this component the API files are not compiled.
how can I make the build operation compile the API files with all the other component elements?
This works usually without any special commands. I presume you have red the "Components Author Guide" which was installed into your Cypress directory already. You did not specify whether you are working with PSoC1 in opposite to 3,4 and 5.
When you post your complete project, we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file (do NOT use chrome, that still may not work).