|How do I create an OS-neutral run configuration in Eclipse? [message #1007640]
||Wed, 06 February 2013 20:51
| Neal Kruis
Registered: October 2012
I would like to have a single run configuration that I can use whether I'm testing on a Windows system or a Unix system.|
Everything seems to be fine with the exception that in the run configurations dialog the field for C/C++ Application requires the extension of the application as well.
So in Windows, it is: "Path/To/Application.exe"
and on a Unix system, it is: "Path/To/Application"
If there was someway to automatically detect the OS and apply the appropriate extension, I can share the same *.launch file with everyone working on the project regardless of their operating system.
I've looked a little bit into using Variables to set the path and file name, but most of them require additional dialogs and user inputs. Wild cards don't seem to work here either.
BTW, This question is also on Stack Overflow if you'd like to answer it there instead-of/in-addition-to here:
Question number 14738096.
[Updated on: Wed, 06 February 2013 20:59]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03040 seconds