marfi wrote:In my previous post I meant this behaviour:
I have a project which uses (links with) my custom shared library which is not installed in the system (it means that it is not located in standard system path). If I run my app then I get error message telling me that the shared library couldn't be found (that is obvious - this error message disappears after correct installation of the shared library and everything works fine). But, If I do the same thing in Code::Blocks IDE (maybe also in VS), then the IDE loads the requested library for me without need of its installation. Is this behaviour supported by CL as well? In my opinion this approach is very useful for developping/debugging of shared libraries - I'm not forced to install them to the system after every code change...
Yes, CodeLite supports that.
- go to 'settings -> environment variables'
- define new environment variable named: PATH
as value set: $(PATH);/path/to/your/shared/library
(replace /path/to/your/shared/library with the actual path ofc)
Note: the $(PATH); is very important!
Now CodeLite will be able to locate your shared libraries without the need for them to be installed.
Eran