[cmake-developers] [CMake 0013263]: SOURCES target property (get_property()) has very inconsistent result - wildly differing path specifications

2012-06-01 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.itk.org/Bug/view.php?id=13263 == Reported By:Andreas Mohr Assigned To:

Re: [cmake-developers] ninja failing CompileCommandOutput

2012-06-01 Thread Bill Hoffman
On 5/30/2012 1:37 PM, Stephen Kelly wrote: Bill Hoffman wrote: Looks like there is one more left: http://open.cdash.org/testDetails.php?test=146498578build=2319638 Hmm, I'm not sure how to solve this. It seems like the full path to the compiler with backslashes doesn't have its

Re: [cmake-developers] ninja failing CompileCommandOutput

2012-06-01 Thread Brad King
On 06/01/2012 12:22 PM, Bill Hoffman wrote: Can you explain to me what this test actually does? I guess it is running a compile command without the build tool? Looks like you are using a c++ program to run the compiler. I think you need to go to POSIXs paths to run the command and that

[cmake-developers] visual studio usage

2012-06-01 Thread J Decker
shouldn't cmake use 'msbuild' instead of 'devenv.com' or 'devenv.exe'? I have a feeling that would solve one of my issues with visual studio, in that after building a long chain of cmake projects using visual studio, all of the most recent project references are updated to being the projects that

[CMake] Problems with nightly builds

2012-06-01 Thread NoRulez
Hello,i've a build server running based on http://www.cmake.org/Wiki/CTest:Buildserver.The build slave is a Windows Server 2003 R2.So, what I try to archive is the following:Each time a developer check in files/changes, then the continuous build (every minute) starts to with the last changes

[CMake] Dependencies between independent projects

2012-06-01 Thread Stefan Eilemann
Hi, Apologies for not replying properly to this thread. I just joined the list. By coincidence I just wrote up a blog post on this topic, which I just wanted to share with you. We've faced the same problem and came up with a solution for our projects:

Re: [CMake] Create a binary package

2012-06-01 Thread jupiter . hce
Thanks Eric, that helps. Kind regards. hce On 2012-05-31 09:20+0200, Eric Noulard wrote: 2012/5/31 jupiter jupiter@gmail.com: Hi, Sorry for an FAQ, I am new to cpack. I am going to use cpack to generate an rpm package to contain all binary files, bin, lib etc under

[CMake] Select subproject packages

2012-06-01 Thread jupiter . hce
Hi, I have a top root project and many subprojects under it. I am using cpack to package some subprojects, but I don't want to package the root project. When I run the cpack on root build directory, it also tried to package the root project. Is there any way to disable package the root project?

Re: [CMake] Select subproject packages

2012-06-01 Thread Eric Noulard
2012/6/1 jupiter@gmail.com: Hi, I have a top root project and many subprojects under it. I am using cpack to package some subprojects, but I don't want to package the root project. When I run the cpack on root build directory, it also tried to package the root project. Is there any way

[CMake] Saving/Restoring link_directories and link_libraries

2012-06-01 Thread Theodore Papadopoulo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm using a library XXX which comes with UseXXX.cmake and XXXConfig.cmake files (which I cannot touch as they come from linux distributions). Unfortunately, the XXXConfig.cmake directly calls include_directories(), add_definitions(),

[CMake] Using a variable as a method name

2012-06-01 Thread LaViolette, Alan
Hello I would like to call a method based on a variable name such as set( FOO 123) BAR_${FOO}(arg1 arg2) would do the same as BAR_123(arg1 arg2) Does any way exist to do this in CMake, such as a call() or eval() command? -- Alan LaViolette Software Engineering Consultant OVERWATCH An

[CMake] Meaning of CTEST_ENVIRONMENT

2012-06-01 Thread NoRulez
Hello,in an example i saw that CTEST_ENVIRONMENT is used to set specific paths.I tried the same in my CTestScript, but this doesn't work. Can anybody explain me why variant 1 is working and variant 2 is not?1.Variant:set(ENV{QTDIR} "C:\\Qt")set(ENV{PATH}

