[cmake-developers] [CMake 0012402]: boost components aren't found

2011-08-16 Thread Mantis Bug Tracker

The following issue has been SUBMITTED. 
== 
http://www.cmake.org/Bug/view.php?id=12402 
== 
Reported By:Galeazzi
Assigned To:
== 
Project:CMake
Issue ID:   12402
Category:   CMake
Reproducibility:always
Severity:   minor
Priority:   normal
Status: new
== 
Date Submitted: 2011-08-16 07:37 EDT
Last Modified:  2011-08-16 07:37 EDT
== 
Summary:boost components aren't found
Description: 
The findBoost module seems is not able to detect the boost library components
even setting the BOOST_LIBRARYDIR variable.

Steps to Reproduce: 
That's a simple CMakeLists.txt to reproduce the bug:
cmake_minimum_required(VERSION 2.8)
project(BoostICP)
set(Boost_DEBUG 1)
set(Boost_USE_STATIC_LIBSON)
set(Boost_USE_MULTITHREADED  ON)
set(BOOST_LIBRARYDIR /usr/lib64)

FIND_PACKAGE(Boost COMPONENTS date_time)
  IF (Boost_FOUND)
  INCLUDE_DIRECTORIES(${BOOST_INCLUDE_DIR})
  message(STATUS Boost lib: ${Boost_LIBRARIES})
  else()
  message(FATAL_ERROR Boost not found)
  ENDIF()
  SET(SOURCES_MAIN
  ./src/main.cpp)
  set(SOURCES_
  ${SOURCES_MAIN})
  
  add_executable(Boost-ICP ${SOURCES_MAIN})
  link_directories(/usr/lib64)
  target_link_libraries(Boost-ICP ${Boost_LIBRARIES} rt)  

== 

Issue History 
Date ModifiedUsername   FieldChange   
== 
2011-08-16 07:37 Galeazzi   New Issue
==

___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Automoc in cmake

2011-08-16 Thread Alexander Neundorf
On Tuesday 16 August 2011, Alexander Neundorf wrote:
 On Tuesday 16 August 2011, Alexander Neundorf wrote:
 ...
 
  There is now a branch AutomocForQt on the cmake stage.
  Docs and a test are still missing.
 
 It has a test now. Docs are still missing.

Now it also has docs.
I haven't merged it to next yet.
Any objections ?

Alex
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Automoc in cmake

2011-08-16 Thread David Cole
2011/8/16 Alexander Neundorf neund...@kde.org:
 On Tuesday 16 August 2011, Alexander Neundorf wrote:

 On Tuesday 16 August 2011, Alexander Neundorf wrote:

 ...



  There is now a branch AutomocForQt on the cmake stage.

  Docs and a test are still missing.



 It has a test now. Docs are still missing.

 Now it also has docs.

 I haven't merged it to next yet.

 Any objections ?

 Alex

 ___
 cmake-developers mailing list
 cmake-developers@cmake.org
 http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers




Brad and I just read through some of your recent commits. In the
Tests/CMakeLists.txt there's logic that looks like this:

  IF(NOT QT4_FOUND)
FIND_PACKAGE(Qt4)
IF(QT4_FOUND)
  ...
ENDIF()
  ENDIF()

Could you change it to this?
  IF(NOT QT4_FOUND)
FIND_PACKAGE(Qt4)
  ENDIF()
  IF(QT4_FOUND)
...
  ENDIF()

That way, when we have builds of CMake where Qt is on (to build
cmake-gui) it will run the test. As it stands now, looks like it will
not run the test when we already *know* we have Qt available...

After that, go ahead and merge to 'next' and see how it looks on the dashboard.

Thanks,
Dave
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Automoc in cmake

2011-08-16 Thread Alexander Neundorf
On Tuesday 16 August 2011, David Cole wrote:
 2011/8/16 Alexander Neundorf neund...@kde.org:
  On Tuesday 16 August 2011, Alexander Neundorf wrote:
  On Tuesday 16 August 2011, Alexander Neundorf wrote:
  
  ...
  
   There is now a branch AutomocForQt on the cmake stage.
   
   Docs and a test are still missing.
  
  It has a test now. Docs are still missing.
  
  Now it also has docs.
  
  I haven't merged it to next yet.
  
  Any objections ?
  
  Alex
  
  ___
  cmake-developers mailing list
  cmake-developers@cmake.org
  http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
 
 Brad and I just read through some of your recent commits. In the
 Tests/CMakeLists.txt there's logic that looks like this:
 
   IF(NOT QT4_FOUND)
 FIND_PACKAGE(Qt4)
 IF(QT4_FOUND)
   ...
 ENDIF()
   ENDIF()
 
 Could you change it to this?
   IF(NOT QT4_FOUND)
 FIND_PACKAGE(Qt4)
   ENDIF()
   IF(QT4_FOUND)
 ...
   ENDIF()
 
 That way, when we have builds of CMake where Qt is on (to build
 cmake-gui) it will run the test. As it stands now, looks like it will
 not run the test when we already *know* we have Qt available...

Hmm, yes. Not sure what I thought when writing this.
 
 After that, go ahead and merge to 'next' and see how it looks on the
 dashboard.

Done.
Can a merge to next actually also be undone ?

Alex
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Automoc in cmake

2011-08-16 Thread David Cole
On Tue, Aug 16, 2011 at 5:47 PM, Alexander Neundorf neund...@kde.org wrote:
 On Tuesday 16 August 2011, David Cole wrote:

 2011/8/16 Alexander Neundorf neund...@kde.org:

  On Tuesday 16 August 2011, Alexander Neundorf wrote:

  On Tuesday 16 August 2011, Alexander Neundorf wrote:

 

  ...

 

   There is now a branch AutomocForQt on the cmake stage.

  

   Docs and a test are still missing.

 

  It has a test now. Docs are still missing.

 

  Now it also has docs.

 

  I haven't merged it to next yet.

 

  Any objections ?

 

  Alex

 

  ___

  cmake-developers mailing list

  cmake-developers@cmake.org

  http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers



 Brad and I just read through some of your recent commits. In the

 Tests/CMakeLists.txt there's logic that looks like this:



 IF(NOT QT4_FOUND)

 FIND_PACKAGE(Qt4)

 IF(QT4_FOUND)

 ...

 ENDIF()

 ENDIF()



 Could you change it to this?

 IF(NOT QT4_FOUND)

 FIND_PACKAGE(Qt4)

 ENDIF()

 IF(QT4_FOUND)

 ...

 ENDIF()



 That way, when we have builds of CMake where Qt is on (to build

 cmake-gui) it will run the test. As it stands now, looks like it will

 not run the test when we already *know* we have Qt available...

 Hmm, yes. Not sure what I thought when writing this.

 After that, go ahead and merge to 'next' and see how it looks on the

 dashboard.

 Done.

 Can a merge to next actually also be undone ?

 Alex


No need for that unless you really want to get rid of a previous commit...

Just continue the topic, making further changes, push it to the stage
and merge again.
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


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 create in the top solution, so called solution 
 folders.
 Why does CMake not use the PROJECT() statement to create such solution 
 folders, in order to group 
 targets?
You can group targets.
Documentation and how to do, is described here (as a start point):
http://www.cmake.org/pipermail/cmake/2010-December/041375.html

There are limits...
http://public.kitware.com/Bug/view.php?id=11436

...and it does not work with VS Express, as much as I know.

Greetings

