Thu Apr 26, 2012 10:09 am
I've installed Kdevelop, and need a bit of help to setup for compiling with gcc.
I need to find the variable that stands for the current source file, so that I can pass an argument like:
gcc %filename -o filenamewithoutextension
gcc test.c -o test
Or is there a simpler way to set up Kdevelop?
Mon Apr 30, 2012 7:15 am
Yes, there are much simpler ways to achieve this.
The simplest would be to use "external scripts", there is even a quickcompile example that does just what you are looking for.
The alternative would be to use CMake, you example above would be a single line there:
current KDE projects: Quanta, KDevelop, Kate