Re: [CMake] Using a variable as a method name

2012-06-01 Thread David Cole
Not directly, but as a workaround, you could write that into a file, and then include the file. i.e.: file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/tmp.cmake BAR_${FOO}(arg1 arg2)) include(${CMAKE_CURRENT_BINARY_DIR}/tmp.cmake) You may need to do some quoting and/or escaping to get things working

[CMake] CMAKE_SUPPRESS_REGENERATION in VS2010

2012-06-01 Thread LaViolette, Alan
I am porting our product over to use cmake vs2010 and am experiencing issues with the automatic regeneration (2010 does not seem to like its projects changing while open), so I would like to just turn it off. I have put the CMAKE_SUPPRESS_REGENERATION variable in and still get the ZERO_CHECK

Re: [CMake] Using a variable as a method name

2012-06-01 Thread LaViolette, Alan
Thanks that works great. I just wrote an eval macro that does that From: David Cole [mailto:david.c...@kitware.com] Sent: Friday, June 01, 2012 11:22 AM To: LaViolette, Alan Cc: cmake@cmake.org Subject: Re: [CMake] Using a variable as a method name Not directly, but as a workaround, you could

[CMake] Valgrind fails but ctest doesn't notice

2012-06-01 Thread Paul Harris
Hi, When I run valgrind on a test directly, I see this: $ valgrind test_array ==30643== Memcheck, a memory error detector ==30643== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==30643== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info ==30643==

[CMake] Incorrectly adding -l flag to .lib.a files

2012-06-01 Thread Alejandro Pulver
Hello, I'm using CMake 2.8.7 on Ubuntu 12.04 64-bit for cross-compiling with MinGW. The following link.txt is generated: /usr/bin/cmake -E remove -f CMakeFiles/dhewm3.dir/objects.a /usr/bin/i686-w64-mingw32-ar cr CMakeFiles/dhewm3.dir/objects.a @CMakeFiles/dhewm3.dir/objects1.rsp

Re: [CMake] Saving/Restoring link_directories and link_libraries

2012-06-01 Thread Andreas Mohr
Hi, On Fri, Jun 01, 2012 at 11:09:00AM -0400, cmake-requ...@cmake.org wrote: Date: Fri, 01 Jun 2012 15:30:32 +0200 From: Theodore Papadopoulo theodore.papadopo...@inria.fr I'm using a library XXX which comes with UseXXX.cmake and XXXConfig.cmake files (which I cannot touch as they come from

Re: [CMake] Nina Generator on Windows generates too long link cmd lines

2012-06-01 Thread Claus Klein
Hi Bill, I have tried to prepare a patch. It generates links rules like that: # Rule for linking CXX executable. rule CXX_EXECUTABLE_LINKER command = $PRE_LINK /opt/local/libexec/ccache/g++ $FLAGS -Wl,- search_paths_first -Wl,-headerpad_max_install_names $LINK_FLAGS -Wl,@ $out.rsp -o

[CMake] Support for Intel Visual Fortran 2013 Beta

2012-06-01 Thread Zaheer Chothia
Hello, Visual Studio fails to load the project files (.vfproj) generated by CMake 2.8.8 when using the Intel Visual Fortran 2013 Beta [1]: The selected project was created by a later version of Intel(R) Visual Fortran. It cannot be loaded with this version. Projects generated by the

[Cmake-commits] CMake branch, master, updated. v2.8.8-237-g076ab52

2012-06-01 Thread Kitware Robot
Stamp diff --git a/Source/CMakeVersion.cmake b/Source/CMakeVersion.cmake index 632e9b8..8afc51e 100644 --- a/Source/CMakeVersion.cmake +++ b/Source/CMakeVersion.cmake @@ -2,5 +2,5 @@ SET(CMake_VERSION_MAJOR 2) SET(CMake_VERSION_MINOR 8) SET(CMake_VERSION_PATCH 8) -SET(CMake_VERSION_TWEAK 20120601