From: LRN <lr...@gm...> - 2012-01-23 14:06:30
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23.01.2012 17:43, Sonya Blade wrote: > > >> Another option is to simply install CGAL into /mingw/ or >> /usr/local/ giving -I/usr/local/include and -L/usr/local/lib is >> not a problem, and giving -I/mingw/include or -L/mingw/lib is not >> even necessary - compiler will add these automatically. Putting >> everything into /mingw/ does create a bit of a chaos though. > > yes one of the option, been instructed in "Using Headers Provided > with Locally Installed External Libraries" but didn't wanted to use > that one,bcoz managment of those files are very hard to maintain, > as you noted. > I wouldn't say it's "very hard". There are difficulties, yes, but you can overcome them with some effort. For example, you can keep a copy of the files you've installed in a separate directory (which you're doing already), and then use a simple Python script to go over that directory and either install files from it into /mingw/, or uninstall matching files from /mingw/. It would also be able to scan a collection of such directories (which is an equivalent of a package cache), and tell from which directories (packages) a particular file came from. Or you can build a mingw package, in which case mingw-get will do these things (i hope; i'm not sure which of these features are implemented at the moment) for you (but then you'd have to specify package metadata, due to laziness i've never been able to force myself to do that). -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPHWlVAAoJEOs4Jb6SI2CwhPYIAJYxoL/Z+VvHqYRzcWY4npdS IfjRKKde7k58zGUQNOd1uxNwgF8/+I5apE71Xp+mHRpGjaAQ8WOwRDZTev802JGk gS70J8vRoI4baGfwQcBwU2YsN0jKOSra7gZ3j2jDsLp4UzW6LOhflFe8zgQ0h0iy My0CtG995IqHam8BkjnckKWeZAiYeKo5r4mGwurGeKL9y43chJksaofipHgSm15Y B3exJOnqMS3YcaulKVHgEMBspqnvTa2nyoQNidExh4RoEUZP5gjPkT0E7OUQe/Vr pcpxNy7Uuu80MRKlTlzglCBOZ6pBRWSM8dl5sLM36GQuNWSvLKY1wW+WzsfDoEg= =W83R -----END PGP SIGNATURE----- |