Author Topic: Making custom terminal commands  (Read 2865 times)

Offline vladtarniceru

  • Single posting newcomer
  • *
  • Posts: 8
Making custom terminal commands
« on: November 17, 2013, 09:09:55 am »
Hello everyone,

I have a custom script made by me in bash which compile a C++ file. I was wondering if is possible to replace the F9 key command with "./myscript" ? If it is, please tell me how?

I searched on the internet but haven't found what I was looking for .. so maybe some of you can help me.

Thanks in advance!

PS: I'm using projects for codeblocks only for keeping the files in the same folder. I don't work with big projects, just small ones which only have .cpp files.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Making custom terminal commands
« Reply #1 on: November 17, 2013, 11:12:51 am »
Then I don't see a reason, not to use the built-in build system.

And to answer your question: search for "custom makefile projects" this is what you need.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline vladtarniceru

  • Single posting newcomer
  • *
  • Posts: 8
Re: Making custom terminal commands
« Reply #2 on: November 17, 2013, 09:50:13 pm »
Thanks! :)