Hi, since it's especially for Windows more and more complicated to have all 3rd party libraries included in the plplot library I would propose the following solution.
We make an additional 3rd party library package, which contains the source files, header files and a custom CMakeLists.txt of all libraries we want to include (agg, freetype, libharu, cd, qhull,...). The structure would look like this: plplot ----> lib -->agg2.4 ---->CMakeLists.txt ---->src ---->include -->cd1.3 etc. The maintainance of this package would not be much effort, since we wouldn't need to always include the newest version of a library - it's just libraries known to work with plplot. And some libraries (qhull,cd) aren't updated anyway. Than we would need to change the Findxxx.cmake files a little bit: e.g. FindCD.cmake: find_path(CD_INCLUDE_DIR cd.h /usr/local/include /usr/include) if(CD_INCLUDE_DIR) [...] else(CD_INCLUDE_DIR) # library not found, see if user installed 3rd party package find_path(CML_DIR CMakeLists.txt ${CMAKE_SRC_DIR}/lib/cd1.3) if(CML_DIR) # yes?, so we compile it on our own subdirectory(CML_DIR) set(CD_INCLUDE_PATH ...) [...] endif(CML_DIR) endif(CD_INCLUDE_DIR) [...] This script won't work exactly like that, but you get the idea. This would have several advantages: 1) Very easy than for Windows users 2) if the system provides the libraries, we don't compile it on our own 3) if the user provides newer libraries, we don't compile it on our own 4) we have complete control of the library (shared, static, debug etc.) 5) Do get most features of plplot, you have only to untar the 3rd party package and you're ready 6) For users who don't use the 3rd party package there is no change at all disadvantage: 1) Maintain the package, but I think it's really low effort as soon as it is setup. 2) gd and wxwidgets can't be included that way. What do you think? -Werner -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: [EMAIL PROTECTED] 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel