[CMake] CTest GIT support does not properly update recursive submodules

2011-02-05 Thread Johan Björk
Hi everyone, It seems the submodule support in CTest does not iterate into submodules. I'm not sure if the reason is an overlook, or that some older versions of git maybe didn't support the --recursive command. Is the proper way to add a CTEST_GIT_SUBMODULE_UPDATE_COMMAND, or is the following fix

Re: [CMake] New warnings in CMake 2.8.4-rc2

2011-02-05 Thread Johan Björk
Hi Guys, I ran into a very similar issue, It seems that CMAKE_TOOLCHAIN_FILE does not trigger the whatever "mark as used" code in question, so even if it actually *does* use the variable, you still get a warning. Example output: Johan-Bjorks-MacBook-Pro-2:build-morpher phb$ cmake -G Xcode -DCMAKE

Re: [CMake] CMake Error: Error required internal CMake variable not set

2011-02-05 Thread Alexander Neundorf
On Saturday 05 February 2011, Enrique Izaguirre wrote: > Hi Alex, > > Thank for the response. For some reason I didn't get the whole output > before, but now here it is: > > # cmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-linuxcpp.cmake .. > -- The CXX compiler identification is GNU > -- Check for work

Re: [CMake] CMake Java Support

2011-02-05 Thread Allen D Byrne
Yes! That is where I meant! (dang email doesn't read minds properly:) BTW, I have a problem I couldn't fix. When doing an add_jar with source in the current dir and resource files (image files) in a sub-directory, the resource files in the jar are at the class base instead of below. Example; W

Re: [CMake] CMake Error: Error required internal CMake variable not set

2011-02-05 Thread Johan Björk
Hi, Make sure you delete the builddirectory if you change the toolchain file, in the output you sent all the compiler detection/testing results was cached. /johan On Feb 4, 2011 10:27 PM, "Enrique Izaguirre" wrote: > Thanks Alexander, > Seems that it doesn't have much information but here it is:

[CMake] Improving the Xcode generator

2011-02-05 Thread Matthew Bentham
Hi all, Having used the Xcode generator for a while I was thinking about contributing some improvements. If anyone thinks these ideas sound insane (or has tried before and failed) I won't go ahead with a feasibility investigation. The generator causes Xcode to run 'make' a couple of times for

Re: [CMake] CMake Java Support

2011-02-05 Thread Andreas Schneider
On Wednesday, January 12, 2011 15:32:08 you wrote: > Andreas, > Thanks for providing these files! I have finally been able to progress on > converting our java product to cmake. I have one suggestion: > > Add to the add_java function the classpath for the target; > > set(${_TARGET_NAME}_CLASS