[cmake-developers] [PATCH] Tell CTest about Apache Maven warnings

2011-03-18 Thread Rolf Eike Beer
Hi, we had a lot of fun debugging our nightly builds in the last couple of days. Part of our build process are some programs that get build using Apache Maven and are used to generate other files later on. It's something like this: ADD_CUSTOM_COMMAND( OUTPUT ${artifact} DEPENDS

Re: [cmake-developers] VS2010 fortran composer

2011-03-18 Thread Biddiscombe, John A.
I'm trying to get the entire hdf5 project compiling with the fortran stuff enabled, but I've run into an issue The solution has mixed fortran and c targets, and it adds dependency information which includes the project file extension cmVisualStudio10TargetGenerator::WriteProjectReferences ...

Re: [cmake-developers] [PATCH] Tell CTest about Apache Maven warnings

2011-03-18 Thread David Cole
Thanks. Looks reasonable. Merged/pushed to next: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=fcf3208ac10942344d4e7302ca8351758ba26978 Expect it in the next release. thx, David On Fri, Mar 18, 2011 at 4:51 AM, Rolf Eike Beer e...@sf-mail.de wrote: Hi, we had a lot of fun debugging our

Re: [cmake-developers] VS2010 fortran composer

2011-03-18 Thread Biddiscombe, John A.
if(cmTarget::LinkInterface const* iface = dt-GetLinkInterface(Debug)) { if (iface-Languages.size()0 iface-Languages[0]==Fortran) { path += .vfproj; } Seems to work. -Original Message- From: cmake-developers-boun...@cmake.org

Re: [cmake-developers] memory leaks in cpack

2011-03-18 Thread Eric Noulard
2011/3/18 Bill Hoffman bill.hoff...@kitware.com: The commits that went in this day: http://www.cdash.org/CDash/viewChanges.php?project=CMakedate=2011-03-12 Caused memory leaks to show up here: http://www.cdash.org/CDash/viewDynamicAnalysisFile.php?id=1142597 May be for me. I'll have a

Re: [cmake-developers] New Cmake module - Armadillo C++

2011-03-18 Thread Alexander Neundorf
On Thursday 17 March 2011, creusot wrote: Hi Alex, Thanks for your help. I have changed the FindArmadillo.cmake file using your comments. The file is attached to this email. I also modified Armadillo installation. A new ArmadilloConfig.cmake file is installed in

Re: [cmake-developers] memory leaks in cpack

2011-03-18 Thread Bill Hoffman
On 3/18/2011 11:00 AM, Eric Noulard wrote: 2011/3/18 Bill Hoffmanbill.hoff...@kitware.com: The commits that went in this day: http://www.cdash.org/CDash/viewChanges.php?project=CMakedate=2011-03-12 Caused memory leaks to show up here:

Re: [cmake-developers] New Cmake module - Armadillo C++

2011-03-18 Thread creusot
Hi Alex, I did followed the steps on the website: - formatting the cmake file - subscribing to the mailing list - sending an email with the new module If there is something to do next, it is not clear what it is. Is there someone to contact to include the file on the CVS? Clement Here you

Re: [cmake-developers] memory leaks in cpack

2011-03-18 Thread Eric Noulard
2011/3/18 Bill Hoffman bill.hoff...@kitware.com: On 3/18/2011 11:00 AM, Eric Noulard wrote: 2011/3/18 Bill Hoffmanbill.hoff...@kitware.com: The commits that went in this day: http://www.cdash.org/CDash/viewChanges.php?project=CMakedate=2011-03-12 Caused memory leaks to show up here:

Re: [cmake-developers] memory leaks in cpack

2011-03-18 Thread Bill Hoffman
On 3/18/2011 3:52 PM, Eric Noulard wrote: Yes but this could be a real symptom a memory corruption. What is the simplest way for me to run the same valgrind test locally? Which ctest one line command, may use for that? That said... The problem seems to be here: dbfilename +=

Re: [cmake-developers] memory leaks in cpack

2011-03-18 Thread Eric Noulard
2011/3/18 Bill Hoffman bill.hoff...@kitware.com: On 3/18/2011 3:52 PM, Eric Noulard wrote: Yes but this could be a real symptom a memory corruption. What is the simplest way for me to run the same valgrind test locally? Which ctest one line command, may use for that? That said... The

Re: [cmake-developers] memory leaks in cpack

2011-03-18 Thread Eric Noulard
2011/3/18 Eric Noulard eric.noul...@gmail.com: 2011/3/18 Bill Hoffman bill.hoff...@kitware.com: On 3/18/2011 3:52 PM, Eric Noulard wrote: Yes but this could be a real symptom a memory corruption. What is the simplest way for me to run the same valgrind test locally? Which ctest one line

Re: [CMake] CPack and fixup_bundle

2011-03-18 Thread Tyler
It's a little obtuse but you need to use \${CMAKE_INSTALL_PREFIX} in that first argument to fixup_bundle(). If you don't, ${CMAKE_INSTALL_PREFIX} will be evaluated at CMake-time and therefore point to your build-time install directory. You want to delay evaluation of that variable until CPack

Re: [CMake] Adding new language.

2011-03-18 Thread arrowdodger
Okay, thanks again for your help. ___ 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:

[CMake] set_target_properties to target openmp flag on an executable

2011-03-18 Thread Caner Candan
Hi all, Since I have several targets to compile, I was looking for a way to set some specific flags to one target among all others. In my example I would like to set the openmp flag to the target test and I got an error with the code below:

Re: [CMake] set_target_properties to target openmp flag on an executable

2011-03-18 Thread Rolf Eike Beer
Hi all, Since I have several targets to compile, I was looking for a way to set some specific flags to one target among all others. In my example I would like to set the openmp flag to the target test and I got an error with the code below:

Re: [CMake] set_target_properties to target openmp flag on an executable

2011-03-18 Thread Eric Noulard
2011/3/18 Caner Candan ca...@candan.fr: Hi all, Since I have several targets to compile, I was looking for a way to set some specific flags to one target among all others. In my example I would like to set the openmp flag to the target test and I got an error with the code below:

Re: [CMake] Deb Package messages only if deb is available

2011-03-18 Thread Dixon, Shane
Eric, Thank you for the guidance on this. I'll give it a try. -- Shane -Original Message- From: Eric Noulard [mailto:eric.noul...@gmail.com] Sent: Thursday, March 17, 2011 12:24 PM To: Dixon, Shane Cc: cmake@cmake.org Subject: Re: [CMake] Deb Package messages only if deb is available

[CMake] How to USE_FOLDERS correctly?

2011-03-18 Thread Oliver Buchtala
Hello, I have problems using the project folder feature described in the documentation for CMake 2.8.4 (http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_global:USE_FOLDERS) The very first command in my configuration is set(GLOBAL PROPERTY USE_FOLDERS ON) later, I define target

Re: [CMake] How to USE_FOLDERS correctly?

2011-03-18 Thread Robert Bielik
Hi Oliver, I use this feature and only thing that differs for me is that I do: SET_TARGET_PROPERTIES( myCore PROPERTIES FOLDER Core ) Hope that helps, /Rob ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] How to USE_FOLDERS correctly?

