Import cpp files

Hey, I am trying to create a new project using my existing cpp files.
I have succeed to create and copy and source file to the project, but in the “C++ Classes” folder I cannot see my cpp files although they are in Source file.
I have tried to GenerateProjectFiles, didnt work.
BTW I am using linux.
How can I import the cpp file into UE?

First make sure generate project files successd.
Use the command line to generate project:
C:/Program Files/Epic Games/UE_4.18/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project=“H:/Unreal Porjects/BlueXRMobile/BlueXRMobile.uproject” -game -rocket -progress

hope it helps.