[cmake-developers] [CMake 0012569]: Summary pane does not work for generated Xcode projects using iOS Simulator SDK (device works)

2011-11-10 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://cmake.org/Bug/view.php?id=12569 == Reported By:James Munro Assigned To:

Re: [cmake-developers] [PATCH 0/7] Preparation for Ninja generator: refactorings, bug fixes

2011-11-10 Thread Nicolas Desprès
On Wed, Nov 9, 2011 at 8:11 PM, Alexander Neundorf neund...@kde.org wrote: On Wednesday 09 November 2011, Peter Collingbourne wrote: On Tue, Oct 04, 2011 at 11:21:00PM +0200, Peter Kümmel wrote: On 04.10.2011 23:19, Peter Kümmel wrote: On 03.10.2011 15:03, Brad King wrote: On 10/2/2011

[cmake-developers] [CMake 0012572]: .sln file signature does not match Visual Studio 11

2011-11-10 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12572 == Reported By:Mateusz Loskot Assigned To:

[CMake] list( APPEND ) on a cache variable

2011-11-10 Thread Robert Dailey
I have an internal cache variable and I want to append items to it in a FOR loop using FORCE. Can list( APPEND ) do this for me? If not, can someone show me an example of how this would be done? What are the performance implications of each solution? - Robert Dailey -- Powered by

Re: [CMake] list( APPEND ) on a cache variable

2011-11-10 Thread Michael Wild
On 11/10/2011 02:57 PM, Robert Dailey wrote: I have an internal cache variable and I want to append items to it in a FOR loop using FORCE. Can list( APPEND ) do this for me? If not, can someone show me an example of how this would be done? What are the performance implications of each

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-11-10 Thread Domagoj Saric
I'm sorry I'm late but if this old one could possibly get in for 2.8.7: http://public.kitware.com/Bug/view.php?id=6493 -- What Huxley teaches is that in the age of advanced technology, spiritual devastation is more likely to come from an enemy with a smiling face than from one whose

[CMake] [PATCH] remove the -unpecified in the installed deb package name

