Re: [CMake] Properly Detecting Win64

2011-04-12 Thread Michael Jackson
On Apr 12, 2011, at 4:24 PM, Bill Hoffman wrote: > On 4/12/2011 4:13 PM, David Cole wrote: > >> Does somebody have reproducible steps to get to the point where >> CMAKE_SIZEOF_VOID_P disappears?? >> >> I've never seen that... >> >> How many times do you have to re-configure before you start se

Re: [CMake] Properly Detecting Win64

2011-04-12 Thread Bill Hoffman
On 4/12/2011 4:13 PM, David Cole wrote: Does somebody have reproducible steps to get to the point where CMAKE_SIZEOF_VOID_P disappears?? I've never seen that... How many times do you have to re-configure before you start seeing this behavior? That sounds like something is just really wrong som

Re: [CMake] Properly Detecting Win64

2011-04-12 Thread David Cole
On Tue, Apr 12, 2011 at 4:07 PM, James Bigler wrote: > On Tue, Apr 12, 2011 at 1:27 PM, j s wrote: > >> >> >> On Tue, Apr 12, 2011 at 2:13 PM, James Bigler wrote: >> >>> On Mon, Jan 17, 2011 at 11:27 AM, Michael Jackson < >>> mike.jack...@bluequartz.net> wrote: >>> On Jan 17, 2011, at

Re: [CMake] Properly Detecting Win64

2011-04-12 Thread James Bigler
On Tue, Apr 12, 2011 at 1:27 PM, j s wrote: > > > On Tue, Apr 12, 2011 at 2:13 PM, James Bigler wrote: > >> On Mon, Jan 17, 2011 at 11:27 AM, Michael Jackson < >> mike.jack...@bluequartz.net> wrote: >> >>> >>> On Jan 17, 2011, at 1:23 PM, Eric Noulard wrote: >>> >>> > 2011/1/17 Michael Jackson :

Re: [CMake] Properly Detecting Win64

2011-04-12 Thread j s
On Tue, Apr 12, 2011 at 2:13 PM, James Bigler wrote: > On Mon, Jan 17, 2011 at 11:27 AM, Michael Jackson < > mike.jack...@bluequartz.net> wrote: > >> >> On Jan 17, 2011, at 1:23 PM, Eric Noulard wrote: >> >> > 2011/1/17 Michael Jackson : >> >> I have the following code: >> >> >> >> if ( "${CMAKE_

Re: [CMake] Properly Detecting Win64

2011-04-12 Thread James Bigler
On Mon, Jan 17, 2011 at 11:27 AM, Michael Jackson < mike.jack...@bluequartz.net> wrote: > > On Jan 17, 2011, at 1:23 PM, Eric Noulard wrote: > > > 2011/1/17 Michael Jackson : > >> I have the following code: > >> > >> if ( "${CMAKE_SIZEOF_VOID_P}" EQUAL "8" ) > >>set(CPACK_PACKAGE_FILE_NAME

[CMake] How to run CMake generated projects in VS2008

2011-04-12 Thread Ronan Keating
hi all, I want to know which is the proper way of generating/using the CMake generated VS2008 project files. I've downloaded the OpenGL samples pack from G-TRUC.NET. In order to not hassle with include files, dependencies etcc.. from forums I've been instructed to use the CMake to generate

Re: [CMake] FortranCInterface_VERIFY problem on Mac

2011-04-12 Thread Michael Jackson
It looks like your fortran compiler by default compiles in 32 bit (i386) where as GCC on OS X 10.6 defaults to 64 bit (x64). You probably need to provide some compiler flags to the fortran compiler in order to get it to compile in 64 bit mode. The error is actually pretty easy to read: > -lgfor

Re: [CMake] Target visibility in CMake using Xcode generator

2011-04-12 Thread Holtgrewe, Manuel
> While this works with Makefiles, I could imagine that the Xcode > generator doesn't allow to build a (sub)project from within its > directory if there're references to the parent project, especially > targets. Since I don't have access to an Xcode installation at the > moment, I cannot investigat

[CMake] FortranCInterface_VERIFY problem on Mac

2011-04-12 Thread tog
Hi, I am quite new to CMake. I want to use it for compiling an application mixing C & Fortran. I have narrowed down a CMake file to this: PROJECT(dummy) # Set the minimum version of cmake required to 2.6 CMAKE_MINIMUM_REQUIRED( VERSION 2.6 ) ENABLE_LANGUAGE(Fortran) INCLUDE(FortranCInterface)

Re: [CMake] Add library at compiling time

2011-04-12 Thread Michael Wild
On 04/12/2011 05:20 PM, pellegrini wrote: > Michael Wild a écrit : >> On 04/12/2011 04:52 PM, pellegrini wrote: >> >>> Hello everybody, >>> >>> I am using CMake 2.8 on a Fortran 90 project using ifort compiler. >>> >>> I would like to specify the path for Winteracter graphical library not >>> onl

Re: [CMake] Add library at compiling time

2011-04-12 Thread pellegrini
Michael Wild a écrit : On 04/12/2011 04:52 PM, pellegrini wrote: Hello everybody, I am using CMake 2.8 on a Fortran 90 project using ifort compiler. I would like to specify the path for Winteracter graphical library not only when linking but also when compiling. By the way the library is no

Re: [CMake] Add library at compiling time

2011-04-12 Thread Michael Wild
On 04/12/2011 04:52 PM, pellegrini wrote: > Hello everybody, > > I am using CMake 2.8 on a Fortran 90 project using ifort compiler. > > I would like to specify the path for Winteracter graphical library not > only when linking but also when compiling. > By the way the library is not in a standard

[CMake] Add library at compiling time

2011-04-12 Thread pellegrini
Hello everybody, I am using CMake 2.8 on a Fortran 90 project using ifort compiler. I would like to specify the path for Winteracter graphical library not only when linking but also when compiling. By the way the library is not in a standard location. I tried to use target_link_libraries func

Re: [CMake] DESTDIR behaviour with different variable name

2011-04-12 Thread Tomasz Grobelny
On Tue, 12 Apr 2011 03:44:04 +0200, Michael Hertling wrote: > On 04/11/2011 10:42 PM, Tomasz Grobelny wrote: >> On Monday 11 April 2011 21:55:48 Alexander Neundorf wrote: >>> On Monday 11 April 2011, Tomasz Grobelny wrote: On Mon, 11 Apr 2011 09:01:09 -0700, Tyler wrote: > On Mon, Apr 11