When you are going to use the C sources addCSourceFile
, or addCSourceFiles
must be used.
You have two options, either you add them to your executable, or you add them to a static library and then you can reuse it in the executable or elsewhere.
See also: Static library from C source file - #2 by dimdin