Created by: zhouwei25
It is cherry pick of #22164
-
Speed up the compilation, remove the Useless intermediates of paddle_fluid/paddle_fluid_origin/paddle_fluid_shared/memory/paddle_framwork , and change them to be library which does't cost time. As a result, the dependency relationship between targets has been adjusted, too.
-
Reduced some target_link_libraries of testing executables. Currently, there are unnecessary libs are linked into testing executables.
-
Eliminates compilation warnings caused by std=c++11.
-
Some message warnings of cmake have been removed to avoid disturbing users.
-
Add tensorrt information to version.txt of inference lib.
It has been checked by PR_Windows_CI_Inference