I am coding using cLion and debugging using Visual Studio.
I have installed MingW to go with clion. However when I am trying to include xInput.h clion can't find it.
I searched on the internet and added
include_directories("C:/Program Files (x86)/Windows Kits/8.1/Include/um")
to the cmakelists.txt file. It solves the xinput.h problem but creates a new problem.
I want to compile and debug the same way as casey does(i.e.compile with build.bat file, debug with Visual Studio).
I only want to have the features of cLion as the code editor.
Any solution as to tell clion from where to look for xinput.h file without causing it conflict for windows.h file?