[CMake] Automatic dependency scanner of CMake 2.4.7

2007-11-11 Thread groton
Hello, I am using CMake version 2.4-patch 7 on Linux/Debian, and I noticed that a the automatic dependency scanner of CMake does add a dependency on the file bar.cpp upon the file foo.h when it encounters a the following commented out preprocessor command inside the bar.cpp file: /*

Re: [CMake] Automatic dependency scanner of CMake 2.4.7

2007-11-11 Thread Hendrik Sattler
Am Sonntag 11 November 2007 schrieb [EMAIL PROTECTED]: I am using CMake version 2.4-patch 7 on Linux/Debian, and I noticed that a the automatic dependency scanner of CMake does add a dependency on the file bar.cpp upon the file foo.h when it encounters a the following commented out

[CMake] Add include files

2007-11-11 Thread Yinon Ehrlich
Hi, * I'm new to CMake, trying to convert our existing GNU Makefiles to CMake. * I have a GCC compilation line that uses GCC's -include direction (Instead of having multiple identical #include lines within the source code.) == Does anyone has an idea how can I implement this feature with

Re: [CMake] Out-of-source build

2007-11-11 Thread Bill Hoffman
Yinon Ehrlich wrote: Hi, * I'm new to CMake, trying to convert our existing GNU Makefiles to CMake. * I need the out-of-source feature, and I want to make sure I do it the right way: SET(TOPLEVEL ../../..) SET(CMAKE_BINARY_DIR ${CMAKE_SOURCE_DIR}/${TOPLEVEL}/bin) ... is this the right

Re: [CMake] Out-of-source build

2007-11-11 Thread Andreas Pakulat
On 11.11.07 17:25:38, Yinon Ehrlich wrote: Hi, * I'm new to CMake, trying to convert our existing GNU Makefiles to CMake. * I need the out-of-source feature, and I want to make sure I do it the right way: SET(TOPLEVEL ../../..) SET(CMAKE_BINARY_DIR

Re: [CMake] Automatic dependency scanner of CMake 2.4.7

2007-11-11 Thread Juan Sanchez
According to the FAQ: http://www.cmake.org/Wiki/CMake_FAQ#CMake_dependency_scanner #if 0 shouldn't work either. How was the programming bad? Both /* */ comments and conditional statements are handled equally well by the c pre processor. Since each C/C++ compiler has a cpp, wouldn't it be good

Re: [CMake] Cmake on Leopard wtih Xcode2.5

2007-11-11 Thread Mike Jackson
This is because Apple now supports loading the developer tools where ever you want them instead of always in /Developer. This is going to play havoc with Cmake because I am assuming CMake is hard coded to look in /Developer for the dev tools. I wonder if there is an environment variable

Re: [CMake] Automatic dependency scanner of CMake 2.4.7

2007-11-11 Thread Andreas Pakulat
On 11.11.07 11:11:29, Juan Sanchez wrote: According to the FAQ: http://www.cmake.org/Wiki/CMake_FAQ#CMake_dependency_scanner #if 0 shouldn't work either. How was the programming bad? Both /* */ comments and conditional statements are handled equally well by the c pre processor. Since

Re: [CMake] Automatic dependency scanner of CMake 2.4.7

2007-11-11 Thread Bill Hoffman
Andreas Pakulat wrote: On 11.11.07 11:11:29, Juan Sanchez wrote: According to the FAQ: http://www.cmake.org/Wiki/CMake_FAQ#CMake_dependency_scanner #if 0 shouldn't work either. How was the programming bad? Both /* */ comments and conditional statements are handled equally well by the c pre

Re: [CMake] Cmake on Leopard wtih Xcode2.5

2007-11-11 Thread Mike Jackson
Here is some more information gleaned from the Xcode 2.5 release notes. When installed on OS X 10.4 (Tiger), Xcode 2.5 continues to be installed in /Developer and other places as usual. I am assuming CMake should continue to run just fine and find the frameworks just fine also. On OS X

[CMake] Windows Mobile?

2007-11-11 Thread Alexander Adam
Hello, I've seeked the net for quite a few times, including a few postings here about having an environment setup for Visual Studio 2005 C++/Windows Mobile. I am really uncertain how to get this thing working, especially how to include a Windows Mobile (Smartphone, Pocket PC etc Profiles, see VS

Re: [CMake] Single line crashes cmake

2007-11-11 Thread Joseph Garvin
What version of cmake are you running? Running from the cmd prompt I got the same crash with no error output. If there's a newer version available, where can I get it? I'm running 2.4 - patch 7. Also, I get the crash even if the file is just this without the message part: FILE(GLOB BLITZ_TMP C:/

Re: [CMake] Single line crashes cmake

2007-11-11 Thread Brandon Van Every
On Nov 11, 2007 3:07 PM, Joseph Garvin [EMAIL PROTECTED] wrote: What version of cmake are you running? Running from the cmd prompt I got the same crash with no error output. If there's a newer version available, where can I get it? I'm running 2.4 - patch 7. Also, I get the crash even if the

[CMake] INSTALL TARGETS modifies files on some platforms.

2007-11-11 Thread Magnus Sirwiƶ
Hi, I have notices strange behavior when using the INSTALL rule with the TARGETS signature as shown below: INSTALL ( TARGETS setuptool DESTINATION .) On some platforms the file copy of the above rule modifies the size of the file. ls -l bin/setuptool install/setuptool -rwxrwxr-x 1 bbb