Re: [cmake-developers] Creating a separate project/package which provides cmake extensions/modules

2011-06-06 Thread Alexander Neundorf
On Sunday, June 05, 2011 11:34:55 PM Eric Noulard wrote: 2011/6/4 Alexander Neundorf neund...@kde.org: Hi, again from the KDE sprint... We have around 150 cmake modules in kdelibs... Several libraries are not before kdelibs, so they don't have access to those. So, what we

Re: [cmake-developers] Automoc in cmake

2011-06-06 Thread Alexander Neundorf
On Saturday, June 04, 2011 10:24:52 AM Alexander Neundorf wrote: Hi, one feature which all KDE developers are used to and which is also used by qmake when building Qt is automoc. This means that you don't have to write qt4_wrap_cpp(srcs ${filesToBeMoced}) but instead you simply do

[cmake-developers] [CMake 0012247]: python libraries are not searched under lib64/

2011-06-06 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=12247 == Reported By:Christoph Höger Assigned To:

[cmake-developers] [CMake 0012248]: Boost libraries are not searched in /usr/lib64

2011-06-06 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=12248 == Reported By:Christoph Höger Assigned To:

Re: [cmake-developers] Adding argument OPTIONAL to find_package() and add_subdirectory

2011-06-06 Thread Brad King
On 06/04/2011 06:30 AM, Alexander Neundorf wrote: What do you think about adding this as a built-in feature to find_package(), i.e. add a argument OPTIONAL to find_package(), then probably also a COMMENT. The interface to find_package is already extensive. This feature would have to come

Re: [cmake-developers] Creating a separate project/package which provides cmake extensions/modules

2011-06-06 Thread Brad King
On 06/04/2011 06:39 AM, Alexander Neundorf wrote: So, what we came up with is that create a new package which just contains our cmake modules, so they can be used by non-KDE applications. [snip] Do you think this is a reasonable plan or do you see conceptual issues with it This is a great

Re: [cmake-developers] Automoc in cmake

2011-06-06 Thread Brad King
On 06/06/2011 03:56 AM, Alexander Neundorf wrote: On Saturday, June 04, 2011 10:24:52 AM Alexander Neundorf wrote: Hi, one feature which all KDE developers are used to and which is also used by qmake when building Qt is automoc. This means that you don't have to write qt4_wrap_cpp(srcs

Re: [cmake-developers] Improved support for using cmake-based libraries in non-cmake projects

2011-06-06 Thread Brad King
On 06/05/2011 07:14 PM, Eric Noulard wrote: 2011/6/4 Alexander Neundorf neund...@kde.org: * if so, it will check that for FOO_INCLUDES and FOO_LIBRARIES * create the command line arguments for the compiler from that * print -I/opt/foo/include to stdout [snip] cmake-config would be a

Re: [cmake-developers] Improved support for using cmake-based libraries in non-cmake projects

2011-06-06 Thread Alexander Neundorf
On Monday, June 06, 2011 03:44:20 PM Brad King wrote: On 06/05/2011 07:14 PM, Eric Noulard wrote: 2011/6/4 Alexander Neundorf neund...@kde.org: * if so, it will check that for FOO_INCLUDES and FOO_LIBRARIES * create the command line arguments for the compiler from that * print

Re: [cmake-developers] Adding argument OPTIONAL to find_package() and add_subdirectory

2011-06-06 Thread Alexander Neundorf
On Monday, June 06, 2011 03:26:03 PM Brad King wrote: On 06/04/2011 06:30 AM, Alexander Neundorf wrote: What do you think about adding this as a built-in feature to find_package(), i.e. add a argument OPTIONAL to find_package(), then probably also a COMMENT. The interface to find_package

[CMake] Invoking CMakle outside of the build/source dir.

2011-06-06 Thread Campbell Barton
Hi, A handful of times I would have found it useful to run cmake without having to be in the build dir, mostly there is some way to change the CWD or write a shell wrapper, nevertheless it could still be useful when launching builds from scripts or more limited environments. Is there some way to

[CMake] Automate Cmake for ITK Projects

2011-06-06 Thread Neil Panjwani
Hi, I'm trying to build an ITK project via command line automatically rather than going through the window prompts. During this process, I only ever change two options: 1) the visual studio generator (32 or 64-bit) and 2) the ITK_DIR because I have several installations of ITK and the default

Re: [CMake] Automate Cmake for ITK Projects

2011-06-06 Thread Michael Jackson
cmake -DITK_DIR=/some/path/to/ITK -G Visual Studio 8 2005 Win64 ../src ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On

Re: [CMake] Invoking CMakle outside of the build/source dir.

