Generating a CMake project on Linux

Hello,

I’m novice in UE development. I’m working on a simulation app on Linux. I already have an existing C++ codebase using CMake build, and I need to use/integrate this codebase with the app.
So the question is - is there a way to generate a UE CMake C++ project?
I’ve found a C# source (Engine/Source/Programs/UnrealBuildTool/ProjectFiles/CMake/CMakefileGenerator.cs), which supposedly intended to do just that, but I haven’t found any documentation for how exactly to use it.

The only “solution” I’ve found so far is to use the UE plugin system with this project:

… which doesn’t seem ideal.

Thanks in advance!

https://github.com/Quick-Turn-Studio/ue4-cmake-boost-integration

It might be a late, but follow the link above to check it out.