logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / September / 6 / 3
endrift
oh
um
then what does it mean to be a property of a subdirectory?
Lectem
(those are used to infer dependencies and stuff)
erh, its actually property of a target defined in a subdirectory
endrift
ah
yeah, those are isolated
you can't get those out
Lectem
well, not all it seems
endrift
also why are you trying?
Lectem
a bit weird
endrift
you don't want to set a subdirectory's properties on specific targets in the parent directory
Lectem
I tried an import target of ctrulib
and setting the interface_include_dirs to the include dirs of ctrulib
that way the include_dirs are transfered when using target_link_libraries
endrift
ah
so that dependencies on ctrulib will know if things update
Lectem
thing is, it works in the file creating the imported target
but not on parent it seems
the target is here, but not all properties are exported
thats one hell of a quirks of cmake
OH FUCK
interface_* properties arent exported
public_* are
need both it seems -.-
yuriks
interface_* are exported *only*
Lectem
well
yuriks
public_* are exported and used by the target itself
Lectem
its weird cause
interface_* is needed for the cmakelists that created the target
and public is needed for the parent
...
I thought PUBLIC => INTERFACE
guess not
yuriks
PRIVATE -> only used for compilation of the target
INTERFACE -> only used for compilation of users of the target
PUBLIC -> used for compilation of both the target and its users
Lectem
yeah well here INTERFACE or PUBLIC should have done the trick
but I need both
yuriks
?
PUBLIC *is* INTERFACE and PRIVATE
Lectem
yeah but here i'm using properties
not the target_* versions
yuriks
I don't think CMake has an equivalent property, so if you're not using target_foo you need to manually duplicate
Lectem
I guess I need to set both
it just doesnt work if I use only public
yuriks
oh, *doh*, finally found a good solution for the mutex
time to check more interleavings~
bah, nope
profi200
:>
The 3DS can be a bi**h :p
yuriks
svcArbitrateAddress isn't exactly the best primitive :/
WaitIfLessThan is kinda wonky
Lectem
cant you somehow use gcc builtins ?
yuriks
for atomics? sure
but not for blocking threads, obviously
endrift
I figured out why it was crashing
the good news is that it's not my fault
the bad news is that it's kinda hard to work around
the good news (pt 2) is that it's not really THAT hard
yuriks
lol
endrift
turns out FBI fu*ks up the kernel state somehow
so I have to start a real game before I can actually load mGBA
or any other CIA homebrew
yuriks
hmm...
FBI doesn't touch the kernel though
endrift
weird
yuriks
and shouldn't you just have to reboot first then?
Lectem
uh, sf2d installs itself in the ctrulib folders..
endrift
yep that works too
Lectem: yeah :(
I want to get rid of sf2d soon hopefully
yuriks
I'm kinda entertained by this threading stuff :P
Lectem
it should be using the portlib folder :/
yuriks
isn't portlib for... ported libs?
OHHHHHHHHHHH
so, I didn't realize
svcArbitrateAddress only checks the condition *before sleeping*
not after waking up
endrift
uh, yeah?
yuriks
yeah, I had it in my head that it was a condvar kind of deal lol
well, that was dumb
Lectem
rofl fu*k, public_* interface_* properties arent working in the end
didnt see I left a include_drectories in the parent cmakelists
sigh..
yuriks> isn't portlib for... ported libs? <<<< well its more or less devkitArm's sysroot equivalent
personally i put everything there
ooooooook........
so
my imported target should never have been visible from the parent
but it was
*.*
somehow it works on my dummy project but not with mgba <.<
i dont know what's wrong
yuriks
ok
https://gist.github.com/yuriks/cf4f50a604d129f24c98
I think this works fine
anyone feels like verifying it?
endrift
hmm, aptHooks don't appear to be working
for some reason
« prev 1 2 3 4 5 6 next »