Author Topic: How do I deactivate a project without closing it?  (Read 4285 times)

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
How do I deactivate a project without closing it?
« on: August 26, 2007, 09:29:32 pm »
I am trying to make an executable from a file, but one project always remains active.  So I can't just compile this one cpp file I have.  Is there a way to leave a project in the project window, but deactivate it so I can compile a single non-project source file?

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: How do I deactivate a project without closing it?
« Reply #1 on: August 26, 2007, 09:51:24 pm »
Hi !

I don't know how to do this.
Just a question: how do you give the compiler its information (include paths, defines) without any project ?

Dje

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
Re: How do I deactivate a project without closing it?
« Reply #2 on: August 26, 2007, 09:52:50 pm »
Well, the compiler options are in the preferences, so it looks those up using that. 

Offline dje

  • Lives here!
  • ****
  • Posts: 683
Re: How do I deactivate a project without closing it?
« Reply #3 on: August 26, 2007, 10:07:37 pm »
And the output path/name ?

Offline indigo0086

  • Almost regular
  • **
  • Posts: 150
Re: How do I deactivate a project without closing it?
« Reply #4 on: August 26, 2007, 10:14:42 pm »
It outputs to the path the source file is under with the source filename as the exe.  It all works, try it for yourself, that's not the problem.  The only thing is I wan't to be able to compile and run that single file without having to close a project that is open.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: How do I deactivate a project without closing it?
« Reply #5 on: August 26, 2007, 11:48:30 pm »
It outputs to the path the source file is under with the source filename as the exe.  It all works, try it for yourself, that's not the problem.  The only thing is I wan't to be able to compile and run that single file without having to close a project that is open.

Just start a new C::B instance.
Be patient!
This bug will be fixed soon...