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?
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
Well, the compiler options are in the preferences, so it looks those up using that.
And the output path/name ?
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.
Quote from: indigo0086 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.
Just start a new C::B instance.