Re: [cmake-developers] target_include_directories branch in stage

2011-11-29 Thread Stephen Kelly
Brad King brad.king@... writes: On 11/6/2011 5:45 PM, Stephen Kelly wrote:I'd prefer it to be though if we can sort out the issues with what should be the target feature set. Good. We can work on this and revise/rewrite the topic there first and then merge to next for testing when the

Re: [cmake-developers] Generating imported library targets without the cmake executable

2011-11-29 Thread Brad King
On 11/29/2011 8:00 AM, Stephen Kelly wrote: Alexander Neundorf wrote: I can't generate the files. I'm asking people with windows and mac setups to generate them and post them for review. I don't have those setups. Just the ones for Linux would already help :-) I managed to get generated

Re: [cmake-developers] Generating imported library targets without the cmake executable

2011-11-29 Thread Stephen Kelly
Brad King wrote: On 11/29/2011 8:00 AM, Stephen Kelly wrote: Alexander Neundorf wrote: I can't generate the files. I'm asking people with windows and mac setups to generate them and post them for review. I don't have those setups. Just the ones for Linux would already help :-) I managed

Re: [cmake-developers] Generating imported library targets without the cmake executable

2011-11-29 Thread Stephen Kelly
Brad King wrote: On 11/29/2011 10:53 AM, Stephen Kelly wrote: Qt5Core_LIBRARY is intended to be the thing that users would use in the CMakeLists.txt. I've had another read of the Modules/readme.txt and I guess I need to change it to be consistent. So should I rename them or should I

[cmake-developers] [CMake 0012600]: Specifying CMAKE_INSTALL_PREFIX in a CMAKE_TOOLCHAIN_FILE file has no effect

2011-11-29 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=12600 == Reported By:garin100 Assigned To:

Re: [cmake-developers] target_include_directories branch in stage

2011-11-29 Thread Alexander Neundorf
...a somewhat related idea: if it will be possible to set include directories per target, and since it is already possible to set compile flags per target, it would be nice if I could also set a property on targets which keeps them from using the global settings at all. Something like

Re: [cmake-developers] slow regex implementation in RegularExpression

2011-11-29 Thread Alexandru Ciobanu
Hi, We found a workaround that does not require any source code modifications. I added the description to the bug report: http://public.kitware.com/Bug/view.php?id=12381#c27872 In short, we filter out the longer lines in the build output, so that CTest does not spend hours regex-matching

Re: [cmake-developers] slow regex implementation in RegularExpression

2011-11-29 Thread Bill Hoffman
On 11/29/2011 2:41 PM, Alexandru Ciobanu wrote: Hi, We found a workaround that does not require any source code modifications. I added the description to the bug report: http://public.kitware.com/Bug/view.php?id=12381#c27872 Good, glad you are up and running again. ... Since it is similar to

Re: [cmake-developers] cmake automoc breaks kde

2011-11-29 Thread Alexander Neundorf
On Tuesday 22 November 2011, Stephen Kelly wrote: On 11/22/2011 10:03 PM, Alexander Neundorf wrote: Now when I try to build the frameworks branch using the cmake next branch, I get: AUTOMOC: error: /home/stephen/dev/src/kf5/tier1/libkcoreaddons/src/io/kdirwatch.cpp: The file includes

Re: [cmake-developers] slow regex implementation in RegularExpression

2011-11-29 Thread James Bigler
On Tue, Nov 29, 2011 at 1:05 PM, Bill Hoffman bill.hoff...@kitware.comwrote: On 11/29/2011 2:41 PM, Alexandru Ciobanu wrote: Hi, We found a workaround that does not require any source code modifications. I added the description to the bug report:

Re: [cmake-developers] slow regex implementation in RegularExpression

2011-11-29 Thread David Cole
On Tue, Nov 29, 2011 at 3:44 PM, James Bigler jamesbig...@gmail.com wrote: On Tue, Nov 29, 2011 at 1:05 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 11/29/2011 2:41 PM, Alexandru Ciobanu wrote: Hi, We found a workaround that does not require any source code modifications. I added

Re: [cmake-developers] Generating imported library targets without the cmake executable

