Add mbed os files to keil without exporting to specific target

Hallo all,
How I add mbed-os files to Keil without exporting from cli or mbed studio or online compiler to specific Target
I have no specific Hardware now but I will use M2351 and I need to write program for it .Which file I need to add or to modify to work fine with my project