2011-11-10 Thread Kishore Jonnalagadda
For debian packages (and others too?) It is odd to have the -unspecified extension to package names for the nameless component. It is common to have packages like: myapp myapp-dev myapp-data etc. But the application component usually does not have an extension. (Sometimes - bin is used but is

Re: [CMake] CMake 2.4.6 and Xcode 4.2 on Mac OS X 10.7

2011-11-10 Thread Daniel Dekkers
In reality, the Xcode generator only works 100% reliably well when you do not try to specify the compiler, and let Xcode use the one it wants to use by default. Hm… But we still want to build for iOS. There isn't really a problem with that in Xcode 4.2/Lion/iOS5.0/CMake2.8-6 in my

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-11-10 Thread David Cole
As noted in that bug itself in the most recent note: Brad just put this one in the backlog... I'm not going to put it on the roadmap for 2.8.6 unless somebody else steps forward with more work on this, as noted by Brad in his previous comments here. I'm going to say the same thing for 2.8.7

[CMake] Visual Studio 10 property pages for single source file gone with CMake 2.8.5 and 2.8.6

2011-11-10 Thread Niels Dekker - address until 2014
When Visual Studio 10 vcxproj files are generated by CMake 2.8.5 or 2.8.6, it is typically impossible to view the C/C++ properties of a single source file. CMake 2.8.0 to 2.8.4 do not seem to have this issue. It looks like the issue is caused by the fact that CMake 2.8.5 started storing the

Re: [CMake] Bug fix requests for the *next* release of CMake...

2011-11-10 Thread Domagoj Saric
On 10.11.2011. 16:08, David Cole wrote: As noted in that bug itself in the most recent note: Brad just put this one in the backlog... I'm not going to put it on the roadmap for 2.8.6 unless somebody else steps forward with more work on this, as noted by Brad in his previous comments here. I'm

Re: [CMake] Visual Studio 10 property pages for single source file gone with CMake 2.8.5 and 2.8.6

2011-11-10 Thread Domagoj Saric
On 10.11.2011. 16:14, Niels Dekker - address until 2014 wrote: When Visual Studio 10 vcxproj files are generated by CMake 2.8.5 or 2.8.6, it is typically impossible to view the C/C++ properties of a single source file. +1! Thanks Niels for researching and reporting this one (I thought no one

Re: [CMake] Visual Studio 10 property pages for single source file gone with CMake 2.8.5 and 2.8.6

2011-11-10 Thread J Decker
On Thu, Nov 10, 2011 at 7:14 AM, Niels Dekker - address until 2014 niels_dekker_address_until_2...@xs4all.nl wrote: When Visual Studio 10 vcxproj files are generated by CMake 2.8.5 or 2.8.6, it is typically impossible to view the C/C++ properties of a single source file. CMake 2.8.0 to 2.8.4 do

Re: [CMake] Visual Studio 10 property pages for single source file gone with CMake 2.8.5 and 2.8.6

2011-11-10 Thread Niels Dekker - address until 2014
Thanks for your feedback so far on this subject. I have just reported the issue: 0012570: VS10 property pages for single source file gone http://public.kitware.com/Bug/view.php?id=12570 If you have any more comment or suggestion, please feel free to add a note to the report! A patch is

[CMake] shell level access to values of cmake variables

2011-11-10 Thread vagn scott
in my CMakeLists.txt file I have a statement project(hello_foo_baz) This defines PROJECT_NAME among other things. is there something like cmake --dump-var PROJECT_NAME that would output the string hello_foo_baz TIA, vagn -- Powered by www.kitware.com Visit other

[CMake] VS2003 and reloading projects

2011-11-10 Thread Robert Dailey
I've been struggling with a real nuisance lately. When I run a build in VS2003 and my CMake scripts are out of date, it regenerates and then prompts me if I would like to stop the build reload the projects. Once I do that, my projects reload but for some reason their settings are still out of

Re: [CMake] VS2003 and reloading projects

2011-11-10 Thread David Cole
I like reliable. I always do exactly as you say: close VS2003 completely, run CMake on the outside, and then reopen my solution. That's just what I do... David On Thu, Nov 10, 2011 at 2:30 PM, Robert Dailey rcdai...@gmail.com wrote: I've been struggling with a real nuisance lately. When I

Re: [CMake] VS2003 and reloading projects

2011-11-10 Thread John Drescher
I've been struggling with a real nuisance lately. When I run a build in VS2003 and my CMake scripts are out of date, it regenerates and then prompts me if I would like to stop the build reload the projects. Once I do that, my projects reload but for some reason their settings are still out of

Re: [CMake] VS2003 and reloading projects

2011-11-10 Thread Robert Dailey
That's fine dandy but I have a solution with 120+ projects that each have SCC bindings... that makes them load especially slow! I wish VS was smart enough to just reload the changed projects properly... :( - Robert Dailey On Thu, Nov 10, 2011 at 1:34 PM, David Cole

Re: [CMake] list( APPEND ) on a cache variable

2011-11-10 Thread Robert Dailey
Wow the property idea is perfect. I will use that instead. I tend to think too much in terms of either variable or cache variable, I tend to forget about properties. Thanks! - Robert Dailey On Thu, Nov 10, 2011 at 8:22 AM, Michael Wild them...@gmail.com wrote: On 11/10/2011 02:57 PM,

Re: [CMake] VS2003 and reloading projects

2011-11-10 Thread John Drescher
That's fine dandy but I have a solution with 120+ projects that each have SCC bindings... that makes them load especially slow! I wish VS was smart enough to just reload the changed projects properly... :( I think also if you hit cancel on the CMake dialog. Then wait till the projects are

[CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
How do I generate makefiles for cygwin? Can I run CMake through Windows and generate Unix Makefiles, or do I need to run cmake from inside of cygwin itself to generate? Instructions would be awesome, since I suck at linux and I'm just doing this to test my scripts on something other than Visual

[CMake] Where are tests located?

2011-11-10 Thread EXT-York, Gantry
When I do an add_executable( run_main.pl IMPORTED) add_test( test1 run_main.pl) How does it know where run_main.pl is located when you do an out of source build? It seems to look in . Releases Debug MinSizeRel RelWithDebInfo Deployment Development which are directories that I don't even see

Re: [CMake] Generating for cygwin

2011-11-10 Thread Alexander Neundorf
On Thursday 10 November 2011, Robert Dailey wrote: How do I generate makefiles for cygwin? Can I run CMake through Windows and generate Unix Makefiles, or do I need to run cmake from inside of cygwin itself to generate? IIRC you have to run it in the cygwin shell, preferrably the cmake built

Re: [CMake] Generating for cygwin

2011-11-10 Thread David Cole
On Thu, Nov 10, 2011 at 2:59 PM, Robert Dailey rcdai...@gmail.com wrote: How do I generate makefiles for cygwin? Can I run CMake through Windows and generate Unix Makefiles, or do I need to run cmake from inside of cygwin itself to generate? Instructions would be awesome, since I suck at linux

Re: [CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
I *have* to use Cygwin, and it should invoke the VS2003 compiler. The code is not platform agnostic and is very tied to Windows. Our legacy build system is a series of makefile scripts we use Cygwin to invoke those scripts, but everything points to Windows from inside Cygwin. Any way to make

Re: [CMake] Where are tests located?

2011-11-10 Thread David Cole
When you add an IMPORTED target, CMake does not know where the imported target is AT ALL until you tell it. After: add_executable(run_main.pl IMPORTED) You need: set_property(TARGET run_main.pl PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/run_main.pl) See docs here:

Re: [CMake] Where are tests located?

2011-11-10 Thread EXT-York, Gantry
add_test seems to work if you are adding an executable that is built, but if it is just a script that is imported, the cmake system is comfused as to where it is located and the script its doesn't know where the executable is. Gantry York Chandler, Arizona From: cmake-boun...@cmake.org

Re: [CMake] Generating for cygwin

2011-11-10 Thread David Cole
This dashboard build of CMake is run from a cygwin bash script using gmake and the VS 2008 compiler: http://cdash.org/CDash/buildSummary.php?buildid=1711851 See the script that drives it here: http://cdash.org/CDash/viewNotes.php?buildid=1711851 Perhaps there's a clue in there that will be

[CMake] ctest, valgrind callgrind

2011-11-10 Thread Arnaud Gelas
Hi all, I am trying to use callgrind with ctest to profile some component of a project. I have tried replacing MEMORYCHECK_COMMAND/usr/bin/valgrind by MEMORYCHECK_COMMAND/usr/bin/valgrind --tool=callgrind -v When I run ctest -D ExperimentalMemCheck with the first

Re: [CMake] Generating for cygwin

2011-11-10 Thread Bill Hoffman
On 11/10/2011 3:12 PM, David Cole wrote: This dashboard build of CMake is run from a cygwin bash script using gmake and the VS 2008 compiler: http://cdash.org/CDash/buildSummary.php?buildid=1711851 See the script that drives it here: http://cdash.org/CDash/viewNotes.php?buildid=1711851

Re: [CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
Thanks for the info guys but none of this really helps me out, especially the links to the CDash stuff. I don't even really know what I'm looking for. What generator do I need to use when I run cmake in cygwin? Isn't that all I need? Won't CMake automatically pick up the MSVC compiler, even if it

Re: [CMake] Where are tests located?

2011-11-10 Thread EXT-York, Gantry
OK, so if I'm trying to add a test do I just add_executable( run_main.pl IMPORTED ) set_property( TARGET test_script1 PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/run_main.pl ) add_test( test1 run_main.pl) If run_main.pl is #!/usr/bin/perl system main --val 24 Main could

Re: [CMake] Where are tests located?

2011-11-10 Thread EXT-York, Gantry
If I'm in a traversed subdirectory, is there a different variable other than ${CMAKE_CURRENT_SOURCE_DIR} that I should be using? This doesn't seem to work. Gantry York Chandler, Arizona -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of

[CMake] Issue with check_include_file() and GL/glxproto.h

2011-11-10 Thread GOUJON Alexandre
Hi, It all started when I tried compiling Piglit [1] : cmake checked all the dependencies, didn't complain and generated Makefiles but doing 'make' caused an error because a header was missing. So I proposed myself to write a patch and add the check. But the following didn't work :

Re: [CMake] Generating for cygwin

2011-11-10 Thread Bill Hoffman
On 11/10/2011 4:32 PM, Robert Dailey wrote: Thanks for the info guys but none of this really helps me out, especially the links to the CDash stuff. I don't even really know what I'm looking for. What generator do I need to use when I run cmake in cygwin? Isn't that all I need? Won't CMake

Re: [CMake] Generating for cygwin

2011-11-10 Thread Robert Dailey
On Thu, Nov 10, 2011 at 3:51 PM, Bill Hoffman bill.hoff...@kitware.comwrote: See my email about the VS variables and gmake version. Also, you will need to set CC=cl and CXX=cl before running CMake, or when you run cmake-gui click on the Specify native compilers button after you select Unix

Re: [CMake] Issue with check_include_file() and GL/glxproto.h

2011-11-10 Thread Eric Noulard
2011/11/10 GOUJON Alexandre ale.gou...@gmail.com: Hi, It all started when I tried compiling Piglit [1] : cmake checked all the dependencies, didn't complain and generated Makefiles but doing 'make' caused an error because a header was missing. So I proposed myself to write a patch and add

[CMake] cdt generator and subclipse?

2011-11-10 Thread Dan Kegel
Hey folks, http://www.cmake.org/Wiki/Eclipse_CDT4_Generator says the cdt generator should work with subclipse if you set -DECLIPSE_CDT4_GENERATE_SOURCE_PROJECT=TRUE on the commandline when running cmake, but it doesn't seem to be working here. As a sanity check, I verified that a normal eclipse

Re: [CMake] CPack Generator jar support

2011-11-10 Thread Alexander Broekhuis
By the way did you suppress the INSTALL rule concerning the MANIFEST you may have had before? Yes, this is what I tried. CMake seems to make an intermediate directory which is zipped. So the order of the INSTALL/CPACK_INSTALLED_DIRECTORIES doesn't seem to have an impact. I bet the safest way

Re: [CMake] ctest, valgrind callgrind

2011-11-10 Thread Kelly Thompson
Arnaud, I use valgrind with options using something like this: set( CTEST_MEMORYCHECK_COMMAND valgrind ) set( CTEST_MEMORYCHECK_COMMAND_OPTIONS --tool=callgrind -v ) Let us know if that works. -kt -Original Message- From: cmake-boun...@cmake.org

Re: [CMake] cdt generator and subclipse?

2011-11-10 Thread Dan Kegel
On Thu, Nov 10, 2011 at 2:32 PM, Dan Kegel d...@kegel.com wrote: http://www.cmake.org/Wiki/Eclipse_CDT4_Generator says the cdt generator should work with subclipse if you set  -DECLIPSE_CDT4_GENERATE_SOURCE_PROJECT=TRUE on the commandline when running cmake, but it doesn't seem to be working

Re: [CMake] ctest, valgrind callgrind

2011-11-10 Thread Arnaud Gelas
kt, It did not work... Here is what I get: $ ctest -D ExperimentalMemCheck -R LevelSetsv4 -j12 Site: snapper Build name: Linux-c++ Create new tag: 2011-0011 - Experimental Memory check project /home/ajg23/GITROOT/BUILDITK Cannot find memory checker suppression file: --tool=callgrind

Re: [CMake] Issue with check_include_file() and GL/glxproto.h

2011-11-10 Thread Michael Hertling
On 11/10/2011 11:22 PM, Eric Noulard wrote: 2011/11/10 GOUJON Alexandre ale.gou...@gmail.com: Hi, It all started when I tried compiling Piglit [1] : cmake checked all the dependencies, didn't complain and generated Makefiles but doing 'make' caused an error because a header was missing. So

Re: [CMake] Generating for cygwin

2011-11-10 Thread Bill Hoffman
On 11/10/2011 5:14 PM, Robert Dailey wrote: I think my incorrect subject is symbolic of the fact that I don't know what I'm looking for ;) So you're basically saying that from cmake-gui on Windows, point C and CXX to cl.exe? I did this but got a big fat error message: I also said in my

Re: [CMake] CPack Generator jar support

2011-11-10 Thread Eric Noulard
2011/11/10 Alexander Broekhuis a.broekh...@gmail.com: By the way did you suppress the INSTALL rule concerning the MANIFEST you may have had before? Yes, this is what I tried. CMake seems to make an intermediate directory which is zipped. So the order of the

[Cmake-commits] CMake branch, next, updated. v2.8.6-1831-g63edbfc

2011-11-10 Thread Brad King
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 63edbfcf572fb930a5d03b4af6e4b72e4e2bee7d (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.6-1833-ga0cadef

2011-11-10 Thread Brad King
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 a0cadefcf9ebd1a5ee51155de232c7c564eab617 (commit) via