CLion support

So I’ve recently gotten into Unreal Engine. I love its vast capabilities as an IDE for game development. But I have one complaint:

C++ project integration is limited to Visual Studio.

For most people, I’d imagine this is fine, but being a fan of JetBrain’s IDEs, this is horrible.
Coming from IDEs such as CLion and IntelliJ IDEA, Visual Studio seems like a baby compared to these.
If you aren’t aware of CLion I suggest you check it out. All of JetBrain’s IDEs are amazing. My dad codes for a living. I introduced him to IntelliJ IDEA, and he has never gone back to any other IDE. He even introduced his team to it, and they haven’t gone back either.

My question is: Is there a stable way to integrate CLion into the C++ project environment?

From my research, I learned that UE has the ability to generate files for CMake.
https://forums.unrealengine.com/showthread.php?45928-CLion-Unreal#post_375908

Also, I’ve learned that UE doesn’t use the VS compiler, so theoretically, shouldn’t any IDE supporting CMake work?

I haven’t tried this yet, but it seems like it’s not a very stable way of developing.

Could someone provide me with some more details? It’d be very helpful!

Thank you all very much!
Oliver

Up ! I’m curious too about CLion :slight_smile:

I too would love to see CLion supported

Well, I manage to generate the CMakeList.txt in Windows, you simply need to go to your BatchFiles folder in your Unreal Engine installation (Epic Games\4.10\Engine\Build\BatchFiles)

Open console in your BatchFiles folder and run this command:

And normally a CMakeList.txt file has been created, and you can import that to CLion Project, but I have some error once I import my project in CLion :c

I find these interesting post:
For Mac : Setting up Unreal Engine 4 CMake environment for CLion – Let's try Unreal
For Linux : A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums

That Mac post has some good stuff in it, even if you’re building for Linux. It also references a CLion bug report/feature request that affects Linux as well. Interesting read.

Thanks for that link!

Registering my interesting, I have an amazing cross platform engine, I also have an amazing cross platfor C++ IDE. I wish for the two to intertwine to form something wonderful.

Hi, Did you manage to solve your problems that you had reported? the blog post hasn’t fully worked for me. I have posted about it here. Would be great if you could help me with this.

No, sorry I use Resharper C++ with Visual studio, waiting a better support for CLion.
Maybe this can help you: CLion + Unreal - C++ - Epic Developer Community Forums

If I have some free time I will try to understand how it work :slight_smile:

I would love to see CLion support as well. I noticed there’s a few pushes to the repo for adding additional CMake support. Does anyone at Epic know what’s needed to fully support CLion?

Hi, I also trying to use CLion
I try to generate cmakefile, and got it, but there is no source files, include directories and etc.
How to get correct cmakefile?