From: Werner S. <sm...@ia...> - 2008-02-07 17:03:10
|
Hi list, it is now possible to insert a tag in (all) the library names by setting LIB_TAG at the cmake configuration stage, e.g. cmake -DLIB_TAG=debug .. Reason is, that it is sometimes convenient to have the libraries being distinguishable due their name. E.g. in windows I have a debug and a release build of my program, linked to a debug and release build of wxwidgets. Therefore I need also a debug and release build of plplot linked to the debug and release build of wxwidgets. Since up to now the dlls were called the same, they couldn't stay in the same directory, I would need to set the path or copy dlls all the time I switch from debug to release and vice versa. With that minor change to double.cmake I'm now able to name the plplot libraries differently and both could stay in the same directory. Apart from that some would like to have different versions of plplot installed in Linux, which should be possible as well with this change. Or she has made some custom changes to plplot and would like to have this version called differently. I think that this change was the least extensive change, there are maybe other possibilities. There should be no changes however for those who don't set LIB_TAG at all. I tested the changes on Mac OS X and had no problems, so I hope, that it won't break anything, if so, it's easy to revert. Regards, Werner -- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |