From: Werner S. <sm...@ia...> - 2006-08-30 08:09:08
|
Hi, Andrew Roach wrote: > At 08:40 AM 30/08/2006 +0200, you wrote: >> the problem is, that there is no standard folder for it in Windows, so - >> in my opinion - the only way is to tell cmake where to find the >> libraries and headers via environment variables. For example my folder >> structure looks like this >> >> c:\DevZone\plplot >> c:\DevZone\freetype-2.2.1 >> c:\DevZone\gd > > Agreed. Mine (for example) live in: C:\dev\MinGW\contrib > > How hard would it to be add the default compiler search path ? GCC uses > LIBRARY_PATH, C_INCLUDE_PATH, COMPILER_PATH, and CPLUS_INCLUDE_PATH for > example. I have my "C:\dev\MinGW\contrib" embedded within those paths > somewhere, and autotools was always able to find my libraries by searching > those variables. This would also be an option, but I have to admit, that I don't know to change the search path for any compiler I work with (except gcc now :). So we would need to provide this information for all compilers we support. Here it would be better, to just say "set FREETYPELIBDIR..." and the rest is done by cmake. I also just read in the INSTALL file, that something similar is done on Linux for the ABS. Regards, Werner |