Dynamic linking related question.
One header of one dynamic library (dynamic_library_02) is updated. Is it needed to recompile all of the applications, which do not use the dynamic_library_02 directly?
header02.hpp is updated from dynamic library 02. And the application sees the header02.hpp too although the application does not use dynamic_library_02 directly at all. The application sees only the header02.hpp through one header of dynamic_library_01.
Question: Is application needed to be recompiled?
Or is it enough to recompile only dynamic_library_01 (and dynamic_library_02)?
( Or is dynamic_library_01 needed to be recompiled either, if the modifications in header02.hpp are only the following kinds of. )
// -----------------
All definitions should be in the cpp files. Only declarations are in the hpp files.
Only few exceptions to the rule...
There are some new definitions in the header02.hpp too. Few lines are like these:
#define DEFINITION008 0x00000008
#define DEFINITION009 0x00000009
I am not sure for what those are used. I can only see those and I can notice those have been added to the header02.hpp.
One similar definition is modified in header02.hpp,
from:
#define DEFINITION004 0x00000004
to:
#define DEFINITION004_UPDATED 0x00000004
There are several applications, which use dynamic_library_02 through dynamic_library_01:
Application02 -> dynamic_library_01 -> dynamic_library_02
Application03 -> -- " --
Application04 -> -- " --
...
Is it needed to recompile all of the applications or only dynamic_library_01 and dynamic_library_02?