Message: Re: How to link with home made .so files Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to link with home made .so files 

Forum: Installation and Configuration
Re: Question How to link with home made .so files (Alain Ferragut)
Re: None Re: How to link with home made .so files (Ben Morgan)
Re: None Re: How to link with home made .so files (Alain Ferragut)
Re: Ok Re: How to link with home made .so files (Alain Ferragut)
Date: 14 Apr, 2015
From: Ben Morgan <Ben Morgan>

On Mon, 13 Apr 2015 14:04:02 GMT, Alain Ferragut wrote:
> Sorry... It is now working. It didn't work when I tried to parametrized
> the full path with an environmental variable such as
> ${SAPHYTOOL}/install/lib/libanalyse.so. I had to completely hardcode the
> path, as you said. Thanks a lot !
> 
> Alain
> 

Great! Environment variables can be accessed internally in CMake scripts using $ENV{NAMEOFVAR}, e.g. $ENV{SAPHYTOOL}/install/lib/libanalyse.so for your case. I'd recommend the config file method though, as this is more portable and flexible.

 Add Message Add Message
to: "Re: How to link with home made .so files"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]