From: Werner S. <sm...@ia...> - 2006-11-26 10:04:25
|
Hi, I just committed a small change to plplot which should make life for windows developing easier (thanks for the hint, Alan): In CMakeLists.txt of the plplot main directory I added if(BUILD_SHARED_LIBS AND WIN32 AND NOT CYGWIN) SET(LIBRARY_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR}/dll) endif(BUILD_SHARED_LIBS AND WIN32 AND NOT CYGWIN) If we have shared libraries, Windows but not cygwin, all created libraries go into the dll directory. If you set PATH=path_to_plplot_build_dir\dll;%PATH% and set PLPLOT_LIB=path_to_plplot_dir\data all examples run without further copying of dlls, fonts, maps, etc. Both variables could be set in a batch file, which you run at CLI startup. Arjen, could you please check if this also works for you? Do you also need other stuff (exes?) to be copied or so? Regards, Werner -- Dipl. Ing. 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 |