2011-06-06 Thread Kishore
On Monday 06 Jun 2011 12:38:33 PM Campbell Barton wrote: Hi, A handful of times I would have found it useful to run cmake without having to be in the build dir, mostly there is some way to change the CWD or write a shell wrapper, nevertheless it could still be useful when launching builds from

Re: [CMake] Invoking CMakle outside of the build/source dir.

2011-06-06 Thread Eric Noulard
2011/6/6 Campbell Barton ideasma...@gmail.com: Hi, A handful of times I would have found it useful to run cmake without having to be in the build dir, mostly there is some way to change the CWD or write a shell wrapper, nevertheless it could still be useful when launching builds from scripts

Re: [CMake] Status of FindHDF5.cmake in CMake?

2011-06-06 Thread Will Dicharry
Tim Gallagher wrote: We've run into another issue with the way FindHDF5 works. On Cray systems, h5fc -show gives: ifort -fPIC -I/opt/cray/hdf5/1.8.5.0/hdf5-intel/include -L/opt/cray/hdf5/1.8.5.0/hdf5-intel/lib /opt/cray/hdf5/1.8.5.0/hdf5-intel/lib/libhdf5hl_fortran.a

Re: [CMake] Invoking CMakle outside of the build/source dir.

2011-06-06 Thread Yuri Timenkov
I guess there are cases when you can't do this. For example, on Windows you can't simply call cd - or you may have other kind of script than sh one (for example ant). Also both source dir and binary dir may be relative to current directory, therefore you don't know neither absolute nor relative

Re: [CMake] Invoking CMakle outside of the build/source dir.

2011-06-06 Thread Bill Hoffman
On 6/6/2011 11:33 AM, Yuri Timenkov wrote: I guess there are cases when you can't do this. For example, on Windows you can't simply call cd - or you may have other kind of script than sh one (for example ant). Also both source dir and binary dir may be relative to current directory, therefore

Re: [CMake] New build configuration based off existing configuration?

2011-06-06 Thread Glenn Coombs
This is what I do: # Add configuration for ReleaseNoOutfiles builds based on the release configuration # = set(CMAKE_C_FLAGS_RELEASENOOUTFILES ${CMAKE_C_FLAGS_RELEASE}CACHE STRING Flags used by the

Re: [CMake] Embedding one project inside a second

2011-06-06 Thread Glenn Coombs
A simple set of CMAKE_C_FLAGS or CMAKE_CXX_FLAGS will set the value for the current directory and below: set(CMAKE_C_FLAGS${CMAKE_C_FLAGS} -m32) Any add_directory() commands after the above line will inherit the -m32 flag. -- Glenn On 5 June 2011 20:36, Richard Offer

Re: [CMake] Scanning dependencies of target xxx is very slow.

2011-06-06 Thread Bill Hoffman
On 6/5/2011 11:28 PM, jianhua wrote: Hi Neundorf; Thanks for your kindly response on this issue. Usually it is not that slow. Can you give us some more information ? Of how many files consists your target approximately ? Under which operating system ? Is it maybe on

Re: [CMake] Addition to FindGit

2011-06-06 Thread Brad King
On 06/05/2011 05:02 AM, Quintus wrote: I'm working on a git-versioned project that I'd like to display it's version number for development versions like this: 1.2.3-dev (commit abc1234 on devel, 12/4/10) FYI, consider using git describe for versions. CMake's FindGit module seems to be quite

[CMake] (no subject)

2011-06-06 Thread dfurtney
Does CMake provide a way to get the list of objects going into a given target? I need such a list for a PRE_LINK custom command. ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Scanning dependencies of target xxx is very slow.

2011-06-06 Thread Alexander Neundorf
On Monday, June 06, 2011 05:28:48 AM jianhua wrote: Hi Neundorf; Thanks for your kindly response on this issue. Usually it is not that slow. Can you give us some more information ? Of how many files consists your target approximately ? Under which operating system ? Is it maybe on NFS

[CMake] cmake - preventing `make clean` from cleaning ExternalProject.

2011-06-06 Thread jeeyoung kim
I was wondering if there's some way to prevent make clean in cmake from re-building external dependencies. I'm using ExternalProject to build third party c++ libraries, and they do not have to be rebuilt even if I do make clean. On the other hand, I might want to create a new rule, say, make

[Cmake-commits] CMake branch, next, updated. v2.8.4-1687-gd7739d4

2011-06-06 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 d7739d440f74f1284ac1a269f8174fb632df1dfe (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1689-g59d4823

2011-06-06 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 59d48239b952a381ff7001427a7b48280a1c864f (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1691-g6e076e9

2011-06-06 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 6e076e9413ff2c66088894def809d248880d432e (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1696-g3f18b6c

2011-06-06 Thread Philip Lowman
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 3f18b6c49ac0809e88e54e2a9981cbbfb0a17261 (commit) via