Add external source files from a library to the project in Eclipse-CDT
c, eclipse, eclipse-cdt
Solution
You can add linked source file. Choose project properties and in the left panel choose c++ general. Under it choose path and symbols. Now in the right panel tabs choose source location and add linked source folder. Include you need to define in "include" (under c++ build you will find settings)
Problem
I have a project which I try to compile with Eclipse-CDT. The project depends on a library with header files and source files. How can I configure the project in Eclipse such that it will compile the needed source files from the library with the project? With a makefile I use: ``` SRC+=lib_source.c ```