Re: [CMake] CMake Error: Parse error in cache file

2011-08-16 Thread Panu Avakul
Hello, I was able to get to the make process after having the shell script deleting the CMakeCache.txt every time so that CMake will be force to auto check all these variable again. I am not sure if this is a right work around or not, but it got me little further. Now I'm stuck with another probl

Re: [CMake] CMake Error: Parse error in cache file

2011-08-16 Thread Panu Avakul
Thank you very much for your reply, I tried to do as you advised. However, it seems like every time I change the CMakeCache.txt and then re run the cmake it overwrite the CMakeCache.txt to have that \n character again. I tried with cmake -C and it still rewrite it. I was wondering if there is a wa

Re: [CMake] append command

2011-08-16 Thread Glenn Coombs
I was thinking of using the exact same variable names as are currently in use. Currently if I do this: set(CMAKE_C_FLAGS "-foo") list(APPEND CMAKE_C_FLAGS "-bar") then it will fail as it tries to run the command "/usr/bin/gcc -foo;-bar ..." but if cmake automatically replaced semicolons with sp

Re: [CMake] CMake Error: Parse error in cache file

2011-08-16 Thread David Cole
These two lines look suspicious: FIND_PACKAGE_MESSAGE_DETAILS_BISON:INTERNAL=[/usr/bin/bison][vbison++ Version 1.21.9-1, adapted from GNU bison by coetm...@icdc.fr Maintained by Magnus Ekdahl ()] Perhaps there's a "\n" in there that should not be... Try putting that all on one line and give

[CMake] CMake Error: Parse error in cache file

2011-08-16 Thread Panu Avakul
Hello, I was trying to build the original carl9170 wireless firmware in ubuntu 11.04. However, it seems like cmake give me this error CMake Error: Parse error in cache file /home/radius0014/carl9170fw/config/CMakeCache.txt. Offending entry: I tried deleting the CMakeCache.txt but that doesn't help

Re: [CMake] Fwd: [CMake 0012398]: "IF" infamous functionality fails to work with macro arguments

2011-08-16 Thread Glenn Coombs
On 15 August 2011 20:23, Albert Meltzer wrote: > Maybe the esteemed colleagues would suggest another good and reliable way > to handle situations such as this: > > IF (lang STREQUAL "perl") ... > ELSEIF(lang STREQUAL "python") ... > ELSEIF() > ... > ENDIF () > > without having to SET(perl per

Re: [CMake] append command

2011-08-16 Thread Alexander Neundorf
On Monday 15 August 2011, John Drescher wrote: > > Anybody else has an opinion on this ? > > My preference is to drop the idea since the set command already allows > you to append a string. I meant for set_property(), not for set(). IMO for set_property() it makes sense, since there it replaces n

Re: [CMake] Assembler handling in 2.8.5 vs 2.8.4

2011-08-16 Thread Alexander Neundorf
On Monday 08 August 2011, Florian Reinhard wrote: > 2011/8/1 Alexander Neundorf : > >> I attached the gdb output i got. I've been running gdb from a minGW32 > >> installation on a normal windows cmd.exe on windows7 x64. > >> Unfortunately there's no backtrace (or i'm just don't know gdb well > >> e

Re: [CMake] ".S" files and assembler

2011-08-16 Thread Alexander Neundorf
On Wednesday 10 August 2011, Micha Renner wrote: > Hi, > > in http://www.cmake.org/pipermail/cmake/2009-November/033346.html > I found the line: "If the file (.S) needs to be preprocessed, set the > LANGUAGE source file property to C, this should work in most cases for > now." > Is this still the

Re: [CMake] hook __EOF__

2011-08-16 Thread t m
> What's wrong with "overriding" the project() command? AFAIK, if you > define a new function with a name that is already taken, the original > command is renamed by appending an underscore. > > Perhaps this solves your problem? I learn something every day. Thanks this will solve my issue. > But

Re: [CMake] Call for community dashboard submissions

2011-08-16 Thread Rolf Eike Beer
> Good morning, CMake-ers... > > Some gloomy news for some of our platforms (Sun, QNX): [...] > - is there anybody else out there that could offer Continuous and > Nightly dashboards for the QNX platform? I can't, but getting this is actually not very problematic. QNX offers a developer program

[CMake] Call for community dashboard submissions

2011-08-16 Thread David Cole
Good morning, CMake-ers... Some gloomy news for some of our platforms (Sun, QNX): These two platforms are now "less covered" this month on our CMake dashboard. Our old faithful, last piece of genuine Sun hardware bit the dust last month. dashsun1 last submitted a full set of dashboards on July 22

Re: [CMake] Nested Project()

2011-08-16 Thread Micha Renner
Am Montag, den 15.08.2011, 22:43 +0200 schrieb klaas.holwerda: > Hi, > > I have several nested directories, and each directory contains a > CMakeLists.txt file. > And most start with PROJECT( ) Where xxx is some name for what I like to > contains some targets. > > In VC it is possible to c