Hi Alan
The (very)simple example is attached - it can be run simply with cmake 
"dir/of/example" -G "Visual Studio 11 Win64"
You might well be able to run this on Wine or something as I'm told visual 
studio generators do not actually need access to the compiler like the nmake 
generator does.

2) I wasn't aware of the svn line ending issues. I didn't notice any options 
within TortoiseSVN to set them so assumed it was dealt with automagically. I'll 
try to hunt down the options next time.

3) That was me just playing around to see if I could affect the CMAKE_CL_64 or 
CMAKE_C_COMPILER or CMAKE_CXX_COMPILER variables at all. When it comes to this 
stuff I have no real idea how it all works so was just trying things almost at 
random. To be honest when it got to that point I came to the conclusion that to 
fix things I needed to properly learn CMake, which I probably don't have time 
for.

4) I had to make this change to get the module to run correctly. I think 
otherwise it was looking in the Plplot build tree for this file rather than the 
CMake directory. The change was based solely on a comment on a forum somewhere 
where someone reported a similar problem to that which I was experiencing.

5) Yes that is correct. According to the test and Brad's expectation the 
CMAKE_CL_64 variable should be defined for 64 bit Visual Studio and NMake 
projects and not for 32 bit. For some reason when this variable and the others 
you see listed in the commented out messages they indicate 32 bit projects. 
This is despite output from other CMake files during the generation process 
that appear to indicate otherwise.

My main issue with CMake is that I don't really know how the execution flow 
works, or how scope works, or how it interacts with existing or predefined 
variables. So modifying existing code is not to bad, but when it comes to 
starting things from scratch or working through multiple files I'm rather lost. 
As much as I would love to learn, I feel like I have other priorities (both 
Plplot related and not). However, if there are some tests you can do to guide 
things then I am happy to keep working on this.

Phil
cmake_minimum_required(VERSION 2.8)
project(Issue14693 C)

foreach(v
    CMAKE_CL_64
    CMAKE_C_COMPILER
  )
  message(STATUS "${v}=${${v}}")
endforeach()
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to