I am trying to build project in CLion by using generated cmake config.
I generated cmake config with
cd
/Users/Shared/UnrealEngine/4.13/Engine/Build/BatchFiles/Mac
./GenerateProjectFiles.sh -cmakefile
-game -project “/Users//Dropbox/ST/Unreal
Projects/MyProject/MyProject.uproject"
And when i start build it always breaks with error:
Building MyProject...
2016-10-04 21:59:33.592 defaults[83705:6005733]
The domain/default pair of (/Users//Library/Preferences/com.apple.dt.Xcode, IDEBuildOperationMaxNumberOfConcurrentCompileTasks) does not exist
Running command : Engine/Binaries/DotNET/UnrealBuildTool.exe MyProject Mac DebugGame -deploy -project=/Users//Dropbox/ST/Unreal\ Projects/MyProject/MyProject.uproject
e[?1he=e[6nERROR: Couldn't find target rules file for target 'MyProject' in rules assembly 'UE4Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
Location: /Users/Shared/UnrealEngine/4.13/Engine/Intermediate/Build/BuildRules/UE4Rules.dll
Target rules found:
UE4Editor - /Users/Shared/UnrealEngine/4.13/Engine/Source/UE4Editor.Target.cs
UE4Game - /Users/Shared/UnrealEngine/4.13/Engine/Source/UE4Game.Target.cs
UnrealHeaderTool - /Users/Shared/UnrealEngine/4.13/Engine/Source/Programs/UnrealHeaderTool/UnrealHeaderTool.Target.cs
e[?1le>e[39;49mmake[3]: *** [CMakeFiles/MyProject-Mac-DebugGame] Error 5
make[2]: *** [CMakeFiles/MyProject-Mac-DebugGame.dir/all] Error 2
make[1]: *** [CMakeFiles/MyProject-Mac-DebugGame.dir/rule] Error 2
make: *** [MyProject-Mac-DebugGame] Error 2
But When i just use my Terminal to build project with command:
cd /Users/Shared/UnrealEngine/4.13
./Engine/Build/BatchFiles/Mac/Build.sh
MyProject Mac DebugGame -deploy
-project=/Users//Dropbox/ST/Unreal
Projects/MyProject/MyProject.uproject
It builds fine without any errors.
Please help me to resolve problem.