Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Noobie help- Want to make a stand alone program
Noobie help- Want to make a stand alone program [message #884304] Sun, 10 June 2012 15:05 Go to next message
Tristano H is currently offline Tristano H
Messages: 1
Registered: June 2012
Junior Member
So pretty much, I'm doing a bunch of contest programming and the like, and I don't want to have to create a new project every time I want a new small executable program.

I've fooled around for a while, but I couldn't figure it out. Is there anyway to create and compile c++ programs outside of a project, just so I could write up say 5 different programs separately?

Thanks in advance.
Re: Noobie help- Want to make a stand alone program [message #884564 is a reply to message #884304] Mon, 11 June 2012 07:03 Go to previous message
Edzard Egberts is currently offline Edzard Egberts
Messages: 57
Registered: July 2009
Member
Tristan Homsi schrieb:
> So pretty much, I'm doing a bunch of contest programming and the like,
> and I don't want to have to create a new project every time I want a new
> small executable program.
>
> I've fooled around for a while, but I couldn't figure it out. Is there
> anyway to create and compile c++ programs outside of a project, just so
> I could write up say 5 different programs separately?

You only need to look to the "console" view of a project, change
something and build new. You will see the build orders and you can
"reuse" them by typing or script. For my linux system, the compiler
lines are starting with "g++", the gnu C++ Compiler. There are a lot of
options and the source code file and that will build your program. You
also should take a look to the "makefile", out of the same directory you
should be able to call "make clean", "make" to build your project.
Previous Topic:Auto configure new autotools project
Next Topic:How to make Build Console interactive?
Goto Forum:
  


Current Time: Thu Aug 21 14:03:31 EDT 2014

Powered by FUDForum. Page generated in 0.02277 seconds