The_Jag has quit [Read error: Connection reset by peer]
The_Jag has joined #openscad
The_Jag has quit [Read error: Connection reset by peer]
The_Jag has joined #openscad
<peepsalot>
grr, #cmake is dead and i want answers >:(
<teepee>
ah, I did not see that exists yet :)
<teepee>
hmm, 106 people, maybe just bad timing
<peepsalot>
i think some of our way of settings things is not conducive to building 3rd party libraries in subdirs. like we should use set_property(TARGET OpenSCAD ....) more and less general set(), add_definitions(), etc.
<peepsalot>
but its really unclear what exactly gets inherited for subdirectories, specifically if the current list file defines its own project
<peepsalot>
i'm also wondering if a subdir (mimalloc) can be built with debug, while the parent has Release or other build type.
<teepee>
is there maybe another way than just subdir? like use_library or so?
<peepsalot>
not sure
<teepee>
I'm finding only add_library which sounds like it would support building from source too
<peepsalot>
yeah, that's the main command to generate a library (just like we do add_executable for openscad), eg mimalloc/CMakeLists.txt would call that itself. i'm just trying to verify whether or not there's some settings that its inheriting which it shouldn't