1

Topic: [HELP] bam with linux destination path?

Hi,

I've got an small issue with bam, every time i type

../bam/src/bam release

my teeworlds source gets replaced by the compiled game

is it possible to give bam a destination?

something like

../bam/src/bam release ../teeworlds

?

obviously the example doesn't work otherwise i wouldn't have created this thread ^_^

the error message i get is:

bam: no target named '../teeworlds/'
bam: error during build

thanks in advance

day.redio.de | skins tilesets doodads and more

2 (edited by datag 2010-07-22 20:28:32)

Re: [HELP] bam with linux destination path?

däy wrote:
../bam/src/bam release

my teeworlds source gets replaced by the compiled game

What do you mean with "source gets replaced"? The resulting binaries are placed in the "root"-directory where you compile and the source code isn't touched.

däy wrote:

is it possible to give bam a destination?

I don't think bam supports so-called outer-source-builds. But I may be wrong.

$ cd teeworlds/trunk
$ mkdir build && cd build
$ bam ..
bam: error opening 'bam.lua'
bam: error during build

Anyways: There not really a need for this. Your problem seems to be something else.

"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." - Terry Pratchett -

3

Re: [HELP] bam with linux destination path?

What do you mean with "source gets replaced"? The resulting binaries are placed in the "root"-directory where you compile and the source code isn't touched.

Normally yes, but - I agree it's strange - the source code get deleted when he compiles.

my teeworlds source gets replaced by the compiled game

Then, the game is compiled. It's not a problem with wrong paths smile

Are you using bam 2.0?

Not Luck, Just Magic.