09:56 < bridge> [teeworlds] I added gamecontext\_sql.cpp and now bam yells at me \:c any ideas on how to fix it?``` 09:56 < bridge> [teeworlds] $ bam 09:56 < bridge> [teeworlds] bam: error: job 'objs/game/server/gamecontext_sql_d.o' already exists 09:56 < bridge> [teeworlds] [string "src/driver_gcc.lua"]:21: bad argument #1 to 'AddJob' (node 'objs/game/server/gamecontext_sql_d.o' already exists) 09:56 < bridge> [teeworlds] bam: script error (-t for more detail) 09:56 < bridge> [teeworlds] 09:56 < bridge> [teeworlds] ``` 09:58 < bridge> [teeworlds] https://github.com/DDNetPP/DDNetPP/blob/6cc3f4cfd4e326aacb3a060964d8a45df158e203/bam.lua#L342 10:59 < bridge> [teeworlds] image.png 10:59 < bridge> [teeworlds] https://cdn.discordapp.com/attachments/490150878934990850/899220025259491388/image.png 10:59 < bridge> [teeworlds] hue bam magic? why did it create a job for a file name that does not exist it just suffixed another \_sql 11:20 < bridge> [teeworlds] Okay build() seems to be called multiple times here thus collecting files multiple times and then creating duplicated jobs 11:20 < bridge> [teeworlds] 11:20 < bridge> [teeworlds] https://github.com/DDNetPP/DDNetPP/blob/6cc3f4cfd4e326aacb3a060964d8a45df158e203/bam.lua#L589-L595 11:21 < bridge> [teeworlds] So calling build() only onces fixes it. Weird that it only breaks tho when i add a new file o.O anyways whatever \:D 15:28 < bridge> [teeworlds] u litteraly have cmakelists.txt in your repo 15:29 < bridge> [teeworlds] ye ikr 15:29 < bridge> [teeworlds] drop bam 15:29 < bridge> [teeworlds] nu \:c 15:29 < bridge> [teeworlds] bam masterrace 15:29 < bridge> [teeworlds] there is no gain from bam over cmake 15:29 < bridge> [teeworlds] currently i bricked the whole thing \:D 15:29 < bridge> [teeworlds] i need bam+cmake to get it building 15:29 < bridge> [teeworlds] its a nice educational project, but its not as powerful as cmake 15:29 < bridge> [teeworlds] but i plan to support bam and cmake 15:29 < bridge> [teeworlds] no need to fanboy about it xD 15:30 < bridge> [teeworlds] bam is just better than cmake 15:30 < bridge> [teeworlds] because its by magnus 15:30 < bridge> [teeworlds] thats a fact not an opinion 15:30 < bridge> [teeworlds] thats why this 15:30 < bridge> [teeworlds] nice idea, but just not comparable 15:31 < bridge> [teeworlds] Yea i also feel a bit meh learning bam to fix the build because i will never need it again for anything 15:31 < bridge> [teeworlds] buut bam has a long history in tw and i would love to serve bam fans who never touched cmake yet with an headache less build \:) 15:31 < bridge> [teeworlds] xD 15:32 < bridge> [teeworlds] how many ppl even use ur repo and additionally dislike cmake 15:32 < bridge> [teeworlds] nobody uses my repo. 15:32 < bridge> [teeworlds] must be like 0.0001% persons xD 15:32 < bridge> [teeworlds] and there is also the advantage which i am making use of right now 15:33 < bridge> [teeworlds] if i break one build system i can still use the other 15:33 < bridge> [teeworlds] xD 15:33 < bridge> [teeworlds] or better if i break BOTH i can use BOTH to fix build again 15:33 < bridge> [teeworlds] mix two build systems sounds reasonable 15:33 < bridge> [teeworlds] if i run cmake it fails if i run bam it fails but if i run bam && cmake it builds ;D 15:33 < bridge> [teeworlds] 🧠 15:33 < bridge> [teeworlds] 9000IQ 15:34 < bridge> [teeworlds] soon i will add autogen configure.sh thingy 15:34 < bridge> [teeworlds] best build sys 15:34 < bridge> [teeworlds] oh no i hate auto make 15:34 < bridge> [teeworlds] is that the proper name for it? 15:34 < bridge> [teeworlds] "auto make" ? 15:35 < bridge> [teeworlds] i dunno i think GNU build tools 15:35 < bridge> [teeworlds] or smth 15:35 < bridge> [teeworlds] its soooo good 15:35 < bridge> [teeworlds] almost as good as bam 15:35 < bridge> [teeworlds] maybe even better cause its written in shell 15:35 < bridge> [teeworlds] https://www.gnu.org/software/automake/manual/html_node/GNU-Build-System.html 15:35 < bridge> [teeworlds] wow u know ur terms 15:35 < bridge> [teeworlds] u must be a fellow fan 15:36 < bridge> [teeworlds] i am happy the libs i use usually also provide cmake xD 15:36 < bridge> [teeworlds] then its ez to crosscompile