zproject
zproject copied to clipboard
Adding dependent libraries
How can one add libraries to the project?
For example I just added an executable which depends on libdl but I can't express this in the project.xml? I now have to manually modify the generated CMakeLists.txt, or set LDFLAGS on the command line?
Suggestions welcome!
I also tried
<use project = "libc">
<linkname>"dl"</linkname>
</use>
But to no avail as this generates much more then needed, ie #include <libc.h> in the global include.