I have created my own qa library with headers and source files arranged in a directory similar to QuantLibs setup. When I create a new project that will call from my qa library I change the project properties Include Directories accordingly so I can write in main.cpp #include <qalib/foo.hpp>Now to get the project to compile I need to add foo.cpp to the project. Is there a way to avoid this last step of adding foo.cpp i.e. some setting in project properties so foo.cpp is automatically picked up. Work arounds I can think of:1. Create header only files i.e. put the function definitions in the foo.cpp in foo.hpp - I am guessing this is bad practice 2. At end of foo.hpp add #include foo.cpp - I think this is probably only best practice when working with templatesI think there is a third alternative as QuantLib does not require .cpp to be added?