Re: [CMake] Generating for cygwin

2011-11-11 Thread Robert Dailey
Do you have a sample bash script I could look at? I'm not sure what environment variables need to be setup in my Cygwin environment. Thanks! - Robert Dailey On Thu, Nov 10, 2011 at 10:05 PM, Bill Hoffman bill.hoff...@kitware.comwrote: On 11/10/2011 5:14 PM, Robert Dailey wrote: I

[CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
How do I generate makefiles for cygwin? Can I run CMake through Windows and generate Unix Makefiles, or do I need to run cmake from inside of cygwin itself to generate? Instructions would be awesome, since I suck at linux and I'm just doing this to test my scripts on something other than Visual

Re: [CMake] Generating for cygwin

2011-11-10 Thread Alexander Neundorf
On Thursday 10 November 2011, Robert Dailey wrote: How do I generate makefiles for cygwin? Can I run CMake through Windows and generate Unix Makefiles, or do I need to run cmake from inside of cygwin itself to generate? IIRC you have to run it in the cygwin shell, preferrably the cmake built

Re: [CMake] Generating for cygwin

2011-11-10 Thread David Cole
On Thu, Nov 10, 2011 at 2:59 PM, Robert Dailey rcdai...@gmail.com wrote: How do I generate makefiles for cygwin? Can I run CMake through Windows and generate Unix Makefiles, or do I need to run cmake from inside of cygwin itself to generate? Instructions would be awesome, since I suck at linux

Re: [CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
I *have* to use Cygwin, and it should invoke the VS2003 compiler. The code is not platform agnostic and is very tied to Windows. Our legacy build system is a series of makefile scripts we use Cygwin to invoke those scripts, but everything points to Windows from inside Cygwin. Any way to make

Re: [CMake] Generating for cygwin

2011-11-10 Thread David Cole
This dashboard build of CMake is run from a cygwin bash script using gmake and the VS 2008 compiler: http://cdash.org/CDash/buildSummary.php?buildid=1711851 See the script that drives it here: http://cdash.org/CDash/viewNotes.php?buildid=1711851 Perhaps there's a clue in there that will be

Re: [CMake] Generating for cygwin

2011-11-10 Thread Bill Hoffman
On 11/10/2011 3:12 PM, David Cole wrote: This dashboard build of CMake is run from a cygwin bash script using gmake and the VS 2008 compiler: http://cdash.org/CDash/buildSummary.php?buildid=1711851 See the script that drives it here: http://cdash.org/CDash/viewNotes.php?buildid=1711851

Re: [CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
Thanks for the info guys but none of this really helps me out, especially the links to the CDash stuff. I don't even really know what I'm looking for. What generator do I need to use when I run cmake in cygwin? Isn't that all I need? Won't CMake automatically pick up the MSVC compiler, even if it

Re: [CMake] Generating for cygwin

2011-11-10 Thread Bill Hoffman
On 11/10/2011 4:32 PM, Robert Dailey wrote: Thanks for the info guys but none of this really helps me out, especially the links to the CDash stuff. I don't even really know what I'm looking for. What generator do I need to use when I run cmake in cygwin? Isn't that all I need? Won't CMake

Re: [CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
On Thu, Nov 10, 2011 at 3:51 PM, Bill Hoffman bill.hoff...@kitware.comwrote: See my email about the VS variables and gmake version. Also, you will need to set CC=cl and CXX=cl before running CMake, or when you run cmake-gui click on the Specify native compilers button after you select Unix

Re: [CMake] Generating for cygwin

2011-11-10 Thread Bill Hoffman
On 11/10/2011 5:14 PM, Robert Dailey wrote: I think my incorrect subject is symbolic of the fact that I don't know what I'm looking for ;) So you're basically saying that from cmake-gui on Windows, point C and CXX to cl.exe? I did this but got a big fat error message: I also said in my