[CMake] Where to change default link line on Cmake

Rene Salmon salmr0 at bp.com
Thu May 6 09:23:21 EDT 2010


True.  Thanks!

Rene



On 5/6/10 7:09 AM, "Marcel Loose" <loose at astron.nl> wrote:

> Hi Rene,
> 
> -- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< --
> 
>> On the other hand we always want to use or default to XLC or XLF on an
> IBM
>> Power machine and not gcc or gfrotran so I can see our users seeing
> having
>> to set CC, CXX etc every time as a bit of a pain.  Sure they can just
> put
>> that in their .bashrs or .cshrc files and forget about it but that is
> not
>> really what we want.
> 
> If you want to set CC, CXX, and FC for *all* users, you might consider
> putting this in /etc/profile.local. Users can then still override this
> setting in their own .bashrc file, but at least they get a "sensible
> default".
> 
> Best regards,
> Marcel Loose.
> 
> 
> 



More information about the CMake mailing list