2011-11-29 Thread Alexander Neundorf
On Tuesday 29 November 2011, Stephen Kelly wrote: Alexander Neundorf wrote: I can't generate the files. I'm asking people with windows and mac setups to generate them and post them for review. I don't have those setups. Just the ones for Linux would already help :-) I managed to get

Re: [cmake-developers] Generating imported library targets without the cmake executable

2011-11-29 Thread Alexander Neundorf
On Tuesday 29 November 2011, Brad King wrote: On 11/29/2011 10:53 AM, Stephen Kelly wrote: Qt5Core_LIBRARY is intended to be the thing that users would use in the CMakeLists.txt. I've had another read of the Modules/readme.txt and I guess I need to change it to be consistent. So

Re: [cmake-developers] Generating imported library targets without the cmake executable

2011-11-29 Thread Stephen Kelly
Alexander Neundorf wrote: On Tuesday 29 November 2011, Stephen Kelly wrote: Alexander Neundorf wrote: I can't generate the files. I'm asking people with windows and mac setups to generate them and post them for review. I don't have those setups. Just the ones for Linux would already

Re: [cmake-developers] Generating imported library targets without the cmake executable

2011-11-29 Thread Stephen Kelly
Alexander Neundorf wrote: On Tuesday 29 November 2011, Brad King wrote: On 11/29/2011 10:53 AM, Stephen Kelly wrote: Qt5Core_LIBRARY is intended to be the thing that users would use in the CMakeLists.txt. I've had another read of the Modules/readme.txt and I guess I need to change it

Re: [CMake] How to build for 32bit using multiarch?

2011-11-29 Thread Mathias Gaunard
On 11/28/2011 05:58 PM, Kishore Jonnalagadda wrote: I have recently moved to using 64bit Kubuntu Oneiric when supports multiarch. I understand that building 32 bit from my 64 install is as simple as adding the -m32 option to gcc. Asking cmake to add that flag is easy but i don't know how to ask

Re: [CMake] CTestScript for all available git branches/tags

2011-11-29 Thread Nicolas Desprès
On Tue, Nov 29, 2011 at 8:21 AM, noru...@me.com wrote: Is the CMake mailing list dead? No :-) Although, I am also really interested in your request, I have never setup a ctest based continuous integration system so I don't have the answer. Maybe we could try your idea on a small project and

Re: [CMake] CTestScript for all available git branches/tags

2011-11-29 Thread David Cole
For CMake itself, we have a one-to-one correlation between a script run and an entry that appears on the dashboard. We also have a common script that's included for nearly all CMake dashboard submissions, and we switch things that are different between different runs with simple variable sets for

[CMake] Platform Finding modules

2011-11-29 Thread Laszlo Papp
Hi, Are there any modules to realize the fact what platform I build on top of ? I could imagine something like Find{Harmattan,Fremantle,Maemo,MeeGo,Tizen,AnyPlatform}.cmake in wider usage. An example for using such a feature: I would like to set something according to the actual platform, like

Re: [CMake] How to build for 32bit using multiarch?

2011-11-29 Thread Kishore
On Tuesday 29 Nov 2011 10:50:13 AM Mathias Gaunard wrote: On 11/28/2011 05:58 PM, Kishore Jonnalagadda wrote: I have recently moved to using 64bit Kubuntu Oneiric when supports multiarch. I understand that building 32 bit from my 64 install is as simple as adding the -m32 option to gcc.

Re: [CMake] Platform Finding modules

2011-11-29 Thread Pau Garcia i Quiles
Hi, There are a few variables: CMAKE_SYSTEM, CMAKE_HOST_UNIX, WIN32, etc but not as accurate as you seem to need. http://cmake.org/cmake/help/cmake-2-8-docs.html#variable:CMAKE_SYSTEM You'd need to take CMAKE_SYSTEM, then refine it through your own knowledge of the platform. On Tue, Nov 29,

[CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread kent williams
I'm running into problems using the DCMTK library. I've set up an ExternalProject to build and install it, and the CMake 2.8.5 FindDCMTK.cmake finds the library if I set DCMTK_DIR. But the DCMTK_INCLUDE_DIRS variable created by FindDCMTK.cmake isn't 100% correct. It does a good job of

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread Thomas Sondergaard
On 2011-11-29 17:28, kent williams wrote: I'm running into problems using the DCMTK library. I've set up an ExternalProject to build and install it, and the CMake 2.8.5 FindDCMTK.cmake finds the library if I set DCMTK_DIR. But the DCMTK_INCLUDE_DIRS variable created by FindDCMTK.cmake isn't

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread kent williams
I actually install DCMTK in a subdirectory of my top-level build, and then my program that uses DCMTK is configured with DCMTK_DIR. The problem isnt MY source, the problem is that the DCMTK headers use the dcmtk/x/y.h path form to include OTHER DCMTK headers. I am doing exactly what you're

Re: [CMake] Documentation does not include --check-build-system

2011-11-29 Thread Alexander Neundorf
On Monday 28 November 2011, J Decker wrote: On Mon, Nov 28, 2011 at 12:01 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Saturday 26 November 2011, J Decker wrote: I don't find any documentation on the command that cmake uses with a cmake -E --check-build-system Does this

Re: [CMake] Platform Finding modules

2011-11-29 Thread Alexander Neundorf
On Tuesday 29 November 2011, Laszlo Papp wrote: Hi, Are there any modules to realize the fact what platform I build on top of ? I could imagine something like Find{Harmattan,Fremantle,Maemo,MeeGo,Tizen,AnyPlatform}.cmake in wider usage. No, currently not. These are basically different

Re: [CMake] Documentation does not include --check-build-system

2011-11-29 Thread J Decker
On Tue, Nov 29, 2011 at 9:17 AM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Monday 28 November 2011, J Decker wrote: On Mon, Nov 28, 2011 at 12:01 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Saturday 26 November 2011, J Decker wrote: I don't find any documentation on

Re: [CMake] Documentation does not include --check-build-system

2011-11-29 Thread Alexander Neundorf
On Tuesday 29 November 2011, J Decker wrote: On Tue, Nov 29, 2011 at 9:17 AM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Monday 28 November 2011, J Decker wrote: On Mon, Nov 28, 2011 at 12:01 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Saturday 26 November

Re: [CMake] Platform Finding modules

2011-11-29 Thread Eric Noulard
2011/11/29 Alexander Neundorf a.neundorf-w...@gmx.net: On Tuesday 29 November 2011, Laszlo Papp wrote: Hi, Are there any modules to realize the fact what platform I build on top of ? I could imagine something like Find{Harmattan,Fremantle,Maemo,MeeGo,Tizen,AnyPlatform}.cmake in wider usage.

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread Thomas Sondergaard
On 2011-11-29 18:19, kent williams wrote: I actually install DCMTK in a subdirectory of my top-level build, and then my program that uses DCMTK is configured with DCMTK_DIR. What is DCMTK_DIR pointing at? The installation dir or the source dir? As you can see in the description of the string

[CMake] FindPythonLibs fails inexplicably

2011-11-29 Thread Matthew LeRoy
I'm having trouble diagnosing why a call to FIND_PACKAGE(PythonLibs) is failing. I am running CMake 2.8.5 on Windows 7 Enterprise, 64-bit. The same CMake code works fine on my colleagues' systems, so it's got to be something wrong on my machine. In my CMakeLists.txt, I've got something like this:

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread Thomas Sondergaard
On 2011-11-29 20:49, Thomas Sondergaard wrote: I am doing exactly what you're doing, and if you don't have this problem I'm interested in how you got it to work. The most recent version of FindDCMTK.cmake differs from the 2.8.5. Can you tell while this change solves your problem?

[CMake] CPACK RPM directories in %files section

2011-11-29 Thread Steven Green
Hello, This is my first post to this mailing list. I have a problem relating to creating an RPM. Previously I was using CMake version 2.8.4, and when adding a file such as /etc/init.d/myfile it would only add that one file to the RPM. I recently upgraded to CMake 2.8.6 and now it is

Re: [CMake] [RFC] How to use pkg-config under Windows (... and OSX)?

2011-11-29 Thread Alexander Neundorf
On Friday 18 November 2011, Patrick Spendrin wrote: Am 18.11.2011 02:02, schrieb Alan W. Irwin: Alex, is it possible your KDE Windows developers who are objecting to pkg-config tried a version from years ago when it did not have all these Windows issues sorted out? I suggest you tell them

Re: [CMake] Platform Finding modules

2011-11-29 Thread Eric Noulard
2011/11/29 Laszlo Papp lp...@kde.org: [...] The file is meant to be included in a CMakeLists.txt for which the project command has already been called. I do not see any files attached. classical missing attachment mistake of mine... here it comes. -- Erk Membre de l'April - « promouvoir

Re: [CMake] CPACK RPM directories in %files section

2011-11-29 Thread Eric Noulard
2011/11/29 Steven Green ste...@greenius.ltd.uk: Hello, This is my first post to this mailing list.  I have a problem relating to creating an RPM. Previously I was using CMake version 2.8.4, and when adding a file such as /etc/init.d/myfile it would only add that one file to the RPM. I

[CMake] Get errors when executing shell scripts in post_build process as custom targets

2011-11-29 Thread NoRulez
Hi, I want to do something after the bundle is created (POST_BUILD). For this I tried the following: ADD_EXECUTABLE(...) TARGET_LINK_LIBRARIES(...) ADD_DEPENDECIES(...) IF (APPLE) SET(BUNDLE_IDENTIFIER ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${PROJECT_NAME}.app)

Re: [CMake] Get errors when executing shell scripts in post_build process as custom targets

2011-11-29 Thread David Cole
The double quoting is wrong. Do this (no quotes necessary): COMMAND /usr/bin/macdeployqt ${BUNDLE_IDENTIFIER} Not this: COMMAND /usr/bin/macdeployqt ${BUNDLE_IDENTIFIER} HTH, David On Tue, Nov 29, 2011 at 5:37 PM, NoRulez noru...@me.com wrote: Hi, I want to do something after the

Re: [CMake] 2D arrays

2011-11-29 Thread Robert Dailey
I have created a pretty clean solution to this until there is native support for multi-dimensional arrays in CMake. I have attached the module, hopefully it will prove useful to others. Here is an example of how to use it: set( two_dee_array apple cat orange dog banana elephant )

Re: [CMake] 2D arrays

2011-11-29 Thread Michael Hertling
On 11/30/2011 12:28 AM, Robert Dailey wrote: I have created a pretty clean solution to this until there is native support for multi-dimensional arrays in CMake. I have attached the module, hopefully it will prove useful to others. Here is an example of how to use it: set( two_dee_array

Re: [CMake] Get errors when executing shell scripts in post_build process as custom targets

2011-11-29 Thread NoRulez
Much thanks, could this command be done with the BundleUtilities too? ADD_CUSTOM_COMMAND(TARGET Custom1 POST_BUILD COMMAND /usr/bin/macdeployqt ${PROJECT_NAME}.app WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}

Re: [CMake] 2D arrays

2011-11-29 Thread Robert Dailey
On Tue, Nov 29, 2011 at 5:57 PM, Michael Hertling mhertl...@online.dewrote: Just some spontaneous questions/remarks: Thanks; I really appreciate it! - Why do you use macros instead of functions? I use macros so the _array2d_ variables fall through the scope of the macro and are available

Re: [CMake] 2D arrays

2011-11-29 Thread Clinton Stimpson
How about the following two examples for a table or 2d array. In the first one, each column can have a name too. Its like an array of pointers in C++. set(fruits apple orange banana) set(animals cat dog elephant) set(columns fruits animals) foreach(column ${columns}) foreach(item

Re: [CMake] FindDCMTK Not setting up DCMTK_INCLUDE_DIRECTORIES Correctly?

2011-11-29 Thread Michael Hertling
On 11/29/2011 08:49 PM, Thomas Sondergaard wrote: On 2011-11-29 18:19, kent williams wrote: I actually install DCMTK in a subdirectory of my top-level build, and then my program that uses DCMTK is configured with DCMTK_DIR. What is DCMTK_DIR pointing at? The installation dir or the source

[Cmake-commits] CMake branch, next, updated. v2.8.6-2058-g405ef9c

2011-11-29 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 405ef9cef2cada640792c478383fe274beda981c (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.6-2060-gaf0d273

2011-11-29 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 af0d273e6dbf05ba6c3816e555338d607325b168 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.6-2062-ga4a08ba

2011-11-29 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 a4a08bac345af1e755e12a0abe9b88116f6e21fe (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.6-2070-g4595712

2011-11-29 Thread Clinton Stimpson
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 45957128b9f0947f69e82ca35e58776a77de301d (commit) via