Micha



 
 If I remember well, in older versions of Cmake its VC generators, this was 
 like that.
 I even remember the documentation of PROJECT() did mention it as a special 
 feature for VC in those days.
 Why is it gone?
 
 Regards,
 
 Klaas
 
 
 
 
 
 ___
 Powered by www.kitware.com
 
 Visit other Kitware open-source projects at 
 http://www.kitware.com/opensource/opensource.html
 
 Please keep messages on-topic and check the CMake FAQ at: 
 http://www.cmake.org/Wiki/CMake_FAQ
 
 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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 that is free of charge and allows download of their
software. This stuff runs pretty ok at least on Linux/KVM, likely also in
other virtualization environments. So all this should be solvable without
any additional hardware (as needed for the Sun stuff). The only thing that
you have to live with is that it is sometimes creepingly slow and QNX 6.5
has a know bug on booting that randomly prevents it from proper starting
on KVM. Trying again is enough there to get it eventually boot.

If someone is willing to do this I would offer to add a helping hand every
now and then. Ideally this would be a machine inside Kitware to make sure
it's continued availability...

Eike
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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 way to process .S-files. In 2009 it sounded so
 temporary.

It should work now with cmake 2.8.5.
...still have to update the documentation on the wiki.

Alex
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 not only one 
line of code and avoids creating an additional temporary variable.

Alex
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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

2011-08-16 Thread Glenn Coombs
On 15 August 2011 20:23, Albert Meltzer buls...@gmail.com 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 perl) (and all the other cases in this switch)
 myself (just in case), but still being afraid that somebody, somewhere else,
 would SET(perl 5.10.0), and without resorting to IF (lang MATCHES ^perl$)?


Maybe I'm missing something obvious here but wouldn't the following code
work okay:

if (${lang} STREQUAL perl) ...
elseif (${lang} STREQUAL python) ...
elseif ()
...
endif ()

--
Glenn
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

[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 at all.
I saw at some other place that has this error that they have the line
number and information on where and why this problem occur.  However,
mine does not say anything at all.
I have attached the CMakeCache.txt with this email and was wondering
if anyone could point out to me if there is mistake in my file.
My cmake is 2.8.3.
Thank you very much
Best Regards,
Panu Avakul
# This is the CMakeCache file.
# For build in directory: /home/radius0014/carl9170fw/config
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUI's for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.


# EXTERNAL cache entries


//path to the bison executable
BISON_EXECUTABLE:FILEPATH=/usr/bin/bison

//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar

//Choose the type of build, options are: None(CMAKE_CXX_FLAGS or
// CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel.
CMAKE_BUILD_TYPE:STRING=

//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON

//CXX compiler.
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++

//Flags used by the compiler during all build types.
CMAKE_CXX_FLAGS:STRING=

//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release minsize builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the compiler during Release with Debug Info builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g

//C compiler.
CMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc

//Flags used by the compiler during all build types.
CMAKE_C_FLAGS:STRING=

//Flags used by the compiler during debug builds.
CMAKE_C_FLAGS_DEBUG:STRING=-g

//Flags used by the compiler during release minsize builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the compiler during release builds (/MD /Ob1 /Oi
// /Ot /Oy /Gs will produce slightly less optimized but smaller
// files).
CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the compiler during Release with Debug Info builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g

//Flags used by the linker.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during debug builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local

//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld

//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make

//Flags used by the linker during the creation of modules.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during debug builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=config

//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib

//Flags used by the linker during the creation of dll's.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during debug builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during release minsize builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during release builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during Release with Debug Info builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Path to a program.

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 mag...@debian.org()]

Perhaps there's a \n in there that should not be...

Try putting that all on one line and give it another shot.


HTH,
David


On Tue, Aug 16, 2011 at 6:22 PM, Panu Avakul avaku...@gmail.com wrote:
 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 at all.
 I saw at some other place that has this error that they have the line
 number and information on where and why this problem occur.  However,
 mine does not say anything at all.
 I have attached the CMakeCache.txt with this email and was wondering
 if anyone could point out to me if there is mistake in my file.
 My cmake is 2.8.3.
 Thank you very much
 Best Regards,
 Panu Avakul

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at 
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at: 
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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 spaces then it
would work fine.  Existing scripts that used set(CMAKE_C_FLAGS
${CMAKE_C_FLAGS} -bar) would be unaffected.  And given that the cmake
variables that would be treated this way are passed directly to the
compiler/linker it is exceedingly unlikely that they would contain real
semicolons, at least on linux.  Is the problem with this idea that real
semicolons in flags are necessary on windows or macosx ?

If real semicolons were required they could be escaped with a backslash
character, i.e. set(CMAKE_C_FLAGS -foo\;-bar) if you didn't want them to
be replaced with a space character.  But that would break the backwards
compatibility rule.  Are there any cmake variables where real semicolons
need to be passed through to the compiler/linker ?

--
Glenn

On 15 August 2011 12:56, David Cole david.c...@kitware.com wrote:

 On Aug 13, 2011, at 5:14 AM, Glenn Coombs glenn.coo...@gmail.com wrote:

 Out of all the suggestions so far I'd like to say that my preferred
 solution is Michael's one of:

 SET(variable value ... CONCAT [SEP sep])

 I haven't seen any discussion yet of my 2nd alternative of getting cmake to
 automatically convert lists to space separated strings for certain variables
 like CMAKE_EXE_LINKER_FLAGS_RELEASE.  If cmake did this then there would be
 less need for the concat version of set() as one could just use the existing
 list(APPEND) functionality.  Is this a realistic possibility, or are there
 implementation issues with this suggestion ?


 No particular implementation issues. Doing any of this stuff is fairly easy
 to implement.

 But we won't be changing the semantics of any existing variables or
 properties to accommodate a feature like this... That would be a backwards
 compatibility nightmare.

 And that means inventing new variables with the desired semantics, in
 addition to supporting the existing ones. Which makes it very much less
 likely for us to want to do it without a very strong consensus from all
 involved that it really does make things easier, nicer, more maintainable.

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

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 way for me to use the premade
CMakeCache.txt with out having it overwrite the file?
I'm sorry, but my experience with CMake is relatively new and I only
used it in class couple of time.
Again thank you for your advice.
Best Regards,
Panu

On Tue, Aug 16, 2011 at 3:34 PM, David Cole david.c...@kitware.com wrote:
 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 mag...@debian.org()]

 Perhaps there's a \n in there that should not be...

 Try putting that all on one line and give it another shot.


 HTH,
 David


 On Tue, Aug 16, 2011 at 6:22 PM, Panu Avakul avaku...@gmail.com wrote:
 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 at all.
 I saw at some other place that has this error that they have the line
 number and information on where and why this problem occur.  However,
 mine does not say anything at all.
 I have attached the CMakeCache.txt with this email and was wondering
 if anyone could point out to me if there is mistake in my file.
 My cmake is 2.8.3.
 Thank you very much
 Best Regards,
 Panu Avakul

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at 
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at: 
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


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 problem which I think is the carl9170 problem in the make
process.  I will try to see if I can some how clear it up.

Thank you very much for you help.
Best Regard
Panu