2011-03-18 Thread Oliver Buchtala
Am 18.03.2011 18:31, schrieb Robert Bielik: Hi Oliver, I use this feature and only thing that differs for me is that I do: SET_TARGET_PROPERTIES( myCore PROPERTIES FOLDER Core ) Hope that helps, /Rob ___ Powered by www.kitware.com

Re: [CMake] How to USE_FOLDERS correctly?

2011-03-18 Thread David Cole
On Fri, Mar 18, 2011 at 1:15 PM, Oliver Buchtala oliver.bucht...@jku.at wrote: Hello, I have problems using the project folder feature described in the documentation for CMake 2.8.4 (http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_global:USE_FOLDERS) The very first command in my

Re: [CMake] How to USE_FOLDERS correctly?

2011-03-18 Thread Oliver Buchtala
Am 18.03.2011 18:51, schrieb David Cole: On Fri, Mar 18, 2011 at 1:15 PM, Oliver Buchtala oliver.bucht...@jku.at wrote: Hello, I have problems using the project folder feature described in the documentation for CMake 2.8.4

[CMake] One too many ../ instances in the relative paths generated by file(GLOB_RECURSE variable RELATIVE ...)

2011-03-18 Thread Alan W. Irwin
I am using the following CMake code fragment to collect file depends for a custom target that generatates doxygen documentation: # Collect essentially same source code dependencies that are in Doxyfile # including most of the template files for configured code files. set(doxygen_prefixes

[CMake] Is is possible to append to default module path?

2011-03-18 Thread Orion Poplawski
I would like to have the standard cmake module path searched first before a local projects path. Is this possible to do? -- Orion Poplawski Technical Manager 303-415-9701 x222 NWRA/CoRA DivisionFAX: 303-415-9702 3380 Mitchell Lane

Re: [CMake] Is is possible to append to default module path?

2011-03-18 Thread Michael Hertling
On 03/18/2011 10:27 PM, Orion Poplawski wrote: I would like to have the standard cmake module path searched first before a local projects path. Is this possible to do? SET(CMAKE_MODULE_PATH ${CMAKE_ROOT}/Modules local-project-path) Regards, Michael

[Cmake-commits] CMake branch, next, updated. v2.8.4-1213-g9104550

2011-03-18 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 9104550e3d18265dec62c454da46605d7aa9be8f (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1215-g9557b36

2011-03-18 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 9557b369693c272cd27593e81c59ec881ceab9ca (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1218-g030f83d

2011-03-18 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 030f83de8ad285ddc6eb0d1726a0de8c0f117e52 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1220-g9ef9cbf

2011-03-18 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 9ef9cbfa56fa6dc2b03d9d2f494f2bf1e02d3d52 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1222-g6c78fb1

2011-03-18 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 6c78fb12aa6b361002131d4590bec7a68992972c (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.4-216-ga885fa2

2011-03-18 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 a885fa23a42086c822a8166be97a906a2fe7dfb1 (commit) from