Re: [CMake] CMake & GCC on Windows

2009-07-20 Thread Alexander Neundorf
On Monday 20 July 2009, Robert Dailey wrote: > On Mon, Jul 20, 2009 at 11:16 AM, John Drescher wrote: > > On Mon, Jul 20, 2009 at 12:05 PM, Robert Dailey wrote: > > > Thanks for the response Bill. > > > I guess I could always use CodeBlocks & MinGW. > > > Sincerely, > > > Robert Dailey > > > > How

Re: [CMake] include_directories - newbie

2009-07-20 Thread Alexander Neundorf
On Friday 17 July 2009, Mark Lohry wrote: > I have this snipped in my cmakelists: > > IF( EXISTS "/someabsolutedirectory/unixem-1.8.2/include/glob2.h" ) > message( "/someabsolutedirectory/unixem-1.8.2/include/glob2.h exists" ) > ENDIF( EXISTS "/someabsolutedirectory/unixem-1.8.2/include/glob2.h

Re: [CMake] netbeans (nbproject) and cmake

2009-07-20 Thread Alexander Neundorf
On Friday 17 July 2009, Mathieu Malaterre wrote: > Hi, > >I did a quick search on google, and found nothing. But in case I > missed something, is anyone using netbeans with cmake ? Has anyone > worked on nbproject generator ? AFAIK no. If netbeans also supports makefile-based projects, writing

Re: [CMake] TRY_COMPILE NOT WORKING

2009-07-20 Thread Ashwin Chandra
Does anyone have any insight to the below problem? From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Ashwin Chandra Sent: Sunday, July 19, 2009 12:24 AM To: cmake@cmake.org Subject: [CMake] TRY_COMPILE NOT WORKING I am using a custom compiler and during the initial

[CMake] OSCON CMake talk

2009-07-20 Thread Bill Hoffman
Hi all, I am heading off to OSCON tomorrow, and will be presenting CMake on Wed (http://www.kitware.com/news/home/browse/238). If anyone attending the conference or is in the area, feel free to send me an email. -Bill -- Bill Hoffman Kitware, Inc. 28 Corporate Drive Clifton Park, NY 12065

Re: [CMake] installing dependents

2009-07-20 Thread David Cole
On Mon, Jul 20, 2009 at 2:12 PM, Clinton Stimpson wrote: > > Would the general cmake solution for find_program/find_library do something > like this: > dumpbin /headers {some.lib|some.dll|some.exe} | findstr "machine" ? > I get either AMD64 or x86 in the output from that. Yes. Or something that

Re: [CMake] installing dependents

2009-07-20 Thread Clinton Stimpson
Would the general cmake solution for find_program/find_library do something like this: dumpbin /headers {some.lib|some.dll|some.exe} | findstr "machine" ? I get either AMD64 or x86 in the output from that. If find_program did it right, then gp_resolve_item would give me the right .dll file.

Re: [CMake] installing dependents

2009-07-20 Thread David Cole
On Mon, Jul 20, 2009 at 1:39 PM, Clinton Stimpson wrote: > > Thanks. Do you know if gp_resolve_item handles 64 and 32 bit binaries > correctly on Windows? Definitely not. On Windows, it uses find_program to find the dlls in the PATH or in a list of directories provided by the caller... This is

Re: [CMake] installing dependents

2009-07-20 Thread Clinton Stimpson
Thanks. Do you know if gp_resolve_item handles 64 and 32 bit binaries correctly on Windows? "dumpbin /dependents" is used and it doesn't return full paths like ldd does on Linux, or otool on Mac. I put both in my PATH, so I can run both 32 and 64 bit programs. I just wanted to make sure I wa

Re: [CMake] installing dependents

2009-07-20 Thread David Cole
On Fri, Jul 17, 2009 at 6:48 PM, David Cole wrote: > No. It's supposed to return the actual string that is referenced by the > thing being analyzed. But you can call gp_resolve_item to get the full > path... (There is a reason for this, although I can't remember what it is at > the moment... If I

Re: [CMake] CMake & GCC on Windows

2009-07-20 Thread Michael Jackson
On Jul 20, 2009, at 12:25 PM, Robert Dailey wrote: On Mon, Jul 20, 2009 at 11:16 AM, John Drescher wrote: On Mon, Jul 20, 2009 at 12:05 PM, Robert Dailey wrote: > Thanks for the response Bill. > I guess I could always use CodeBlocks & MinGW. > Sincerely, > Robert Dailey > How about a singl

Re: [CMake] CMake & GCC on Windows

2009-07-20 Thread Robert Dailey
On Mon, Jul 20, 2009 at 11:16 AM, John Drescher wrote: > On Mon, Jul 20, 2009 at 12:05 PM, Robert Dailey wrote: > > Thanks for the response Bill. > > I guess I could always use CodeBlocks & MinGW. > > Sincerely, > > Robert Dailey > > > > How about a single source folder that is shared between two

Re: [CMake] CMake & GCC on Windows

2009-07-20 Thread John Drescher
On Mon, Jul 20, 2009 at 12:05 PM, Robert Dailey wrote: > Thanks for the response Bill. > I guess I could always use CodeBlocks & MinGW. > Sincerely, > Robert Dailey > How about a single source folder that is shared between two binary out of source builds. One for Visual Studio and the second for C

Re: [CMake] CMake & GCC on Windows

2009-07-20 Thread Robert Dailey
Thanks for the response Bill. I guess I could always use CodeBlocks & MinGW. Sincerely, Robert Dailey On Mon, Jul 20, 2009 at 10:47 AM, Bill Hoffman wrote: > Robert Dailey wrote: > >> Hello, >> >> I was wondering if it is possible to generate Visual Studio projects with >> CMake that utilizes t

Re: [CMake] CMake & GCC on Windows

2009-07-20 Thread Bill Hoffman
Robert Dailey wrote: Hello, I was wondering if it is possible to generate Visual Studio projects with CMake that utilizes the GCC compiler instead of MSVC? I guess this would technically be considered a cross-compiling setup, right? If this is possible, how could I go about setting this up? T

[CMake] CMake & GCC on Windows

2009-07-20 Thread Robert Dailey
Hello, I was wondering if it is possible to generate Visual Studio projects with CMake that utilizes the GCC compiler instead of MSVC? I guess this would technically be considered a cross-compiling setup, right? If this is possible, how could I go about setting this up? The reason why I want to do

Re: [CMake] [MacOSX] How to compile for certain SDK?

2009-07-20 Thread Michael Jackson
On Jul 20, 2009, at 7:44 AM, Michael Wild wrote: On 20. Jul, 2009, at 13:22, Steven Van Ingelgem wrote: Hi, I checked and in Darwin.cmake there are several items like "CMAKE_OSX_ARCHITECTURES_DEFAULT" and "CMAKE_OSX_DEPLOYMENT_TARGET_DEFAULT"... But... I can't set them properly in my own

[CMake] [Windows][msvc-9.0] Wired bug if MATLAB's gmake is on the path

2009-07-20 Thread Maik Beckmann
Hello fellow cmakers, I've encountered a weired bug: Given that CMake is installed in C:/Programme/CMake and MATLAB's bin folder is on the path before cygwin's, cmake fails on {{{ cmake_minimum_required(VERSION 2.6) project(Foo C) }}} with {{{ mkdir Debug cd Debug && cmake -G"Unix Makefiles

Re: [CMake] [MacOSX] How to compile for certain SDK?

2009-07-20 Thread Michael Wild
On 20. Jul, 2009, at 13:22, Steven Van Ingelgem wrote: Hi, I checked and in Darwin.cmake there are several items like "CMAKE_OSX_ARCHITECTURES_DEFAULT" and "CMAKE_OSX_DEPLOYMENT_TARGET_DEFAULT"... But... I can't set them properly in my own CMakeLists.txt file. As such, when I set the minimu

[CMake] [MacOSX] How to compile for certain SDK?

2009-07-20 Thread Steven Van Ingelgem
Hi, I checked and in Darwin.cmake there are several items like "CMAKE_OSX_ARCHITECTURES_DEFAULT" and "CMAKE_OSX_DEPLOYMENT_TARGET_DEFAULT"... But... I can't set them properly in my own CMakeLists.txt file. As such, when I set the minimum version to 10.4, it still will try to compile against v10.5