On Tue, Aug 16, 2011 at 4:44 PM, Panu Avakul avaku...@gmail.com wrote:
 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 way for me to use the premade
 CMakeCache.txt with out having it overwrite the file?
 I'm sorry, but my experience with CMake is relatively new and I only
 used it in class couple of time.
 Again thank you for your advice.
 Best Regards,
 Panu

 On Tue, Aug 16, 2011 at 3:34 PM, David Cole david.c...@kitware.com wrote:
 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 mag...@debian.org()]

 Perhaps there's a \n in there that should not be...

 Try putting that all on one line and give it another shot.


 HTH,
 David


 On Tue, Aug 16, 2011 at 6:22 PM, Panu Avakul avaku...@gmail.com wrote:
 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 at all.
 I saw at some other place that has this error that they have the line
 number and information on where and why this problem occur.  However,
 mine does not say anything at all.
 I have attached the CMakeCache.txt with this email and was wondering
 if anyone could point out to me if there is mistake in my file.
 My cmake is 2.8.3.
 Thank you very much
 Best Regards,
 Panu Avakul

 ___
 Powered by www.kitware.com

 Visit other Kitware open-source projects at 
 http://www.kitware.com/opensource/opensource.html

 Please keep messages on-topic and check the CMake FAQ at: 
 http://www.cmake.org/Wiki/CMake_FAQ

 Follow this link to subscribe/unsubscribe:
 http://www.cmake.org/mailman/listinfo/cmake



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake


[Cmake-commits] CMake branch, next, updated. v2.8.5-1566-gabb7bb9

2011-08-16 Thread Alexander Neundorf
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, next has been updated
   via  abb7bb9cbb0b80af8a4b9788c34fb408996b0f64 (commit)
   via  626fc717c6a6fb880053e645b3f12805f60c102a (commit)
  from  f9239a25c33d6b099d706645ffa3661a922d57fb (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=abb7bb9cbb0b80af8a4b9788c34fb408996b0f64
commit abb7bb9cbb0b80af8a4b9788c34fb408996b0f64
Merge: f9239a2 626fc71
Author: Alexander Neundorf neund...@kde.org
AuthorDate: Tue Aug 16 16:28:01 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 16:28:01 2011 -0400

Merge topic 'UsingCMakeLikePkgConfig2' into next

626fc71 Much improved test, should now be executed on all UNIXes


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=626fc717c6a6fb880053e645b3f12805f60c102a
commit 626fc717c6a6fb880053e645b3f12805f60c102a
Author: Alex Neundorf neund...@kde.org
AuthorDate: Tue Aug 16 22:31:26 2011 +0200
Commit: Alex Neundorf neund...@kde.org
CommitDate: Tue Aug 16 22:31:26 2011 +0200

Much improved test, should now be executed on all UNIXes

Instead of relying on that some development package is installed on the
system, now a tiny library is built, which is the searched and used
during the test.

Alex

diff --git a/Tests/FindPackageModeMakefileTest/CMakeLists.txt 
b/Tests/FindPackageModeMakefileTest/CMakeLists.txt
index d2c6be9..17f02b4 100644
--- a/Tests/FindPackageModeMakefileTest/CMakeLists.txt
+++ b/Tests/FindPackageModeMakefileTest/CMakeLists.txt
@@ -1,22 +1,20 @@
 
-if(${CMAKE_CXX_COMPILER_ID} MATCHES GNU
-  OR ${CMAKE_CXX_COMPILER_ID} MATCHES Intel
-  OR ${CMAKE_CXX_COMPILER_ID} MATCHES Clang
-  OR ${CMAKE_CXX_COMPILER_ID} MATCHES XL
-  OR ${CMAKE_CXX_COMPILER_ID} MATCHES SunPro)
 
-  find_package(PNG)
+# the test program links against the png lib, so test first whether it exists
+if(UNIX  AND  ${CMAKE_GENERATOR} MATCHES Makefile)
 
-  # the test program links against the png lib, so test first whether it exists
-  if(PNG_FOUND  AND  UNIX  AND  ${CMAKE_GENERATOR} MATCHES Makefile)
+  # build a library which we can search during the test
+  add_library(foo STATIC foo.cpp)
 
-get_target_property(cmakeExecutable cmake LOCATION)
+  # configure a FindFoo.cmake so it knows where the library can be found
+  configure_file(FindFoo.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/FindFoo.cmake 
@ONLY)
 
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Makefile.in 
${CMAKE_CURRENT_BINARY_DIR}/ConfMakefile @ONLY)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/main.cpp 
${CMAKE_CURRENT_BINARY_DIR}/main.cpp COPYONLY)
+  # now set up the test:
+  get_target_property(cmakeExecutable cmake LOCATION)
 
-add_test(FindPackageModeMakefileTest ${CMAKE_MAKE_PROGRAM} -f 
${CMAKE_CURRENT_BINARY_DIR}/ConfMakefile )
+  configure_file(${CMAKE_CURRENT_SOURCE_DIR}/Makefile.in 
${CMAKE_CURRENT_BINARY_DIR}/ConfMakefile @ONLY)
+  configure_file(${CMAKE_CURRENT_SOURCE_DIR}/main.cpp 
${CMAKE_CURRENT_BINARY_DIR}/main.cpp COPYONLY)
 
-  endif()
+  add_test(FindPackageModeMakefileTest ${CMAKE_MAKE_PROGRAM} -f 
${CMAKE_CURRENT_BINARY_DIR}/ConfMakefile )
 
 endif()
diff --git a/Tests/FindPackageModeMakefileTest/FindFoo.cmake.in 
b/Tests/FindPackageModeMakefileTest/FindFoo.cmake.in
new file mode 100644
index 000..c6230ab
--- /dev/null
+++ b/Tests/FindPackageModeMakefileTest/FindFoo.cmake.in
@@ -0,0 +1,8 @@
+
+find_library(FOO_LIBRARY NAMES foo HINTS @CMAKE_CURRENT_BINARY_DIR@ )
+find_path(FOO_INCLUDE_DIR NAMES foo.h HINTS @CMAKE_CURRENT_SOURCE_DIR@ )
+
+set(FOO_LIBRARIES ${FOO_LIBRARY})
+
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(Foo  DEFAULT_MSG  FOO_LIBRARY 
FOO_INCLUDE_DIR )
diff --git a/Tests/FindPackageModeMakefileTest/Makefile.in 
b/Tests/FindPackageModeMakefileTest/Makefile.in
index 5e42305..6bcd9b6 100644
--- a/Tests/FindPackageModeMakefileTest/Makefile.in
+++ b/Tests/FindPackageModeMakefileTest/Makefile.in
@@ -1,10 +1,10 @@
 all: clean pngtest
 
 main.o: main.cpp
-   @CMAKE_CXX_COMPILER@ -c `@cmakeExecutable@ --find-package 
-DNAME=PNG -DLANGUAGE=CXX -DCOMPILER_ID=@CMAKE_CXX_COMPILER_ID@ -DMODE=COMPILE` 
main.cpp
+   @CMAKE_CXX_COMPILER@ -c `@cmakeExecutable@ --find-package 
-DCMAKE_MODULE_PATH=@CMAKE_CURRENT_BINARY_DIR@ -DNAME=Foo -DLANGUAGE=CXX 
-DCOMPILER_ID=@CMAKE_CXX_COMPILER_ID@ -DMODE=COMPILE` main.cpp
 
 pngtest: main.o
