Porting from e2 studio to Cubesuite.

Hey is there any guide or tutorial on how I can port my code from e2 studio to cubesuite+

I am on e2 studio V4.0 and cube suite is CS+for CC v8.02 the microcontroller I am using is R5F1101.

While porting I run into multiple file define issues, I am aware of the files I am including along with the project by errors remain even after the suspected files with multiple incude statements which might lead to issues have been removed.

I am primarily doing this in order to reduce code space.