Re: [CMake] INCLUDE_DIRECTORIES and subdirectories

2006-09-11 Thread David Cole
Yes to both. You can verify for yourself with the CMake command GET_DIRECTORY_PROPERTY and the property name INCLUDE_DIRECTORIES: >cmake --help-command GET_DIRECTORY_PROPERTY cmake version 2.4-patch 2 GET_DIRECTORY_PROPERTY Get a property of the directory. GET_DIRECTORY_PROPERTY(

Re: [CMake] Fortran 9x dependencies

2006-09-11 Thread Brad King
William A. Hoffman wrote: > At 03:20 PM 9/8/2006, Warren Turkal wrote: >> On Friday 08 September 2006 13:11, you wrote: >>> #ifdef FOO >>> use abc >>> #else >>> use xyz >>> #endif >> That's exactly the type of thing causing the problems. > > Brad, how hard do you think it would be to run the fortr

Re: [CMake] Fortran 9x dependencies

2006-09-11 Thread Arjen Markus
Brad King wrote: William A. Hoffman wrote: At 03:20 PM 9/8/2006, Warren Turkal wrote: On Friday 08 September 2006 13:11, you wrote: #ifdef FOO use abc #else use xyz #endif That's exactly the type of thing causing the problems. Brad, how hard do you think it wo

Re: [CMake] Fortran 9x dependencies

2006-09-11 Thread William A. Hoffman
At 09:32 AM 9/11/2006, Brad King wrote: >William A. Hoffman wrote: >> At 03:20 PM 9/8/2006, Warren Turkal wrote: >>> On Friday 08 September 2006 13:11, you wrote: #ifdef FOO use abc #else use xyz #endif >>> That's exactly the type of thing causing the problems. >> >> Brad,

Re: [CMake] make install not works for me

2006-09-11 Thread Brad King
://www.cmake.org/cgi-bin/viewcvs.cgi/Example/?root=CMake http://www.cmake.org/Testing/Dashboard/20060911-0100-Nightly/TestDetail/__Source_Example.html I've setup the web page to automatically update the example from the CVS repository every night.

[CMake] Can INCLUDE_EXTERNAL_MSPROJECT be used for command line build

2006-09-11 Thread Ken Manley
I have a directory tree filled with Visual Studio 2005 project files and some Linux makefiles. Each subdirectory in the tree builds for 1 operating system. I'd like to cmake as a high level make process to build the tree. I started by downloading the CMakeExample and reading some of the documen

Re: [CMake] Adding cross-compiler support to CMake ...

2006-09-11 Thread Sean McBride
On 2006-09-08 14:40, Brandon J. Van Every said: >Benjamin Reed wrote: >> On 9/6/06, Brandon J. Van Every <[EMAIL PROTECTED]> wrote: >> >>> Actually it's not invalid to compile it. That's what a cross-compiler >>> does. It's invalid to run it. CMake already has this distinction >>> between TRY_C

Re: [CMake] Adding cross-compiler support to CMake ...

2006-09-11 Thread Brandon J. Van Every
Sean McBride wrote: On 2006-09-08 14:40, Brandon J. Van Every said: Benjamin Reed wrote: On 9/6/06, Brandon J. Van Every <[EMAIL PROTECTED]> wrote: Actually it's not invalid to compile it. That's what a cross-compiler does. It's invalid to

Re: [CMake] Adding cross-compiler support to CMake ...

2006-09-11 Thread Benjamin Reed
On 9/11/06, Brandon J. Van Every <[EMAIL PROTECTED]> wrote: You'd have to trace through everything to see what's ultimately used. I didn't mean, "Endianness checks in CMake are implemented directly with TRY_RUN." Nor indirectly; I have no idea. I meant, "Conceptually, an Endinanness check mu

Re: [CMake] Fortran 9x dependencies

2006-09-11 Thread Warren Turkal
On Monday 11 September 2006 07:46, Arjen Markus wrote: > Most Fortran compilers have something of the kind, but it is not standard. > The code as presented is therefore not standard-compliant and will not > compile > correctly on all platforms. But given that, compilation would fail anyhow > if the

Re: [CMake] Adding cross-compiler support to CMake ...

2006-09-11 Thread Brandon J. Van Every
Benjamin Reed wrote: On 9/11/06, Brandon J. Van Every <[EMAIL PROTECTED]> wrote: You'd have to trace through everything to see what's ultimately used. I didn't mean, "Endianness checks in CMake are implemented directly with TRY_RUN." Nor indirectly; I have no idea. I meant, "Conceptually,

Re: [CMake] Fortran 9x dependencies

2006-09-11 Thread Warren Turkal
On Monday 11 September 2006 07:49, William A. Hoffman wrote: > At 09:32 AM 9/11/2006, Brad King wrote: > We could try something like this: > http://directory.fsf.org/MCPP.html Here's something that may be better. http://www.helsinki.fi/~eedelman/makedepf90.html wt -- Warren Turkal, Research Ass

Re: [CMake] Fortran 9x dependencies

2006-09-11 Thread William A. Hoffman
At 02:09 PM 9/11/2006, Warren Turkal wrote: >On Monday 11 September 2006 07:49, William A. Hoffman wrote: >> At 09:32 AM 9/11/2006, Brad King wrote: >> We could try something like this: >> http://directory.fsf.org/MCPP.html > >Here's something that may be better. > >http://www.helsinki.fi/~eedelman

Re: [CMake] Adding cross-compiler support to CMake ...

2006-09-11 Thread Benjamin Reed
On 9/11/06, Brandon J. Van Every <[EMAIL PROTECTED]> wrote: Hrm. I wanted to say that CMake should treat a Universal binary as multiple targets. But if gcc treats them as a single target, that's not possible. Sticky wicket. Suppress Endian checks on MacOS X? Basically. Although you'll sti

Re: [CMake] Fortran 9x dependencies

2006-09-11 Thread Warren Turkal
On Monday 11 September 2006 12:19, William A. Hoffman wrote: > Module:$RCSfile: cmDependsFortranParser.y,v $ > . > /*- > Portions of this source have been derived from makefdep90 version 2.6.2, The parser is up 2.8.

Re: [CMake] Fortran 9x dependencies

2006-09-11 Thread Alan W. Irwin
On 2006-09-11 14:19-0400 William A. Hoffman wrote: At 02:09 PM 9/11/2006, Warren Turkal wrote: http://www.helsinki.fi/~eedelman/makedepf90.html That is the code cmake is already using. Module:$RCSfile: cmDependsFortranParser.y,v $ . /*

[CMake] Kitware Source Quarterly Newsletter

2006-09-11 Thread Andy Cedilnik
Kitware is pleased to announce the creation of the Kitware Source quarterly newsletter. This publication contains information on recent releases and future enhancements of Kitware's Open Source projects including VTK, ITK, ParaView, CMake, and KWWidgets. Each issue includes several articles tha

[CMake] SDL_LIBRARY_TEMP

2006-09-11 Thread Brandon J. Van Every
I'm making a casual effort to build the G3D library, which has CMake support under development. It contains: INCLUDE (FindSDL) FIND_PACKAGE(SDL REQUIRED) I have SDL binaries for VS7.1 on my system in E:\devel\vs71\SDL-1.2.11. CMakeSetup complained that it was missing some SDL variables, so I