-   @CMAKE_CXX_COMPILER@ -o pngtest main.o `@cmakeExecutable@ 
--find-package -DNAME=PNG -DLANGUAGE=CXX -DCOMPILER_ID=@CMAKE_CXX_COMPILER_ID@ 
-DMODE=LINK`
+   @CMAKE_CXX_COMPILER@ -o pngtest main.o `@cmakeExecutable@ 
--find-package 

[Cmake-commits] CMake branch, master, updated. v2.8.5-156-g6d5819c

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  6d5819ca6ced9b8da75950ae98d1f185dd0acbf7 (commit)
   via  37d8602cdee0bdef29f1886fc83f48569addcbd7 (commit)
   via  6c72d25aee92c6cd412c79969b7b18a814ac99cb (commit)
  from  2bfd55a7c62451f9c7d559e5abc8ae1d2edf614e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=6d5819ca6ced9b8da75950ae98d1f185dd0acbf7
commit 6d5819ca6ced9b8da75950ae98d1f185dd0acbf7
Merge: 2bfd55a 37d8602
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:01:28 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:01:28 2011 -0400

Merge topic 'fix-8707-add-vs-globals'

37d8602 Merge topic 'intel_fortran_vs2010' into fix-8707-add-vs-globals
6c72d25 Initial support for Intel Fortran VS2010.


---

Summary of changes:
 Source/cmLocalVisualStudio10Generator.cxx |   16 
 Source/cmLocalVisualStudio7Generator.h|3 ++-
 2 files changed, 14 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-158-ga772f21

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  a772f21a7d9bf0985c5b2300c16c040cfd989ec9 (commit)
   via  3c53fbb1f0d7276d0ef1f07facb2a1d937fc5153 (commit)
  from  6d5819ca6ced9b8da75950ae98d1f185dd0acbf7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a772f21a7d9bf0985c5b2300c16c040cfd989ec9
commit a772f21a7d9bf0985c5b2300c16c040cfd989ec9
Merge: 6d5819c 3c53fbb
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:01:33 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:01:33 2011 -0400

Merge topic 'intel_fortran_vs2010'

3c53fbb Fix custom commands in VS2010 Fortran projects using CFG_INTDIR and 
test.


---

Summary of changes:
 Source/cmLocalVisualStudio7Generator.cxx   |4 ++
 Source/cmVisualStudio10TargetGenerator.cxx |7 
 Tests/CMakeLists.txt   |6 +++-
 Tests/FortranOnly/CMakeLists.txt   |   42 
 Tests/FortranOnly/checksayhello.cmake  |7 
 Tests/FortranOnly/checktestf2.cmake|8 +
 Tests/{Fortran = FortranOnly}/hello.f |1 -
 Tests/{Fortran = FortranOnly}/testf.f |1 -
 Tests/{Fortran = FortranOnly}/world.f |1 -
 9 files changed, 73 insertions(+), 4 deletions(-)
 create mode 100644 Tests/FortranOnly/CMakeLists.txt
 create mode 100644 Tests/FortranOnly/checksayhello.cmake
 create mode 100644 Tests/FortranOnly/checktestf2.cmake
 copy Tests/{Fortran = FortranOnly}/hello.f (97%)
 copy Tests/{Fortran = FortranOnly}/testf.f (98%)
 copy Tests/{Fortran = FortranOnly}/world.f (97%)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-160-g39743b9

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  39743b90603382236909b26a3cc707cea8c91974 (commit)
   via  ad218e435d0f25d2022dc2d7b569ad88d10dc6d1 (commit)
  from  a772f21a7d9bf0985c5b2300c16c040cfd989ec9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=39743b90603382236909b26a3cc707cea8c91974
commit 39743b90603382236909b26a3cc707cea8c91974
Merge: a772f21 ad218e4
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:01:39 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:01:39 2011 -0400

Merge topic 'hdf5-module-12316-fix'

ad218e4 Added HDF5 high level Fortran bindings to available components.


---

Summary of changes:
 Modules/FindHDF5.cmake |   19 +--
 1 files changed, 13 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-162-gdfb307f

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  dfb307fef53da69b03dac46707f3fdc4394a893f (commit)
   via  ad542d821db91c89129630ace9342776c098d2f3 (commit)
  from  39743b90603382236909b26a3cc707cea8c91974 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=dfb307fef53da69b03dac46707f3fdc4394a893f
commit dfb307fef53da69b03dac46707f3fdc4394a893f
Merge: 39743b9 ad542d8
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:01:47 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:01:47 2011 -0400

Merge topic 'fix-old-VisualAge-Fortran'

ad542d8 XL: Fix old VisualAge branding of Fortran compiler


---

Summary of changes:
 Modules/Platform/AIX-VisualAge-Fortran.cmake |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
 create mode 100644 Modules/Platform/AIX-VisualAge-Fortran.cmake


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-164-ge9a943b

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  e9a943bab2b31bea1f842f54d4a1e7c4aaa053c5 (commit)
   via  f46236949e8c981703fd4b0f7b32d588c888d98d (commit)
  from  dfb307fef53da69b03dac46707f3fdc4394a893f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e9a943bab2b31bea1f842f54d4a1e7c4aaa053c5
commit e9a943bab2b31bea1f842f54d4a1e7c4aaa053c5
Merge: dfb307f f462369
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:02:11 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:02:11 2011 -0400

Merge topic 'fix-12054-eliminate-findjava-noise'

f462369 remove extra output message from FindJava.cmake


---

Summary of changes:
 Modules/FindJava.cmake |5 -
 1 files changed, 0 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-167-g0923610

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  0923610b6dff07005cdc3915ee0fa1fa8e6a7def (commit)
   via  4575ed9e2ace903b29a8b10c7e7f78c4fe6b9d21 (commit)
   via  ba4886b717d4c72f4b7c8960862ff44af187d114 (commit)
  from  e9a943bab2b31bea1f842f54d4a1e7c4aaa053c5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0923610b6dff07005cdc3915ee0fa1fa8e6a7def
commit 0923610b6dff07005cdc3915ee0fa1fa8e6a7def
Merge: e9a943b 4575ed9
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:02:23 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:02:23 2011 -0400

Merge topic 'fix-11746-sort-failed-tests-output'

4575ed9 Fix line too long style violation
ba4886b CTest: print failed tests in index order (#11746)


---

Summary of changes:
 Source/CTest/cmCTestTestHandler.cxx |   11 ---
 Source/CTest/cmCTestTestHandler.h   |   13 +++--
 2 files changed, 19 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-170-gb16de67

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  b16de67e8fb6c72bae9d9513e53c3d185edfeca1 (commit)
   via  6899e58fa0d819638aa5de1408721b718d3299b8 (commit)
   via  fe6bb7af2aef536d29593f1da8ae4dd19b195e88 (commit)
  from  0923610b6dff07005cdc3915ee0fa1fa8e6a7def (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b16de67e8fb6c72bae9d9513e53c3d185edfeca1
commit b16de67e8fb6c72bae9d9513e53c3d185edfeca1
Merge: 0923610 6899e58
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:02:30 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:02:30 2011 -0400

Merge topic 'FindX11ImprovementsFromKDE'

6899e58 Also search for libxkbfile, XSync and SM include dir
fe6bb7a Remove trailing whitespace


---

Summary of changes:
 Modules/FindX11.cmake |   53 +
 1 files changed, 40 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-172-ge1d4a73

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  e1d4a73be0d43e6752fbe478789dba86f5eff9ba (commit)
   via  d87eb350f6b7c810145205fb6819e3174efdcc23 (commit)
  from  b16de67e8fb6c72bae9d9513e53c3d185edfeca1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e1d4a73be0d43e6752fbe478789dba86f5eff9ba
commit e1d4a73be0d43e6752fbe478789dba86f5eff9ba
Merge: b16de67 d87eb35
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:02:38 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:02:38 2011 -0400

Merge topic 'fix-12259-quote-commas-for-xcode'

d87eb35 Xcode: Quote ',' in Xcode string values (#12259)


---

Summary of changes:
 Source/cmXCodeObject.cxx |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-174-g522c263

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  522c263d9dfafb285395d806cdec67266a84bb75 (commit)
   via  8ee9bbbd0ca5aab5bceb2dc9dda041e5745ffc19 (commit)
  from  e1d4a73be0d43e6752fbe478789dba86f5eff9ba (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=522c263d9dfafb285395d806cdec67266a84bb75
commit 522c263d9dfafb285395d806cdec67266a84bb75
Merge: e1d4a73 8ee9bbb
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:02:43 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:02:43 2011 -0400

Merge topic 'fix-imported-target-depend-crash'

8ee9bbb Do not crash when an imported target depends on a missing target


---

Summary of changes:
 Source/cmComputeTargetDepends.cxx |8 +---
 1 files changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-176-gb38bf72

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  b38bf726f457d56c3d33d1d20a251ee48609ac67 (commit)
   via  312d68d5b195255356b444f34be50552bc8981d4 (commit)
  from  522c263d9dfafb285395d806cdec67266a84bb75 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b38bf726f457d56c3d33d1d20a251ee48609ac67
commit b38bf726f457d56c3d33d1d20a251ee48609ac67
Merge: 522c263 312d68d
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:02:48 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:02:48 2011 -0400

Merge topic 'enable-parallel-xcode-builds'

312d68d Xcode: Rearrange CMakeReRun to enable parallel builds


---

Summary of changes:
 Source/cmGlobalXCodeGenerator.cxx |   45 +++--
 1 files changed, 23 insertions(+), 22 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-178-g47a8d4f

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  47a8d4f22c2be4f1a209b8a5a9bc087670b64a7f (commit)
   via  edcdfeae9311ed5f5e9add23345b1ba9f0961982 (commit)
  from  b38bf726f457d56c3d33d1d20a251ee48609ac67 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=47a8d4f22c2be4f1a209b8a5a9bc087670b64a7f
commit 47a8d4f22c2be4f1a209b8a5a9bc087670b64a7f
Merge: b38bf72 edcdfea
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:02:52 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:02:52 2011 -0400

Merge topic 'fix-10941-correct-comments'

edcdfea Documentation: Fix comments in the source code (#10941)


---

Summary of changes:
 Source/cmBuildCommand.h |4 ++--
 Source/cmBuildNameCommand.h |4 ++--
 Source/cmCMakeMinimumRequired.h |4 ++--
 Source/cmMarkAsAdvancedCommand.h|4 ++--
 Source/cmRemoveCommand.h|4 ++--
 Source/cmSeparateArgumentsCommand.h |4 ++--
 Source/cmSiteNameCommand.h  |4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-186-g674be27

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  674be27a7f673d6af8de53ceb5d5ea407bd574ad (commit)
   via  c9761de7ad853c62aa2d7e0bc0a28bc697586d23 (commit)
   via  208bb9009bda2b41747c34e536f561df8a59 (commit)
   via  bb03c2dd3a9afafd6c24ea12e16edf4f9189813f (commit)
   via  d50a61a1ae6a530e3ebc2672c2e5e38b700d61e8 (commit)
   via  4ba09bc6a22ab9aa3f59b6804224e3f96159658d (commit)
   via  02b1e4b96a10b77e40dbc7f5e5d23ccd61a2b08b (commit)
   via  d216a67e4a41d443d97f9e3b0470b21d1c822b3d (commit)
  from  47a8d4f22c2be4f1a209b8a5a9bc087670b64a7f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=674be27a7f673d6af8de53ceb5d5ea407bd574ad
commit 674be27a7f673d6af8de53ceb5d5ea407bd574ad
Merge: 47a8d4f c9761de
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:03:00 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:03:00 2011 -0400

Merge topic 'WriteConfigVersionFile_2TemplateFiles'

c9761de Improve documentation for WriteBasicConfigVersionFile.cmake
208bb90 Set UNSUITABLE instead of not COMPATIBLE
bb03c2d Really fix copyright notice
d50a61a Fix copyright notice
4ba09bc Add some tests for write_basic_config_version_file()
02b1e4b Add example to documentation
d216a67 Provide macro write_basic_config_version_file()


---

Summary of changes:
 .../BasicConfigVersion-AnyNewerVersion.cmake.in|   26 ++
 .../BasicConfigVersion-SameMajorVersion.cmake.in   |   41 +
 Modules/WriteBasicConfigVersionFile.cmake  |   69 +++
 Source/cmFindPackageCommand.cxx|3 +
 Tests/FindPackageTest/CMakeLists.txt   |   91 
 5 files changed, 230 insertions(+), 0 deletions(-)
 create mode 100644 Modules/BasicConfigVersion-AnyNewerVersion.cmake.in
 create mode 100644 Modules/BasicConfigVersion-SameMajorVersion.cmake.in
 create mode 100644 Modules/WriteBasicConfigVersionFile.cmake


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-188-gbdedae4

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  bdedae4b957faf713d77f9b439d28e7588f0adb9 (commit)
   via  ed6be501de960a21fc756d08e9a0a2318f276307 (commit)
  from  674be27a7f673d6af8de53ceb5d5ea407bd574ad (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=bdedae4b957faf713d77f9b439d28e7588f0adb9
commit bdedae4b957faf713d77f9b439d28e7588f0adb9
Merge: 674be27 ed6be50
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:03:05 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:03:05 2011 -0400

Merge topic 'fix-clang-flag-check-issue-12394'

ed6be50 Fix CHECK_(C|CXX)_COMPILER_FLAG for Clang (#12394)


---

Summary of changes:
 Modules/CheckCCompilerFlag.cmake   |1 +
 Modules/CheckCXXCompilerFlag.cmake |1 +
 2 files changed, 2 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-190-g829ce74

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  829ce746ca19f8621d866892a2192a5dacfa3a36 (commit)
   via  0167ceaf98c78f40532fc187b35440d033ac837e (commit)
  from  bdedae4b957faf713d77f9b439d28e7588f0adb9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=829ce746ca19f8621d866892a2192a5dacfa3a36
commit 829ce746ca19f8621d866892a2192a5dacfa3a36
Merge: bdedae4 0167cea
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:03:09 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:03:09 2011 -0400

Merge topic 'fix-12323-more-paths-in-finddcmtk'

0167cea Add more find_path locations for DCMTK header files (#12323)


---

Summary of changes:
 Modules/FindDCMTK.cmake |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-193-gf0d4658

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  f0d46582c3f3ee94c20d09102bec6628a56223fa (commit)
   via  bebb2bcd2330ee7dd4c3f35276dcc8615b81645f (commit)
   via  431c8eb44cc148ae49e043e2cebfa143bfca0387 (commit)
  from  829ce746ca19f8621d866892a2192a5dacfa3a36 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f0d46582c3f3ee94c20d09102bec6628a56223fa
commit f0d46582c3f3ee94c20d09102bec6628a56223fa
Merge: 829ce74 bebb2bc
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:03:12 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:03:12 2011 -0400

Merge topic 'FindGetTextImprovements'

bebb2bc Support REQUIRED in FindGettext.cmake (using FPHSA.cmake)
431c8eb Add macros GETTEXT_PROCESS_POT() and GETTEXT_PROCESS_PO_FILES()


---

Summary of changes:
 Modules/FindGettext.cmake |  101 +---
 1 files changed, 94 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-195-g7b04410

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  7b044105ce0c2e8f4f078a74ed02c33a50c52d7c (commit)
   via  ac22e2a8790e507d7600e0876585424db70f785b (commit)
  from  f0d46582c3f3ee94c20d09102bec6628a56223fa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7b044105ce0c2e8f4f078a74ed02c33a50c52d7c
commit 7b044105ce0c2e8f4f078a74ed02c33a50c52d7c
Merge: f0d4658 ac22e2a
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:03:15 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 17:03:15 2011 -0400

Merge topic 'add-vs9-midl-inc-dirs'

ac22e2a VS9: Add include_directories to midl command lines


---

Summary of changes:
 Source/cmLocalVisualStudio7Generator.cxx |7 +++
 1 files changed, 7 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v2.8.5-1587-g91768b3

2011-08-16 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, next has been updated
   via  91768b3ec06e3c1dfb3f220007a0947a09f5c3aa (commit)
   via  7b044105ce0c2e8f4f078a74ed02c33a50c52d7c (commit)
   via  f0d46582c3f3ee94c20d09102bec6628a56223fa (commit)
   via  829ce746ca19f8621d866892a2192a5dacfa3a36 (commit)
   via  bdedae4b957faf713d77f9b439d28e7588f0adb9 (commit)
   via  674be27a7f673d6af8de53ceb5d5ea407bd574ad (commit)
   via  47a8d4f22c2be4f1a209b8a5a9bc087670b64a7f (commit)
   via  b38bf726f457d56c3d33d1d20a251ee48609ac67 (commit)
   via  522c263d9dfafb285395d806cdec67266a84bb75 (commit)
   via  e1d4a73be0d43e6752fbe478789dba86f5eff9ba (commit)
   via  b16de67e8fb6c72bae9d9513e53c3d185edfeca1 (commit)
   via  0923610b6dff07005cdc3915ee0fa1fa8e6a7def (commit)
   via  e9a943bab2b31bea1f842f54d4a1e7c4aaa053c5 (commit)
   via  dfb307fef53da69b03dac46707f3fdc4394a893f (commit)
   via  39743b90603382236909b26a3cc707cea8c91974 (commit)
   via  a772f21a7d9bf0985c5b2300c16c040cfd989ec9 (commit)
   via  6d5819ca6ced9b8da75950ae98d1f185dd0acbf7 (commit)
   via  2bfd55a7c62451f9c7d559e5abc8ae1d2edf614e (commit)
   via  87fa807fd8d7a5fded619ceccbf7c1ab76d1936e (commit)
   via  0ee93a81cdf7821e9d71b3d97fa09b8070fba12e (commit)
   via  27c8b8b4550e29330f08cfc61c52cf53e3fd6eba (commit)
  from  abb7bb9cbb0b80af8a4b9788c34fb408996b0f64 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=91768b3ec06e3c1dfb3f220007a0947a09f5c3aa
commit 91768b3ec06e3c1dfb3f220007a0947a09f5c3aa
Merge: abb7bb9 7b04410
Author: David Cole david.c...@kitware.com
AuthorDate: Tue Aug 16 17:04:08 2011 -0400
Commit: David Cole david.c...@kitware.com
CommitDate: Tue Aug 16 17:04:08 2011 -0400

Merge branch 'master' into next


---

Summary of changes:
 Source/kwsys/kwsysDateStamp.cmake |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v2.8.5-1610-ga092e79

2011-08-16 Thread Alexander Neundorf
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, next has been updated
   via  a092e79e0e384ddd604ede828473f7d8d80e7f2d (commit)
   via  7e6d84568c8c390fc53cbaaf70f6839e3cf4ebd7 (commit)
  from  191c1d0d9122dfe8c02ddc626e37c1476a56f1e9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a092e79e0e384ddd604ede828473f7d8d80e7f2d
commit a092e79e0e384ddd604ede828473f7d8d80e7f2d
Merge: 191c1d0 7e6d845
Author: Alexander Neundorf neund...@kde.org
AuthorDate: Tue Aug 16 18:00:34 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 18:00:34 2011 -0400

Merge topic 'AutomocForQt' into next

7e6d845 Automoc.cmake is not needed anymore


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7e6d84568c8c390fc53cbaaf70f6839e3cf4ebd7
commit 7e6d84568c8c390fc53cbaaf70f6839e3cf4ebd7
Author: Alex Neundorf neund...@kde.org
AuthorDate: Wed Aug 17 00:04:47 2011 +0200
Commit: Alex Neundorf neund...@kde.org
CommitDate: Wed Aug 17 00:04:47 2011 +0200

Automoc.cmake is not needed anymore

(actually I thought I had already removed it again)

Alex

diff --git a/Modules/Automoc.cmake b/Modules/Automoc.cmake
deleted file mode 100644
index 1e77c96..000
--- a/Modules/Automoc.cmake
+++ /dev/null
@@ -1,158 +0,0 @@
-
-#  AUTOMOC4_MOC_HEADERS(target header1.h header2.h ...)
-#Use this to add more header files to be processed with automoc4.
-#
-#  AUTOMOC4_ADD_EXECUTABLE(target_NAME src1 src2 ...)
-#This macro does the same as ADD_EXECUTABLE, but additionally
-#adds automoc4 handling for all source files.
-#
-# AUTOMOC4_ADD_LIBRARY(target_NAME src1 src2 ...)
-#This macro does the same as ADD_LIBRARY, but additionally
-#adds automoc4 handling for all source files.
-
-# Internal helper macro, may change or be removed anytime:
-# _ADD_AUTOMOC4_TARGET(target_NAME SRCS_VAR)
-#
-# Since version 0.9.88:
-# The following two macros are only to be used for KDE4 projects
-# and do something which makes sure automoc4 works for KDE. Don't
-# use them anywhere else. See kdelibs/cmake/modules/KDE4Macros.cmake.
-# _AUTOMOC4_KDE4_PRE_TARGET_HANDLING(target_NAME SRCS_VAR)
-# _AUTOMOC4_KDE4_POST_TARGET_HANDLING(target_NAME)
-
-# Copyright (C) 2007 Matthias Kretz kr...@kde.org
-# Copyright (C) 2008-2009 Alexander Neundorf neund...@kde.org
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-#
-# 1. Redistributions of source code must retain the above copyright
-#notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-#notice, this list of conditions and the following disclaimer in the
-#documentation and/or other materials provided with the distribution.
-#
-# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-
-macro (AUTOMOC4_MOC_HEADERS _target_NAME)
-   set (_headers_to_moc)
-   foreach (_current_FILE ${ARGN})
-  get_filename_component(_suffix ${_current_FILE} EXT)
-  if (.h STREQUAL ${_suffix} OR .hpp STREQUAL ${_suffix} OR .hxx 
STREQUAL ${_suffix} OR .H STREQUAL ${_suffix})
- list(APPEND _headers_to_moc ${_current_FILE})
-  else (.h STREQUAL ${_suffix} OR .hpp STREQUAL ${_suffix} OR 
.hxx STREQUAL ${_suffix} OR .H STREQUAL ${_suffix})
- message(STATUS AUTOMOC4_MOC_HEADERS: ignoring non-header file 
${_current_FILE})
-  endif (.h STREQUAL ${_suffix} OR .hpp STREQUAL ${_suffix} OR 
.hxx STREQUAL ${_suffix} OR .H STREQUAL ${_suffix})
-   endforeach (_current_FILE)
-   # need to create moc_filename.cpp file using automoc4
-   # and add it to the target
-   if(_headers_to_moc)
-   set(_automoc4_headers_${_target_NAME} ${_headers_to_moc})
-   endif(_headers_to_moc)
-endmacro (AUTOMOC4_MOC_HEADERS)
-
-

[Cmake-commits] CMake branch, next, updated. v2.8.5-1612-ge2ccb23

2011-08-16 Thread Alexander Neundorf
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, next has been updated
   via  e2ccb23717081b6bbda68f71c1348d6573167c55 (commit)
   via  add30e9008fcb4d5277692958aac7f933539f983 (commit)
  from  a092e79e0e384ddd604ede828473f7d8d80e7f2d (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e2ccb23717081b6bbda68f71c1348d6573167c55
commit e2ccb23717081b6bbda68f71c1348d6573167c55
Merge: a092e79 add30e9
Author: Alexander Neundorf neund...@kde.org
AuthorDate: Tue Aug 16 18:35:26 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 18:35:26 2011 -0400

Merge topic 'AutomocForQt' into next

add30e9 Fix build: non-void function must return a value


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=add30e9008fcb4d5277692958aac7f933539f983
commit add30e9008fcb4d5277692958aac7f933539f983
Author: Alex Neundorf neund...@kde.org
AuthorDate: Wed Aug 17 00:39:21 2011 +0200
Commit: Alex Neundorf neund...@kde.org
CommitDate: Wed Aug 17 00:39:21 2011 +0200

Fix build: non-void function must return a value

Alex

diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx
index e8c4baa..7e50064 100644
--- a/Source/cmQtAutomoc.cxx
+++ b/Source/cmQtAutomoc.cxx
@@ -168,7 +168,7 @@ bool cmQtAutomoc::Run(const char* targetDirectory)
   delete gg;
   gg = NULL;
   makefile = NULL;
-
+  return true;
 }
 
 

---

Summary of changes:
 Source/cmQtAutomoc.cxx |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v2.8.5-1614-gd7a3890

2011-08-16 Thread Alexander Neundorf
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, next has been updated
   via  d7a3890af969b23f58530e326506c008971639d8 (commit)
   via  afb3edc18149f48be6e1690c7d9b1c8f6816a056 (commit)
  from  e2ccb23717081b6bbda68f71c1348d6573167c55 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=d7a3890af969b23f58530e326506c008971639d8
commit d7a3890af969b23f58530e326506c008971639d8
Merge: e2ccb23 afb3edc
Author: Alexander Neundorf neund...@kde.org
AuthorDate: Tue Aug 16 18:44:49 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 18:44:49 2011 -0400

Merge topic 'AutomocForQt' into next

afb3edc Fix warnings


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=afb3edc18149f48be6e1690c7d9b1c8f6816a056
commit afb3edc18149f48be6e1690c7d9b1c8f6816a056
Author: Alex Neundorf neund...@kde.org
AuthorDate: Wed Aug 17 00:49:12 2011 +0200
Commit: Alex Neundorf neund...@kde.org
CommitDate: Wed Aug 17 00:49:12 2011 +0200

Fix warnings

Alex

diff --git a/Source/cmQtAutomoc.cxx b/Source/cmQtAutomoc.cxx
index 7e50064..df09f37 100644
--- a/Source/cmQtAutomoc.cxx
+++ b/Source/cmQtAutomoc.cxx
@@ -69,10 +69,9 @@ void cmQtAutomoc::SetupAutomocTarget(cmTarget* target)
   std::string automocComment = Automoc for target ;
   automocComment += targetName;
 
-  cmTarget* mocTarget = makefile-AddUtilityCommand(automocTargetName.c_str(),
-true,
-  workingDirectory.c_str(), depends,
-  commandLines, false, automocComment.c_str());
+  makefile-AddUtilityCommand(automocTargetName.c_str(), true,
+  workingDirectory.c_str(), depends,
+  commandLines, false, automocComment.c_str());
   target-AddUtility(automocTargetName.c_str());
 
   // configure a file to get all information to automoc at buildtime:
@@ -713,9 +712,11 @@ bool cmQtAutomoc::GenerateMoc(const std::string 
sourceFile,
 
 if (this-Verbose)
   {
-  for(int i=0; icommand.size(); i++)
+  for(std::vectorcmStdString::const_iterator cmdIt = command.begin();
+  cmdIt != command.end();
+  ++cmdIt)
 {
-std::cout  command[i]   ;
+std::cout  *cmdIt   ;
 }
   std::cout  std::endl;
   }

---

Summary of changes:
 Source/cmQtAutomoc.cxx |   13 +++--
 1 files changed, 7 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v2.8.5-1616-g940f2ee

2011-08-16 Thread Stephen Kelly
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, next has been updated
   via  940f2eed910256414c5e5f047a6d4da30acb6440 (commit)
   via  afae7a95a06bf1cbec47b3b4471e5f11a41065cb (commit)
  from  d7a3890af969b23f58530e326506c008971639d8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=940f2eed910256414c5e5f047a6d4da30acb6440
commit 940f2eed910256414c5e5f047a6d4da30acb6440
Merge: d7a3890 afae7a9
Author: Stephen Kelly steve...@gmail.com
AuthorDate: Tue Aug 16 20:37:36 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 20:37:36 2011 -0400

Merge topic 'generate_export_header' into next

afae7a9 Start testing expected values for compiler flags.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=afae7a95a06bf1cbec47b3b4471e5f11a41065cb
commit afae7a95a06bf1cbec47b3b4471e5f11a41065cb
Author: Stephen Kelly steve...@gmail.com
AuthorDate: Wed Aug 17 02:34:23 2011 +0200
Commit: Stephen Kelly steve...@gmail.com
CommitDate: Wed Aug 17 02:36:22 2011 +0200

Start testing expected values for compiler flags.

Should help catch unhandled flag warnings so far not handled by
check_cxx_compiler_flag FAIL_REGEXen.

diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index eececb0..aad908c 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -223,6 +223,8 @@ IF(BUILD_TESTING)
 
   ADD_TEST_MACRO(Module.GenerateExportHeader GenerateExportHeader)
 
+  ADD_TEST_MACRO(Module.CheckCXXCompilerFlag CheckCXXCompilerFlag)
+
   ADD_TEST(LinkFlags-prepare
 ${CMAKE_CTEST_COMMAND} -C \${CTEST_CONFIGURATION_TYPE}
 --build-and-test
diff --git a/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt 
b/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt
new file mode 100644
index 000..70bafb6
--- /dev/null
+++ b/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt
@@ -0,0 +1,63 @@
+cmake_minimum_required(VERSION 2.8)
+project(CheckCXXCompilerFlag)
+
+macro(TEST_FAIL value msg)
+  if (${value})
+message (SEND_ERROR Test fail: ${msg} ${Out} )
+  endif ()
+endmacro()
+
+macro(TEST_PASS value msg)
+  if (NOT ${value})
+message (SEND_ERROR Test fail: ${msg} ${Out} )
+  endif ()
+endmacro()
+
+if(CMAKE_COMPILER_IS_GNUCXX)
+  exec_program(${CMAKE_C_COMPILER} ARGS --version OUTPUT_VARIABLE 
_gcc_version_info)
+  string (REGEX MATCH [345]\\.[0-9]\\.[0-9] _gcc_version 
${_gcc_version_info})
+  # gcc on mac just reports: gcc (GCC) 3.3 20030304 ... without the
+  # patch level, handle this here:
+  if(NOT _gcc_version)
+string (REGEX REPLACE .*\\(GCC\\).* ([34]\\.[0-9]) .* \\1.0 
_gcc_version ${_gcc_version_info})
+  endif()
+endif()
+
+if(CMAKE_COMPILER_ID MATCHES Clang)
+  exec_program(${CMAKE_CXX_COMPILER} ARGS --version OUTPUT_VARIABLE 
_clang_version_info)
+  string (REGEX MATCH version [345]\\.[0-9] _clang_version 
${_clang_version_info})
+endif()
+
+message(Platform:\n  WIN32: ${WIN32}\n  UNIX: ${UNIX}\n  APPLE: ${APPLE}\n  
MINGW: ${MINGW}\n  CYGWIN: ${CYGWIN}\n
+MSVC: ${MSVC}\n  MSVC60: ${MSVC60}\n  MSVC70: ${MSVC70}\n  MSVC71: 
${MSVC71}\n  MSVC80: ${MSVC80}\n  MSVC90: ${MSVC90}\n  MSVC10: ${MSVC10}\n
+GCC: ${_gcc_version}\n
+Clang: ${_clang_version}\n
+)
+
+include(CheckCXXCompilerFlag)
+
+check_cxx_compiler_flag(-fvisibility=hidden HAS_HIDDEN_VISIBILITY)
+
+message(HAS_HIDDEN_VISIBILITY: ${HAS_HIDDEN_VISIBILITY}\n\nCOMPILE 
OUTPUT:\n${OUTPUT})
+
+if(CMAKE_COMPILER_IS_GNUCXX)
+  test_pass(HAS_HIDDEN_VISIBILITY GCC should support hidden visibility, but 
does not.)
+else()
+  message(Unhandled Platform)
+endif()
+
+#
+# This is a no-op executable... If this test is going to fail, it fails during
+# the configure step while cmake is configuring this CMakeLists.txt file...
+#
+
+file(WRITE
+  ${CMAKE_CURRENT_BINARY_DIR}/main.cxx
+  int main() { return 0; }
+
+)
+
+add_executable(
+  CheckCXXCompilerFlag
+  ${CMAKE_CURRENT_BINARY_DIR}/main.cxx
+)

---

Summary of changes:
 Tests/CMakeLists.txt |2 +
 Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt |   63 ++
 2 files changed, 65 insertions(+), 0 deletions(-)
 create mode 100644 Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, next, updated. v2.8.5-1619-g727138c

2011-08-16 Thread Stephen Kelly
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, next has been updated
   via  727138c87b466cceb8aea016ae9ae81e7621b335 (commit)
   via  b6ee2ee03addc4b22dfba6aeae27719c139e0727 (commit)
   via  a9a8b9e8d194eb78cf5fb74fb902a0cf233f8ac0 (commit)
  from  940f2eed910256414c5e5f047a6d4da30acb6440 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=727138c87b466cceb8aea016ae9ae81e7621b335
commit 727138c87b466cceb8aea016ae9ae81e7621b335
Merge: 940f2ee b6ee2ee
Author: Stephen Kelly steve...@gmail.com
AuthorDate: Tue Aug 16 20:42:34 2011 -0400
Commit: CMake Topic Stage kwro...@kitware.com
CommitDate: Tue Aug 16 20:42:34 2011 -0400

Merge topic 'generate_export_header' into next

b6ee2ee Comment the test assertion for now
a9a8b9e Exclude win32 from hidden visibility checks.


http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=b6ee2ee03addc4b22dfba6aeae27719c139e0727
commit b6ee2ee03addc4b22dfba6aeae27719c139e0727
Author: Stephen Kelly steve...@gmail.com
AuthorDate: Wed Aug 17 02:41:28 2011 +0200
Commit: Stephen Kelly steve...@gmail.com
CommitDate: Wed Aug 17 02:42:09 2011 +0200

Comment the test assertion for now

At least until I know which gcc versions do not pass.

diff --git a/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt 
b/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt
index 7775e14..8294c8f 100644
--- a/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt
+++ b/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt
@@ -42,7 +42,7 @@ message(HAS_HIDDEN_VISIBILITY: 
${HAS_HIDDEN_VISIBILITY}\n\nCOMPILE OUTPUT:\n${O
 
 if(CMAKE_COMPILER_IS_GNUCXX)
   if(NOT WIN32)
-test_pass(HAS_HIDDEN_VISIBILITY GCC should support hidden visibility, but 
does not.)
+# test_pass(HAS_HIDDEN_VISIBILITY GCC should support hidden visibility, 
but does not.)
   endif()
 else()
   message(Unhandled Platform)

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=a9a8b9e8d194eb78cf5fb74fb902a0cf233f8ac0
commit a9a8b9e8d194eb78cf5fb74fb902a0cf233f8ac0
Author: Stephen Kelly steve...@gmail.com
AuthorDate: Wed Aug 17 02:40:56 2011 +0200
Commit: Stephen Kelly steve...@gmail.com
CommitDate: Wed Aug 17 02:40:56 2011 +0200

Exclude win32 from hidden visibility checks.

diff --git a/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt 
b/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt
index 70bafb6..7775e14 100644
--- a/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt
+++ b/Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt
@@ -41,7 +41,9 @@ check_cxx_compiler_flag(-fvisibility=hidden 
HAS_HIDDEN_VISIBILITY)
 message(HAS_HIDDEN_VISIBILITY: ${HAS_HIDDEN_VISIBILITY}\n\nCOMPILE 
OUTPUT:\n${OUTPUT})
 
 if(CMAKE_COMPILER_IS_GNUCXX)
-  test_pass(HAS_HIDDEN_VISIBILITY GCC should support hidden visibility, but 
does not.)
+  if(NOT WIN32)
+test_pass(HAS_HIDDEN_VISIBILITY GCC should support hidden visibility, but 
does not.)
+  endif()
 else()
   message(Unhandled Platform)
 endif()

---

Summary of changes:
 Tests/Module/CheckCXXCompilerFlag/CMakeLists.txt |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits


[Cmake-commits] CMake branch, master, updated. v2.8.5-196-g721133d

2011-08-16 Thread KWSys Robot
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project CMake.

The branch, master has been updated
   via  721133dc45d9f15153e6df3ba86f9c2353d93913 (commit)
  from  7b044105ce0c2e8f4f078a74ed02c33a50c52d7c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=721133dc45d9f15153e6df3ba86f9c2353d93913
commit 721133dc45d9f15153e6df3ba86f9c2353d93913
Author: KWSys Robot kwro...@kitware.com
AuthorDate: Wed Aug 17 00:01:04 2011 -0400
Commit: KWSys Robot kwro...@kitware.com
CommitDate: Wed Aug 17 00:10:16 2011 -0400

KWSys Nightly Date Stamp

diff --git a/Source/kwsys/kwsysDateStamp.cmake 
b/Source/kwsys/kwsysDateStamp.cmake
index 1620393..c8bc959 100644
--- a/Source/kwsys/kwsysDateStamp.cmake
+++ b/Source/kwsys/kwsysDateStamp.cmake
@@ -18,4 +18,4 @@ SET(KWSYS_DATE_STAMP_YEAR  2011)
 SET(KWSYS_DATE_STAMP_MONTH 08)
 
 # KWSys version date day component.  Format is DD.
-SET(KWSYS_DATE_STAMP_DAY   16)
+SET(KWSYS_DATE_STAMP_DAY   17)

---

Summary of changes:
 Source/kwsys/kwsysDateStamp.cmake |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
CMake
___
Cmake-commits mailing list
Cmake-commits@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-commits