[cmake-developers] [CMake 0012626]: FindJPEG/FindTIFF.cmake do not define _INCLUDE_DIRS variables

2011-12-14 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.vtkedge.org/Bug/view.php?id=12626 == Reported By:rstein Assigned To:

Re: [CMake] Top level target depending on a file

2011-12-14 Thread Alexander Broekhuis
Hi, CMake takes great care regarding dependencies on files which are needed to build targets, i.e. usually, it's not necessary to specify any extra dependencies of a target on a file. In my exemplary project, the README file is actually not needed to build the library target, so CMake does

[CMake] when /usr/local doesn't exist

2011-12-14 Thread Yngve Levinsen
Dear developers, Initial warning: This is a minor issue. One of the computers that are submitting nightlies to my cdash server is an iMac which does not have /usr/local created. However, it looks like /usr/loca/lib is one of the default directories which is linked, so his report always has a

Re: [CMake] Fwd: Re: Compiler debug file, howto remove in clean?

2011-12-14 Thread Totte Karlsson
On 12/13/2011 4:15 PM, David Cole wrote: RUNTIME_OUTPUT_DIRECTORY is a target property, not a variable. You'd have to use get_property to retrieve its value, not ${RUNTIME_OUTPUT_DIRECTORY}... Thanks! I ended up with the following, in the targets CMakeList file get_property(exe_path TARGET

Re: [CMake] Top level target depending on a file

2011-12-14 Thread Eric Noulard
2011/12/14 Alexander Broekhuis a.broekh...@gmail.com: Hi, CMake takes great care regarding dependencies on files which are needed to build targets, i.e. usually, it's not necessary to specify any extra dependencies of a target on a file. In my exemplary project, the README file is actually

Re: [CMake] Top level target depending on a file

2011-12-14 Thread Alexander Broekhuis
Hi, Thanks for you replies, In my case the output is the ZIP file. So the zip file is produced by the top level target, and I don't want/need a separate target for it. Yes but CMake's jobs is to build libraries and executables not bundle which is more the CPack's job, however I

Re: [CMake] Top level target depending on a file

2011-12-14 Thread Michael Hertling
On 12/14/2011 09:30 AM, Alexander Broekhuis wrote: Hi, CMake takes great care regarding dependencies on files which are needed to build targets, i.e. usually, it's not necessary to specify any extra dependencies of a target on a file. In my exemplary project, the README file is actually

Re: [CMake] Top level target depending on a file

2011-12-14 Thread Alexander Broekhuis
Hi, First of all, you definitely need the library target in order to build the library, and CMake ignores each file in the list of sources which is not necessary for this purpose. IMO, that's quite reasonable; e.g., you wouldn't want to have the library relinked or even completely re-

Re: [CMake] Top level target depending on a file

2011-12-14 Thread Eric Noulard
2011/12/14 Alexander Broekhuis a.broekh...@gmail.com: Hi, Thanks for you replies, Yes but CMake's jobs is to build libraries and executables not bundle which is more the CPack's job, however I understand your point. An extra target may be a small price to pay, no? Well I'd rather have

Re: [CMake] Top level target depending on a file

2011-12-14 Thread Michael Hertling
On 12/14/2011 10:55 AM, Alexander Broekhuis wrote: Hi, Thanks for you replies, In my case the output is the ZIP file. So the zip file is produced by the top level target, and I don't want/need a separate target for it. Yes but CMake's jobs is to build libraries and executables not

Re: [CMake] Top level target depending on a file

2011-12-14 Thread Alexander Broekhuis
Yes now it's clear. You are looking for something like add_library like command which would produce the OSGi bundle which is the purpose of your bundle macro. Yes this is exactly what I'd like to do, but taking Michael remarks into account, I now think it would make more sense to have the

Re: [CMake] Top level target depending on a file

2011-12-14 Thread Michael Hertling
On 12/14/2011 11:23 AM, Alexander Broekhuis wrote: Hi, First of all, you definitely need the library target in order to build the library, and CMake ignores each file in the list of sources which is not necessary for this purpose. IMO, that's quite reasonable; e.g., you wouldn't want to

Re: [CMake] Fwd: Re: Compiler debug file, howto remove in clean?

