Re: [CMake] newbie Q: SET command

2006-06-20 Thread David Cole
The syntax in this thread is incorrect... $(SimpleViewSrcs) does not make any sense in a CMakeLists.txt file. ${SimpleViewSrcs} is what you want. Curly braces, not parentheses... HTH, David Miguel A. Figueroa-Villanueva wrote: On 6/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I

Re: [CMake] Compaq Fortran 6.1 detection fails under Windows

2006-06-20 Thread Philippe Poilbarbe
Brad King a écrit : Philippe Poilbarbe wrote: Hello, ... F90: error: Switch '-o' is ambiguous ... The fortran compiler if Compaq Fortran 6.1 and it ... CMake version: 2.4.2 That compiler is not known to CMake. You'll have to set the variable CMAKE_Fortran_COMPILE_OBJECT to teach CMake how

Re: [CMake] Compaq Fortran 6.1 detection fails under Windows

2006-06-20 Thread William A. Hoffman
At 08:34 AM 6/20/2006, Philippe Poilbarbe wrote: Brad King a écrit : Philippe Poilbarbe wrote: Hello, ... F90: error: Switch '-o' is ambiguous ... The fortran compiler if Compaq Fortran 6.1 and it ... CMake version: 2.4.2 That compiler is not known to CMake. You'll have to set the variable

Re: [CMake] cmake 2.4.2 vs cmake 2.2.3

2006-06-20 Thread Brad King
Vikas Kumar wrote: I agree. But even though I do not set the install prefix with a trailing /, the leading slash becomes necessary. That REGEX expression is generated anyway, and the fault is not with the REGEX expression. The fault is with the fact that I need to add a leading slash if i use

Re: [CMake] FIND_PACKAGE REQUIRED - concept chnage?

2006-06-20 Thread Brad King
Jan Woetzel wrote: Jan Woetzel wrote: The REQUIRED flag checking in FIND_PACKAGE(Foo REQUIRED) is not checking the result of FOO_FOUND anymore. [snip] In 2.0.6 each find script just had to set _FOUND and the FIND_PACKAGE command was handling teh rest automatically. I cannot find any code

Re: Re: [CMake] FIND_PACKAGE REQUIRED - concept chnage?

2006-06-20 Thread Alexander Neundorf
Hi, Von: Brad King [EMAIL PROTECTED] Jan Woetzel wrote: Jan Woetzel wrote: The REQUIRED flag checking in FIND_PACKAGE(Foo REQUIRED) is not checking the result of FOO_FOUND anymore. [snip] In 2.0.6 each find script just had to set _FOUND and the FIND_PACKAGE command was handling

Re: [CMake] FIND_PACKAGE REQUIRED - concept chnage?

2006-06-20 Thread Jan Woetzel
Brad King wrote: FIND_PACKAGE(Foo REQUIRED) I cannot find any code that would have done this in CMake 2.0. What makes you think this worked? I just tested it again. You are right, 2.06 just complains when FindFoo.cnake was not found. 2.0 and .4 ignore the _FOUND thing. The part about

Re: [CMake] bug: CMakeSetup.exe crash in MESSAGE command in 2.4.2+cvs

2006-06-20 Thread William A. Hoffman
Yes, see the attached file. OK, fixed in CVS. Status lines with more than one line will not really show up in CMakeSetup, but at least it won't crash anymore. /cvsroot/CMake/CMake/Source/MFCDialog/CMakeSetupDialog.cpp,v -- CMakeSetupDialog.cpp new revision: 1.118; previous revision: 1.117

Re: [CMake] Compile cmake on Power5 based computer

2006-06-20 Thread William A. Hoffman
At 05:23 PM 6/20/2006, Dong Luo wrote: -fPIC and -rdynamic are not flags for xlC. By defining CXX to gxlc++ (which suppose to translate the flags), the ./bootstrap finished without problem. However, the next step of type gmake as suggested give: Linking CXX executable

Re: [CMake] Compile cmake on Power5 based computer

2006-06-20 Thread William A. Hoffman
At 05:23 PM 6/20/2006, Dong Luo wrote: -fPIC and -rdynamic are not flags for xlC. By defining CXX to gxlc++ (which suppose to translate the flags), I know they are not flags for xlC, that is why I said this: You need to create a Linix-xlc.cmake file for the Modules/Platform directory. It