logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / August / 6 / 1
smea
<Namidairo> smea: I get notifications when theres a new repo on certain users because IF (formerly IFTTT) <= i see
Lectem
neobrain : what signature would you like for the add_nihstro_library ?
neobrain
Lectem: ?
Lectem
<Lectem> neobrain : what signature would you like for the add_nihstro_library ?
neobrain
huh, what would that actually do?
Lectem
create a library of shbin binaries
you give it shader as input, it will assemble and convert using bin2s
just like current makefiles do
neobrain
mhm library sounds like a confusing term for that, but whatever
if you look at https://github.com/neobrain/nihstro/blob/master/src/assembler.cpp#L379 , you can see the supported options
.. which of course doesn't cover everything that *will* eventually be supported, so.. let me think for a minute
Lectem
main problem is that checking function arguments with cmake is a pain ^^
neobrain
Lectem: just to be clear, with "library" you mean something that potentially spans multiple DVLEs in a single shbin, right?
Lectem
well just like add_library would do with c
neobrain
eh, I'd argue a C library is something different than a compiled shader
and I'm having trouble following how exactly you're translating that concept to shaders in fact
Lectem
well
somehow
its a C library
since it provides arrays of binary data
neobrain
btw, can we chat in an hour or two? I really should get some work done before spending more time on 3ds stuff.
Lectem
np
neobrain
kk, cya later ;)
Joostin
sup?
archshift
ichfly: are you okay?
Lectem
should I use GPL or what for 3ds cmake scripts?
Joostin
I use MIT if it's small and you don't mind not being credited, and GPL if it's big
Lectem
it's tiny, but here it's only build scripts
neobrain
on't think there's much point in GPLing them, is there?
*I don't
Lectem
dunno
I like the idea that people improving it should disclose it
Joostin
MIT doesn't require another person to opensource a project if they use some or all of your work for their own
Lectem
but well, its not really required no
well I dont really know how those licences apply to buildscript
I mean, they dont ship the scripts one way or another
just use it to build the application
Joostin
GPL means "fu*k you, I don't care if you only used one line from my project, all your work now has to be GPL"
Lectem
well yeah, but as I said, its not actual code
so I dont really know how it works
yuriks
MPL ftw
neobrain
Lectem: I don't think the GPL really works for build systems anyway. A build system is just a tool used to build an application, hence modifications to it need not be published
Lectem
it's as if you were using gimp to create your images, you dont need to redistribute with gimp licence
neobrain
On the other hand, the GPL already covers that along with a GPL-licensed application, the build files used to build the project need to be shipped along
yeah.
Lectem
so yeah I dont know how most licences cover those kind of scripts
"Do you believe that having GPL build scripts requires you to distribute
the source to the application ? If so you are quite mistaken. You only
need to distribute the source to the build scripts. I don't see any way
you can possibly link the build scripts to the application's executable,
that would require you to distribute the applications source." from http://www.cmake.org/pipermail/cmake/2006-August/010905.html
neobrain
pick whatever you find appropriate, I guess.. I don't have any strong opinion
Lectem
it doesnt seem to be that restrictive in any case
I'll just put MIT licence and call it a day ^^
neobrain
sounds good :p
Lectem
meh
cmake cant find my scripts if they are installed in dka
*on windows
weird
ichfly2
<archshift>ichfly: are you okay? <-- had problem with the power for the internet connection
archshift
:P
ichfly2
happens
Lectem
neobrain : only the beginning but https://github.com/Lectem/3ds-cmake
« prev