2011-12-14 Thread Michael Hertling
On 12/14/2011 09:43 AM, Totte Karlsson wrote: On 12/13/2011 4:15 PM, David Cole wrote: RUNTIME_OUTPUT_DIRECTORY is a target property, not a variable. You'd have to use get_property to retrieve its value, not ${RUNTIME_OUTPUT_DIRECTORY}... Thanks! I ended up with the following, in the

[CMake] FindQtMobility

2011-12-14 Thread David Doria
It looks like this find script has been written for kde: http://old.nabble.com/Review-Request%3A-Add-a-FindQtMobility.cmake-file-td31823359.html I don't see it included in src/cmake/Modules - any plans to include it with CMake? David -- Powered by www.kitware.com Visit other Kitware

[CMake] Append Implicit Link Library

2011-12-14 Thread Schuchard, Matthew
I am trying to add a library to implicitly link against for the Absoft Fortran compiler. CMake generates the libraries to implicitly link against for this compiler seemingly from source code, since the Compiler/Absoft-Fortran and Platforum/Linux-Absoft contain nothing about what libraries to

[CMake] Find package with version numbers

2011-12-14 Thread Robert Dailey
Is there any example of how to write a find module for find_package() that utilizes version numbers? How is the version number passed into the Find*.cmake module? The documentation on this is very confusing and discusses creating a version.cmake file. I looked in the CMake modules directory for an

Re: [CMake] Find package with version numbers

2011-12-14 Thread Alexander Neundorf
On Wednesday 14 December 2011, Robert Dailey wrote: Is there any example of how to write a find module for find_package() that utilizes version numbers? How is the version number passed into the Find*.cmake module? The documentation on this is very confusing and discusses creating a

[CMake] Broken Cmake Behavior using --build VS2010

2011-12-14 Thread J Decker
visual studio 2010; cmake latest cmake .. - generates a .sln file that is comprised of the last project in the top level. cmake --build . - tries to build the .sln that is comprised of the first 'project' command that is encountered in the script. If I reverse the project and include

Re: [CMake] Find package with version numbers

2011-12-14 Thread Tim Gallagher
Boost takes arguments for versions of the library if you need a concrete example. Tim - Original Message - From: Alexander Neundorf a.neundorf-w...@gmx.net To: cmake@cmake.org Sent: Wednesday, December 14, 2011 5:11:45 PM Subject: Re: [CMake] Find package with version numbers On

Re: [CMake] Find package with version numbers

2011-12-14 Thread Robert Dailey
I figured that, but that is one hell of a scary find module... I tend to stay away from it :) Thanks guys. - Robert Dailey On Wed, Dec 14, 2011 at 5:33 PM, Tim Gallagher tim.gallag...@gatech.eduwrote: Boost takes arguments for versions of the library if you need a concrete example.

[CMake] Some suggestions to TestForPosix module I wrote

2011-12-14 Thread Renato Utsch
I wrote a TestForPosix module for looking if the system supports a POSIX / XPG / SUS standard and I wanted for you experts to look and criticize if you find anything wrong. I would also ask how can I make a request for it to be included in CMake 2.8.7, because it is (in my opinion) a very good

Re: [CMake] Broken Cmake Behavior using --build VS2010

2011-12-14 Thread David Cole
This is because we should really only allow one project command per CMakeLists.txt file, but since we do not error out, it's difficult to change at this point in time... --build uses the CMAKE_PROJECT_NAME cache variable to decide what sln file to use, and that corresponds to the first project

Re: [CMake] Broken Cmake Behavior using --build VS2010

2011-12-14 Thread J Decker
On Wed, Dec 14, 2011 at 5:31 PM, David Cole david.c...@kitware.com wrote: This is because we should really only allow one project command per CMakeLists.txt file, but since we do not error out, it's difficult to change at this point in time... --build uses the CMAKE_PROJECT_NAME cache

[Cmake-commits] CMake branch, next, updated. v2.8.6-2204-gee9dd85

2011-12-14 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 ee9dd859ef6f5f1caf9b87430130470855af35f9 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.6-2209-g945d5bd

2011-12-14 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 945d5bdb2422d55893c6c20614f2bf7053b6db00 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.6-2213-g13a4f9f

2011-12-14 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 13a4f9f8c7feb4f1cbff9c8dbd5cb06d55e472a7 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.6-2215-gdeb2cfd

2011-12-14 Thread Bill Hoffman
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 deb2cfdd5b2a37a79452de9aafe3a62f95ebf20d (commit) via