Re: [CMake] get current INCLUDE_DIRECTORIES list?

2006-02-02 Thread Alexander Neundorf
Hi, > Von: Zachary Pincus <[EMAIL PROTECTED]> > > Hi folks, > > Is it possible to get a list of the currently-defined include > directories (implicitly included paths, and those explicitly added > with INCLUDE_DIRECTORIES) within cmake at configure time? Or failing > that, get a v

[CMake] CMake C++ and Fortran mixed language project fails

2006-02-02 Thread Michael Stephenson
I have a mixed language C++ and Fortran project that works on Linux. I'm now trying to run it on Windows. CMakeSetup generates the following errors:   CMakeError: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_Fortran_FLAGS_REL

[CMake] get current INCLUDE_DIRECTORIES list?

2006-02-02 Thread Zachary Pincus
Hi folks, Is it possible to get a list of the currently-defined include directories (implicitly included paths, and those explicitly added with INCLUDE_DIRECTORIES) within cmake at configure time? Or failing that, get a variable that expands to whatever make/XCode/VC++ variable stores the

Re: [CMake] VS8 and cmake 2.2.3 [Fwd: RE: [Fwd: visual studio 2005 free version]]

2006-02-02 Thread Brad King
Asmodehn Shade wrote: Hi all, Just to confirm I have the same problem here... CMake 2.2.3 Fresh install of VS8Express + PSDK (option environment variable checked ON). Was able to build the win32 template (from the command line) and run it. I have checked my paths, I can access cl from the com

Re: [CMake] [VS8] Option 'GZ' has been deprecated use 'RTC1' instead of 'GZ'

2006-02-02 Thread Brad King
Filipe Sousa wrote: cl : Command line warning D9036 : use 'RTC1' instead of 'GZ' Fixed in CVS. -Brad ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Impossible to order the linker search path....

2006-02-02 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 That's what I get when I link with X11_LIBRARIES: It is impossible to order the linker search path in such a way that libraries specified as full paths will be picked by the linker. Directories and libraries involved are: Directory: /usr/X11R6/lib con

Re: [CMake] shared and static library

2006-02-02 Thread Xavier Delannoy
On Thu, 02 Feb 2006 16:38:52 + Mike Talbot <[EMAIL PROTECTED]> wrote: > I think the short answer to your question is that you need separate > build directories for shared and static (otherwise you may get name > clashes, e.g. windows .lib files are produced for both shared and static > buil

Re: [CMake] shared and static library

2006-02-02 Thread Darko Miletic
Xavier Delannoy wrote: > this doesn't work, or maybe I do something wrong. > > When I do this: > cd static_lib_dir && cmake . && make > cd shared_lib_dir && cmake . && make > > In my LIBRARY_OUTPUT_PATH I have only have the last type of lib which was build (in this case the shared type). > > Any su

Re: [CMake] shared and static library

2006-02-02 Thread Mike Talbot
Xavier Delannoy wrote: On Thu, 02 Feb 2006 15:02:00 + Mike Talbot <[EMAIL PROTECTED]> wrote: I believe that if you don't specify STATIC or SHARED in the ADD_LIBRARY command, then you can control whether libraries are built as shared or static via the BUILD_SHARED_LIBS variab

[CMake] x64 with platform sdk

2006-02-02 Thread Reggie Burnett
I am trying to build a project for x64 using the platform sdk using nmakefiles.  The intiail discovery phase fails when looking for odbc32.lib (which doesn’t exist in the x64 platform sdk).  Does cmake not support this scenario?  Can I adjust something to make it work? Reggie __

Re: [CMake] shared and static library

2006-02-02 Thread Xavier Delannoy
On Thu, 02 Feb 2006 15:02:00 + Mike Talbot <[EMAIL PROTECTED]> wrote: > I believe that if you don't specify STATIC or SHARED in the ADD_LIBRARY > command, then you can control whether libraries are built as shared or > static via the BUILD_SHARED_LIBS variable. If you set this to true in >

Re: [CMake] shared and static library

2006-02-02 Thread Mike Talbot
Darko Miletic wrote: Xavier Delannoy wrote: hi all, Is there any proper way to build a shared AND static lib with cmake ? Not directly from the same script. You will have to write two separate scripts for that. One that will produce static lib and another that will pro

Re: [CMake] shared and static library

2006-02-02 Thread Xavier Delannoy
On Thu, 02 Feb 2006 11:31:42 -0300 Darko Miletic <[EMAIL PROTECTED]> wrote: > Xavier Delannoy wrote: > > hi all, > > > > Is there any proper way to build a shared AND static lib with cmake ? > > Not directly from the same script. You will have to write two separate > scripts for that. One that

Re: [CMake] shared and static library

2006-02-02 Thread Darko Miletic
Xavier Delannoy wrote: > hi all, > > Is there any proper way to build a shared AND static lib with cmake ? Not directly from the same script. You will have to write two separate scripts for that. One that will produce static lib and another that will produce shared lib. It can be represented lik

[CMake] shared and static library

2006-02-02 Thread Xavier Delannoy
hi all, Is there any proper way to build a shared AND static lib with cmake ? ( ADD_LIBRARY(libname SHARED sources ..) && ADD_LIBRARY(libname STATIC sources ..) doesn't work) Do I need to have 2 directory, one for the shared and one for the static ? best regards, -- Xavier Delannoy

Re: [CMake] VS8 and cmake 2.2.3 [Fwd: RE: [Fwd: visual studio 2005 free version]]

2006-02-02 Thread Asmodehn Shade
Hi all,Just to confirm I have the same problem here... CMake 2.2.3Fresh install of VS8Express + PSDK (option environment variable checked ON). Was able to build the win32 template (from the command line) and run it. I have checked my paths, I can access cl from the command line, I can access cmake