Home » U++ TheIDE » U++ TheIDE: Packages » Third-party lib packing HOWTO anybody?
Re: Third-party lib packing HOWTO anybody? [message #32468 is a reply to message #32466] |
Thu, 19 May 2011 10:04 |
|
GaroRobe wrote on Thu, 19 May 2011 08:39 | Aha - makes sence!
And is there any way to hard-code such requirements into packages? Like distribute libs in packages leaving only path requirements for the runtime?
|
Yes, it can be done... altough it is not widely used You would have to specify the path in Project->Package organizer, adding a new link option (using context menu on right click in the right pane) and fill in something like -L../relative/path/to/lib/. The problem is that the syntax for GCC/MINGW is different than MSVC (don't know precise syntax), so you would have to add two separate entries, with when flags MSVC and !MSVC.
You could also use the very same way to directly add the lib into the linking command line. It might be simpler, but I am not sure if there aren't any hidden problems...
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Fri Apr 19 18:22:31 CEST 2024
Total time taken to generate the page: 0.02444 seconds
|