[CMake] MESSAGE SEND_ERROR and FATAL_ERROR

2006-01-25 Thread Bill Hoffman
I want to change SEND_ERROR to do a FATAL_ERROR in the MESSAGE command. This it to make the required modules stop processing the cmakelist files at the first SEND_ERROR. Currently it works like this: SEND_ERROR: prevents the generate step from happening, but cmake continues to process files

Re: [CMake] MESSAGE SEND_ERROR and FATAL_ERROR

2006-01-25 Thread David Cole
So then there would be no difference between SEND_ERROR and FATAL_ERROR? What's the reasoning for this change? I like the fact that SEND_ERROR allows you to signal an error, but to complete the configure step to see if you hit any more errors... Then you can fix them all at once and try

Re: [CMake] MESSAGE SEND_ERROR and FATAL_ERROR

2006-01-25 Thread Bill Hoffman
At 09:27 AM 1/25/2006, William A. Hoffman wrote: The problem is that once you get an error, there is a good chance errors will scroll off the screen. Perhaps it would be better to have a maximum number of errors that cmake prints. I just tried this and it is not as good as I thought. Here

[CMake] CMake: Problem with reading files with semicolons

2006-01-25 Thread wedekind
Hi all, a quick question for CMake-gurus: Why do all semicolons disappear after reading a file using FILE(READ c:/some/file.txt TheFile) ??? If I print the output variable TheFile like this: MESSAGE(${TheFile}) it is missing all semicolons! That is destroying my source files while I am about

[CMake] Problems compiling cmake cvs on win32

2006-01-25 Thread Christian Ehrlicher
Hi I've some problems compiling cmake cvs with vs2005 express. I have installed PSDK (odbc32.lib is in PSDK MDAC package) First I get this error: C:\tmp\CMakecmake -G NMake Makefiles . CMake Error: CMAKE can not find the command line program cmake. argv[0] = cmake Attempted paths: cmake