On 2014-10-02 18:23-0000 phil rosenberg wrote:

> Okay, well I have fixed the spaces in the paths problem
and added a Visual Studio specific extra configuration parameter.

Good.  Please commit and push those change so they can be tested
by others.

> I am not sure how to deal with the final couple of problems. CMake
generates the shell scripts, from the .sh.in files and when it does so
it creates them with Windows line endings - Alan do you know how/if
CMake can be set to use Linux line endings when creating these
scripts?

I have gone through similar testing for the "MSYS Makefiles" and
"MinGW Makefiles" (and several other generators), and there were no
issues with the line endings for those configured files.  And Arjen
has done some testing of those configured scripts on both Cygwin
("Unix Makefiles" generator for that platform) and I believe "MSYS
Makefiles" as well without line ending issues. So it could be your
Visual Studio generator is the issue or it could be your bash version.
So to help sort out the cause, please try the experiment of using MSYS
bash (if you are currently using some other bash version).

> [...]I am also having a bit of trouble with the Tcl test
script. On line 27 of the sh.in file is the
linePATH=@PLTCL_DIR@:$PATH which resolves
toPATH=/D/usr/local/src/plplot-plplot/build/Visual Studio 11
64sd/bindings/tcl//$(Configuration)/:$PATHin the final script. Simply
adding quotes will solve the spaces in the path, however the Windows
style D: path has been mangled. Alan, any advice on this?

CMake needs help to deal correctly with drive letters on paths. Take
a look at the determine_msys_path function in
cmake/modules/plplot_functions.cmake for one solution that works on
MSYS.  It is possible you could use that directly (without the
if(MSYS) logic) or a variant of that to solve the issue for your case.

Alan

__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state
implementation for stellar interiors (freeeos.sf.net); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to