UBT CMakefileGenerator generate empty lists (sources, includes, definitions ...) on windows

When I try to generate CMakeLIsts for any of my project I always get file with empty lists:

...
set(SOURCE_FILES 
 )

set(HEADER_FILES 
 )

set(CONFIG_FILES 
 )

include_directories( 
 )

add_definitions( 
 )
...

Command I use:
“C:\Program Files\Epic Games\4.12\Engine\Build\BatchFiles\Build.bat” -cmakefile -game -project “path to .uproject file”

My OS: windows 10 Pro x64

I would also like to solve this issue to just use coding assistence of clion and build via unreal editor…

Hi tQuant,

Sorry for the delayed response to your post. I did some checking on this and found out that we have made some improvements in this area specifically that will be coming in 4.13. You should be able to see these improvements in one of the preview versions of 4.13.