Registered Member
|
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 Example: gcc test.c -o test Or is there a simpler way to set up Kdevelop? |
KDE Developer
|
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: add_executable(myExe myCode.c)
current KDE projects: Quanta, KDevelop, Kate
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell