I am new in programming I am using vscode in windows and compiling via Mingw 64. I am requesting an answer to this question after tried of trying for days. I googled it many times. here is how my project tree looks. please help me include and link libA to libB and common.h to all cpp files and libA and libB to to main.cpp. Please answer.
project
|---lib
| |---libA
| | |---header1.h
| | |---header1.cpp
| |
| |---libB
| |---header2.h
| |---header2.cpp
|---common
| |---common.h
| |---common.cpp
|---main.cpp