I'm sucessfully building QNX executables in CLion with CMake.
I get autogenerated "CMake Applications" as Run Targets, which of course, say that the binary is not a win32 application (cross compiled for qnx).
However, in the Run menu I can manage Targets and successfully add a ssh server target, which should do what I want it to do. Upload the executable to /tmp and run it..
But I cannot find a setting for Running the selected CMake Application on a specific target.