[CMake] Weird error message

2007-10-05 Thread Jesper Eskilson
What does the following error message mean: Re-run cmake no build system arguments -- /Jesper ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] Removing configurations.

2007-10-05 Thread Josef Karthauser
Quick question if I may. I can add a configuration by using following the instructions here: http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_wit h_a_custom_made_one_.3F How do I go about removing an existing one? Joe ___ CMake

[CMake] Problem with macro

2007-10-05 Thread Alexander.Camek
Hi List, I have written a macro in order to use it as a new command in cmake. This macro looks like this; MACRO(C2ADA _file _option) IF(C2ADA_PARSER) SET(INC_DIRS -IPATH_ONE;-IPATH_TWO) GET_FILENAME_COMPONENT(_name ${_file} NAME)

RE: [CMake] Version embedding - how to cause a command when make is run?

2007-10-05 Thread Atwood, Robert C
From: Alan W. Irwin (on cmake list) Yes, [svnversion] is the whole point! It is much easier than using individual revision nubmers for each file. Although not nearly as informative. I just tried svnversion, and it only gives a range of Revision numbers for the source tree. That's

[CMake] Supported configurations with Visual Studio builds

2007-10-05 Thread Josef Karthauser
I’m confused (not for the first time! ☺). Why is it that cmGlobalVisualStudio7Generator only supports DEBUG, RELEASE, MINSIZEREL and RELWITHDEBINFO? They’re mostly placeholders anyway so it seems wierd that they are hardcoded and enforced. Is this a bug or a feature, does anyone know? If I

RE: [CMake] Supported configurations with Visual Studio builds

2007-10-05 Thread Josef Karthauser
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Josef Karthauser Sent: 05 October 2007 15:44 To: cmake@cmake.org Subject: [CMake] Supported configurations with Visual Studio builds I’m confused (not for the first time! ☺). Why is it that

Re: [CMake] Supported configurations with Visual Studio builds

2007-10-05 Thread Sylvain Benner
If you rip out this I think you'll have an error with TRY_COMPILE. (be aware to delete your CMakeLists.txt cache each time you test your changes to be sure that the TRY_COMPILE is able to work correctly). I meant CMakeCache.txt not CMakeLists.txt, sorry. --Sylvain

Re: [CMake] Version embedding - how to cause a command when make is run?

2007-10-05 Thread David Cole
As Alan points out, you shouldn't trust the output of svn info as gospel unless you also verify that svn status gives you *empty* output. In the case that Alan identifies of trying to track down where a bug was introduced, a quick svn status check would show you which files were *not* up to date

RE: [CMake] Removing configurations.

2007-10-05 Thread Josef Karthauser
I can add a configuration by using following the instructions here: http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_wit h_a_custom_made_one_.3F How do I go about removing an existing one? Answering my own question, I now see I don't need to. Instead I just define

Re: [CMake] Version embedding - how to cause a command when make is run?

2007-10-05 Thread Juan Sanchez
How about: svn info file:///home/juans/svn_repository/svnroot/ | grep '^Revision:' | sed -e 's/^[^0-9]*//' on the repository. Or just: svn info | grep '^Revision:' | sed -e 's/^[^0-9]*//' After doing a svn update, the latest revision on the url seems to be accurate. Unfortunately the

[CMake] Cygwin cmake - Could not find CMAKE_ROOT

2007-10-05 Thread Wheeler, Frederick W (GE, Research)
I'm having trouble running cygwin cmake 2.4.7-2 on two different machines, one running XP, and one Windows 2000. Here's the error: % /bin/cmake CMake Error: Could not find CMAKE_ROOT !!! CMake has most likely not been installed correctly. Modules directory not found in /bin 39 [main] cmake

Re: [CMake] Version embedding - how to cause a command when make is run?

2007-10-05 Thread David Cole
Looks to me like the output of svn status -u will give you something like... Status against revision: 1234 ... when everything is up to date with respect to svn info. And it will give something like... *1001 FileAtPrevRevision.cxx Status against revision: 1234 ... when there is a

Re: [CMake] Version embedding - how to cause a command when make is run?

2007-10-05 Thread Juan Sanchez
Not being a member of the subversion list. And doubting that non cmake members can email this list. Please email us the results of your query to the subversion list. Juan David Cole wrote: Looks to me like the output of svn status -u will give you something like... Status against revision:

RE: [CMake] Version embedding - how to cause a command when make is run?

2007-10-05 Thread Atwood, Robert C
-Original Message- From: Juan Sanchez Not being a member of the subversion list. And doubting that non cmake members can email this list. Please email us the results of your query Okay, if people don't think it irrelevant to Cmake. I'm sensitive to the fact this discussion is