Trying to set up DirectX in CLion & Rider
Answered
I'm trying to set up CLion & Rider for DirectX development and I'm not having much luck finding any useful results via web searches. I'm not looking to do anything complicated -- no Unity or UnrealEngine stuff -- just draw a few informational graphs using mostly line-based sine waves and screensavers. I have DirectX SDKs installed from DX9 through DX12 but I'm not too familiar with cmake. Most of my build system experience has been spent on autotools since the early 2000s & basic 'roll-your-own' stuff in the 90s prior to that so if anyone can point out relations between the two, it would likely be quite helpful(though not strictly necessary).
Please sign in to leave a comment.
Hello!
Are you on Windows? What language do you use, C++ or C#?
My apologies for the late response.
For projects involving DirectX, I'm working on Windows systems. I'm working on separate projects in both languages and would like to set up both CLion and Rider to support DirectX.
On the Internet I found the following things related to CLion and DirectX: https://github.com/holy-shit/clion-directx-example, https://stackoverflow.com/questions/63474446/how-can-i-include-my-direct-x-install-location-in-clion. Hope they will be helpful.
Yes, thank you. I had found both of those results. However, neither resulted in a functional setup for DirectX development. I will investigate further to determine if I have misconfigured something but since the VM is relatively fresh, I wouldn't think so.
We don't have any specific support for DirectX in CLion, so I can't help you, unfortunately.
@... Did you manage to get this sorted? I'm trying to setup CLion for DirectX myself.
CMakeLists.txt