How to compile my own c++ files along with engine files while build ?

I have my own blueprint c++ file (entirely in c++) and I want to use the file while building along with the other engine files. Where can I put my file or what should I do so that it is buidl along with other c++ files ?