Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / How to compile a DarkBASIC Pro-Project via Command-Line?

Author
Message
DoerrSt
16
Years of Service
User Offline
Joined: 19th Feb 2010
Location:
Posted: 30th Mar 2010 10:38
Hi,

how can I compile a DarkBASIC-Pro Project via command-line (i.e. indication a .dba-file to DBPCompiler.exe).

What are the available parameters?

Thanks,



Stefan
luskos
19
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 30th Mar 2010 12:51
You can compile from the editor.Hit F5, thats it.You can use #include command in your source to include another *.dba file.It must be in the same folder where your project is, or you need to set path to it before you include it.

Where there is a will, there is a way.
I often edit my posts, that`s who i am
DoerrSt
16
Years of Service
User Offline
Joined: 19th Feb 2010
Location:
Posted: 30th Mar 2010 13:08
Hi!

Thank you for your fast answer.

I try to create a external program which make some changes in the source. This program should compile and execute the project. After the program terminates some additional data which was written into a file should be read.

At the moment my program makes the changes in the source, but I have to compile and execute the program manually. After that I have to open the results file in my other program.

To get a better satisfaction in that process I want to have as much things as possible automated.

Any hints how to do that?
empty
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 30th Mar 2010 13:29
Quote: "You can compile from the editor."

The point is: he's asking how to compile without using an editor.


@DoerrSt:
A quick search would have brought you to this thread
http://forum.thegamecreators.com/?m=forum_view&t=56370&b=1p
DoerrSt
16
Years of Service
User Offline
Joined: 19th Feb 2010
Location:
Posted: 30th Mar 2010 13:38
@empty

Thank you, searched for 2 hours for that description and tried to get blueide source to solve that.

Login to post a reply

Server time is: 2026-07-26 21:13:01
Your offset time is: 2026-07-26 21:13:01