Skip to main content


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 19:05 Go to next message
Tristano H is currently offline Tristano HFriend
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 11:03 Go to previous message
Edzard Egberts is currently offline Edzard EgbertsFriend
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: Fri Apr 19 20:38:09 GMT 2024

Powered by FUDForum. Page generated in 0.03032 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top