1 (edited by toilette 2009-02-23 14:38:35)

Topic: adding mysqlclient to the building process

Hello,

I want to make a Statistic function for Teeworlds. Okay no problem so far. I have edited the sourcecode, so that the server sends it's output to a MySQL database. I think it will work, but only one problem: how can I build it? I don't think it will work by typing :

../bam/src/bam release

in the console, because the  library mysqlclient is needed, and I don't know how to tell bam to include it.

So I hope someone can help me.

Thanks

2

Re: adding mysqlclient to the building process

http://www.teeworlds.com/forum/viewtopic.php?id=1960

i think this is a finished version of that what you are working on.

ingame statistics would be much better anyway tongue

3

Re: adding mysqlclient to the building process

I know this tool, this has inspired me a little bit. But I don't want to run an external tool for the statistics.

But thx for your answer

4 (edited by toilette 2009-02-23 17:10:22)

Re: adding mysqlclient to the building process

I've found it. A simple

            server_settings.link.libs:Add("mysqlclient")

in the unix section of the default.bam applies the mysqlclient lib to the link process.

For the other OSes I don't know how to apply it. srry