3 ms·
> This said, the example creating a lib (lib/) and using it in a binary (exec/) in the very same project seems wrong. Not only is this a bog standard thing to
by jvanderbot 4y ago
> This said, the example creating a lib (lib/) and using it in a binary (exec/) in the very same project seems wrong.
Not only is this a bog standard thing to do, it's really really easy with cmake.
> refactor the CMakeLists
Precisely. This is a totally normal organization just done incredibly badly.
- palata 4y agoThat's exactly what I meant. The example in the blog seems wrong. Of course having both a binary and a library in the same CMake project is totally normal. Let me try to edit my post :)