[cmake-developers] [PATCH] UsePkgConfig: improve documentation

2011-09-22 Thread Rolf Eike Beer
From 3f500a5c655cc4c12ecf6f774602b2a10cae0365 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer e...@sf-mail.de Date: Thu, 22 Sep 2011 13:48:15 +0200 Tell the people in the documentation which module to use instead. --- Modules/UsePkgConfig.cmake |7 +-- 1 files changed, 5 insertions(+), 2

Re: [cmake-developers] [PATCH] UsePkgConfig: improve documentation

2011-09-22 Thread Rolf Eike Beer
On Thursday, September 22, 2011 01:52:51 PM Rolf Eike Beer wrote: From 3f500a5c655cc4c12ecf6f774602b2a10cae0365 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer e...@sf-mail.de Date: Thu, 22 Sep 2011 13:48:15 +0200 Tell the people in the documentation which module to use instead. Thanks,

Re: [cmake-developers] [PATCH] UsePkgConfig: improve documentation

2011-09-22 Thread Alexander Neundorf
On Thursday, September 22, 2011 03:00:33 PM Rolf Eike Beer wrote: On Thursday, September 22, 2011 01:52:51 PM Rolf Eike Beer wrote: From 3f500a5c655cc4c12ecf6f774602b2a10cae0365 Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer e...@sf-mail.de Date: Thu, 22 Sep 2011 13:48:15 +0200 Tell

Re: [cmake-developers] rc compiler on windows mingw

2011-09-22 Thread Bill Hoffman
On 9/22/2011 9:38 AM, Brad King wrote: Does the rc compiler not always ship with mingw? I think we added support for it about 6 months ago. Thoughts on this? Note the location of MinGW in that report: C:/Qt/qtcreator-2.3.0/mingw/bin/gcc.exe I bet that is some kind of custom environment

Re: [cmake-developers] rc compiler on windows mingw

2011-09-22 Thread Pau Garcia i Quiles
Hi, That log looks odd to me. The guy is talking about NetBeans, yet the log shows he is using MinGW from QtCreator 2.3.0? QtCreator's MinGW distribution ships windres.exe Nuwen ships windres.exe TDM ships windres.exe mingw-w64 ships windres.exe I'd say the problem is he has several make.exe

Re: [cmake-developers] rc compiler on windows mingw

2011-09-22 Thread Bill Hoffman
On 9/22/2011 9:52 AM, Pau Garcia i Quiles wrote: Hi, That log looks odd to me. The guy is talking about NetBeans, yet the log shows he is using MinGW from QtCreator 2.3.0? QtCreator's MinGW distribution ships windres.exe Nuwen ships windres.exe TDM ships windres.exe mingw-w64 ships

Re: [cmake-developers] rc compiler on windows mingw

2011-09-22 Thread Pau Garcia i Quiles
On Thu, Sep 22, 2011 at 4:42 PM, Bill Hoffman bill.hoff...@kitware.comwrote: This guy thinks he solved the issue by adding cl.exe to the path. If my conjecture is correct, it was not cl.exe what was missing actually, but rc.exe, which happens to live in the same directory as cl.exe. By

[cmake-developers] [CMake 0012474]: SWIG module should default to use -fno-strict-aliasing

2011-09-22 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=12474 == Reported By:Aaron Simmons Assigned To:

[cmake-developers] [PATCH] Fix typo in set_target_properties' documentation.

2011-09-22 Thread Raphael Kubo da Costa
our - or --- Source/cmSetTargetPropertiesCommand.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Source/cmSetTargetPropertiesCommand.h b/Source/cmSetTargetPropertiesCommand.h index feead00..320378d 100644 --- a/Source/cmSetTargetPropertiesCommand.h +++

[CMake] Save stripped debugging information

2011-09-22 Thread Lukas Anzinger
Hi, I'm aware of the option CMAKE_BUILD_TYPE with which I can tell if I want to include debugging information or not. A very useful feature of the program objcopy is, to not strip debugging information from a file but to split it from it so that you can release a program without debugging

Re: [CMake] Save stripped debugging information

2011-09-22 Thread Rolf Eike Beer
Hi, I'm aware of the option CMAKE_BUILD_TYPE with which I can tell if I want to include debugging information or not. A very useful feature of the program objcopy is, to not strip debugging information from a file but to split it from it so that you can release a program without debugging

[CMake] Fwd: Save stripped debugging information

2011-09-22 Thread Lukas Anzinger
Yeah, that's exactly what I had in mind. Any chance that we will see this in a future release? Meanwhile I will try to find a clean way to run objdump out of CMake manually. On Thu, Sep 22, 2011 at 09:37, Rolf Eike Beer e...@sf-mail.de wrote: Sadly not. This is also annoying for e.g. MSVC

Re: [CMake] Save stripped debugging information

2011-09-22 Thread Pawel Sikora
On Thursday 22 of September 2011 09:37:36 Rolf Eike Beer wrote: Hi, I'm aware of the option CMAKE_BUILD_TYPE with which I can tell if I want to include debugging information or not. A very useful feature of the program objcopy is, to not strip debugging information from a file but to

Re: [CMake] Fwd: Save stripped debugging information

2011-09-22 Thread Rolf Eike Beer
Yeah, that's exactly what I had in mind. Any chance that we will see this in a future release? This is usually find someone who does it and writes tests for it. Which then boils down to find someone who has enough knowledge and spare time to do or someone that needs it and is willing to pay

Re: [CMake] Fwd: Save stripped debugging information

2011-09-22 Thread Andrea Galeazzi
Il 22/09/2011 10.13, Rolf Eike Beer ha scritto: Yeah, that's exactly what I had in mind. Any chance that we will see this in a future release? This is usually find someone who does it and writes tests for it. Which then boils down to find someone who has enough knowledge and spare time to do or

[CMake] Again on dependencies tree

2011-09-22 Thread Marco Corvo
Hi all, I thought I came up with a solution for this problem, but looks like I'm still not doing the right thing. My project is made of many tens of packages, everyone with its nice CMakeLists.txt. What I'd like to do is to have the freedom to build every single package, or bunches of

Re: [CMake] Fwd: Save stripped debugging information

2011-09-22 Thread Rolf Eike Beer
Il 22/09/2011 10.13, Rolf Eike Beer ha scritto: Yeah, that's exactly what I had in mind. Any chance that we will see this in a future release? This is usually find someone who does it and writes tests for it. Which then boils down to find someone who has enough knowledge and spare time to

[CMake] Using Bundle Utilities on an OS X Command line Tool

2011-09-22 Thread Michael Jackson
I am trying to figure out how to possibly use BundleUtilities.cmake to fix up a Unix type install versus a .app bundle. In my situation I would like the following layout (Simplified) DREAM3D/bin/MyExecutable DREAM3D/lib/libHDF5.dylib DREAM3D/lib/libSupport.dylib When I run BundleUtlities I get

Re: [CMake] ExternalProject_Add without download of local sources?

2011-09-22 Thread Thomas Wolf
On 15.09.2011 18:30, David Cole wrote: Luigi is correct: To use an existing source directory (just use the source in its place without any copy operations), simply say: DOWNLOAD_COMMAND SOURCE_DIR ${Log4Qt_SOURCE_DIR} The default behavior of copying the source tree when it is

Re: [CMake] ExternalProject_Add and Dependent Targets

2011-09-22 Thread Lori Pritchett-Sheats
David Cole wrote: On Wed, Sep 21, 2011 at 11:45 AM, Lori Pritchett-Sheats lpri...@lanl.gov wrote: Reading the documentation it is not clear how the DEPENDS option works in ExternalProject_Add. For example, I add HDF5 to my build and HDF5 depends on zlib the following doesn't work

[CMake] dmg CPack Options

2011-09-22 Thread Michael Jackson
Is there an option to pack the entire installation folder _including_ the folder itself into the dmg disk image during CPack? I have several applications, tools, documents and such and they are all currently put loose in the dmg file, I would rather have and enclosing folder. I am using unix

Re: [CMake] dmg CPack Options

2011-09-22 Thread Clinton Stimpson
On Thursday, September 22, 2011 09:07:49 am Michael Jackson wrote: Is there an option to pack the entire installation folder _including_ the folder itself into the dmg disk image during CPack? I have several applications, tools, documents and such and they are all currently put loose in

Re: [CMake] VS2005: CMAKE_CXX_FLAGS not used when project() is placed after definition

2011-09-22 Thread Michael Hertling
On 09/21/2011 09:26 AM, Jens Auer wrote: The PROJECT() command has significant side effects, e.g. for C++ projects, it loads Modules/CMakeCXXInformation.cmake containing: SET (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS_INIT} CACHE STRING Flags used by the compiler during all build types.) If

Re: [CMake] dmg CPack Options

2011-09-22 Thread Michael Jackson
I just found that and have been playing with it but if I set it to 1 then I get the following error: CPack: Create package using DragNDrop CPack: Install projects CPack: - Run preinstall target for: DREAM3D CPack: - Install project: DREAM3D CPack: - Install component: Applications CPack: -

[CMake] return value of find_library

2011-09-22 Thread Yifei Li
Hi all, Say I have find_library(MYLIB mylib PATHS …) , I don't understand why MYLIB sometimes is a full path to mylib and sometimes only contains 'mylib'. Thanks Yifei -- Powered by www.kitware.com Visit other Kitware open-source projects at

[CMake] Post Packaging Script?

2011-09-22 Thread Michael Jackson
Is there some way to run a shell script/command/cmake script AFTER all the packaging is completed? When I run make package from the command line everything goes just fine. The issue is that the folder _CPack_Packages is left over which contains a Symlink to /Applications for OS X systems.

Re: [CMake] dmg CPack Options

2011-09-22 Thread Johan Björk
You might want to try the latest cmake 2.8.6RC, it should have fixed the symlink issues with .tar.gz packaging. -Johan On Thu, Sep 22, 2011 at 5:35 PM, Michael Jackson mike.jack...@bluequartz.net wrote: I just found that and have been playing with it but if I set it to 1 then I get the

Re: [CMake] linker default library path /usr/local/lib on OSX

2011-09-22 Thread amine bezzarga
Any ideas about how to override the install_name of /usr/local/lib on that library ? On Wed, Sep 21, 2011 at 1:52 AM, amine bezzarga abezz...@gmail.com wrote: Yes I think I get it, I tried that but it doesn't work either: install_name_tool -change /usr/local/lib/libirrklang.dylib

Re: [CMake] linker default library path /usr/local/lib on OSX

2011-09-22 Thread Michael Jackson
Use install_name_tool to do that assuming that who ever built the library used the correct linker flags to allow you to do that. If not then you are out of luck. ___ Mike Jackson www.bluequartz.net Principal Software

[CMake] How to set own linker?

2011-09-22 Thread Martin Kupke
Hi, I created a toolchain file for cross compiling in my Windows XP environment. To provide cross compiling functionality I set the CMAKE_SYSTEM_NAME to Generic. The toolchain file contains the variables: CMAKE_C_COMPILER set to my own wanted compiler, which is dcc.exe CMAKE_ASM_OCU_COMPILER

Re: [CMake] dmg CPack Options

2011-09-22 Thread Michael Jackson
Thanks for the heads up. The good news is that the tgz symlink issue is indeed solved so that is a way forward for me. The bad news is that FindBoost seems broken. ___ Mike Jackson www.bluequartz.net Principal Software

Re: [CMake] CMake 2.8.6 RC3 FindBoost Regression Error

2011-09-22 Thread Michael Jackson
Semi Answering my own question if I set (Boost_NO_BOOST_CMAKE 1) my project seems to configure ok. So I guess that is new. ___ Mike Jackson www.bluequartz.net Principal Software Engineer

[CMake] Visual Studio 2008 configure and build step independency

2011-09-22 Thread Thomas Wolf
Hello all, i think i stumbled upon something that keeps me occupied for quite some time now: I have a quite large CMake based project, wich is intended to generate a Visual Studo 2008 solution. The problem is, that I use mixed internal and external projects, which depend on each other, like VTK,

Re: [CMake] ExternalProject_Add and Dependent Targets

2011-09-22 Thread David Cole
On Thu, Sep 22, 2011 at 10:13 AM, Lori Pritchett-Sheats lpri...@lanl.gov wrote: David Cole wrote: On Wed, Sep 21, 2011 at 11:45 AM, Lori Pritchett-Sheats lpri...@lanl.gov wrote: Reading the documentation it is not clear how the DEPENDS option works in ExternalProject_Add. For example,

Re: [CMake] Setting IMPORTED_LOCATION_* for existing packages

2011-09-22 Thread Michael Hertling
On 09/21/2011 09:07 AM, Hauke Heibel wrote: Hi, I started to work with imported targets and thus with setting the property IMPORTED_LOCATION and the like. I stumbled over a case (GTest) where the standard find_package call returns me a list of libs for 'debug' and 'optimized' modes and I am

Re: [CMake] Visual Studio 2008 configure and build step independency

2011-09-22 Thread Bill Hoffman
On 9/22/2011 1:07 PM, Thomas Wolf wrote: Addition: if i try to fake the contents of the CTK use file, like set_found true usefile_included 1 find_package still tries to include the CTKConfig.cmake. I always thougt if the Find-variable is set to true find_package just assumes that everything

Re: [CMake] return value of find_library

2011-09-22 Thread David Cole
It should always be a full path for a valid found library. Under what circumstances are you getting exactly mylib ... ? On Thu, Sep 22, 2011 at 11:26 AM, Yifei Li yi...@mtu.edu wrote: Hi all, Say I have find_library(MYLIB mylib  PATHS …) ,   I don't understand why MYLIB sometimes is a full

Re: [CMake] CMake 2.8.6 RC3 FindBoost Regression Error

2011-09-22 Thread David Cole
Philip and Todd have been the recent authors/committers in FindBoost.cmake. Any comments on this one, guys? Thanks, David On Thu, Sep 22, 2011 at 12:23 PM, Michael Jackson mike.jack...@bluequartz.net wrote: Semi Answering my own question if I set (Boost_NO_BOOST_CMAKE 1) my project seems

Re: [CMake] Setting IMPORTED_LOCATION_* for existing packages

2011-09-22 Thread Hauke Heibel
Hi Michael, First, thank you for the feedback. On Thu, Sep 22, 2011 at 7:19 PM, Michael Hertling mhertl...@online.de wrote: AFAICS, you've a single imported target GTest, and you are continuously setting *this* target's location - sometimes for a debug configuration, sometimes without

Re: [CMake] CMake 2.8.6 RC3 FindBoost Regression Error

2011-09-22 Thread Todd Gamblin
David, I just tried 2.8.6-rc3 on a Linux machine with a system boost version 1.33.1 and a boost-cmake version 1.47.0. It seems to find both of them fine. It looks like Michael is using boost-cmake version 1.44, so I tried that too, but it also works. I'm not sure what could be wrong here. I

Re: [CMake] CMake 2.8.6 RC3 FindBoost Regression Error

2011-09-22 Thread Michael Jackson
So was (Boost_NO_BOOST_CMAKE 1) introduced in this version of CMake or Past versions? I will tell you up front that I am only using a subset of Boost that I create with bcp from boost itself so there could very well be something slightly off with what I have that has been able to get through

[CMake] CMake 2.8.6-rc4 ready for testing!

2011-09-22 Thread David Cole
The CMake 2.8.6 release candidate stream continues! You can find the source and binaries here: http://www.cmake.org/files/v2.8/?C=M;O=D This email is also available on the Kitware blog at http://www.kitware.com/blog/home/post/170 This is the last rc before the final release, unless

Re: [CMake] CMake 2.8.6 RC3 FindBoost Regression Error

2011-09-22 Thread David Cole
Todd, Unless somebody other than Mike speaks up that there's a regression, we won't take any more changes for the final CMake 2.8.6. From right now on (I just sent the -rc4 email out...) we will only accept fixes for MAJOR regressions that people notice between now and next week. I am targeting

Re: [CMake] Setting IMPORTED_LOCATION_* for existing packages

2011-09-22 Thread Michael Hertling
On 09/22/2011 09:21 PM, Hauke Heibel wrote: Hi Michael, First, thank you for the feedback. On Thu, Sep 22, 2011 at 7:19 PM, Michael Hertling mhertl...@online.de wrote: AFAICS, you've a single imported target GTest, and you are continuously setting *this* target's location - sometimes for

Re: [CMake] Post Packaging Script?

2011-09-22 Thread Eric Noulard
2011/9/22 Michael Jackson mike.jack...@bluequartz.net: Is there some way to run a shell script/command/cmake script AFTER all the packaging is completed? None that I am aware of. May be you can craft you own package_end_cleanup custom_command which would call 1) make package 2) cmake -E

Re: [CMake] dmg CPack Options

2011-09-22 Thread Eric Noulard
2011/9/22 Michael Jackson mike.jack...@bluequartz.net: I just found that and have been playing with it but if I set it to 1 then I get the following error: CPack: Create package using DragNDrop CPack: Install projects CPack: - Run preinstall target for: DREAM3D CPack: - Install project:

[CMake] Scope of find_package inside a function block

2011-09-22 Thread Lori Pritchett-Sheats
I was wondering what the scope of the variables set in a FindXXX.cmake file is and does find_package_handle_standard_args change that scope. For example, I create a FindBar.cmake file that sets Bar_INCLUDE_DIR, Bar_LIBRARY, Bar_INCLUDE_DIRS and Bar_LIBRARIES, and calls

Re: [CMake] CMake 2.8.6 RC3 FindBoost Regression Error

2011-09-22 Thread Todd Gamblin
That was introduced in this version, and it disables the recursive call to find_package with NO_MODULE. Given the symptoms you are describing, it *sounds* like you might've renamed the lib/boost-1.44.0 directory that boost-cmake installs to something more compatible with a standard boost

Re: [CMake] CMake 2.8.6 RC3 FindBoost Regression Error

2011-09-22 Thread Todd Gamblin
David, Sounds good. I'll fix this at some point and push it to next for after 2.8.6. Philip: if you have any other suggestions let me know; I'll try to put those in too. -Todd On Sep 22, 2011, at 1:17 PM, David Cole wrote: Todd, Unless somebody other than Mike speaks up that there's a

Re: [CMake] CMake 2.8.6-rc4 ready for testing!

2011-09-22 Thread Jean-Christophe Fillion-Robin
Hi Dave, Would it be possible to include the following topic in the release: https://github.com/jcfr/CMake/tree/check-ctestconfig-in-builddir The change is documented and tests have been added: Expect CTestConfig.cmake in either the build or source

[CMake] using matlab mex compiler with cmake on windows

2011-09-22 Thread Jaka Katrašnik
Hi, I'm having trouble using cmake to compile a matlab mex file. When I try to to use cmake with the CC CXX environment variables set to mex I get the following error E:\Jaka_docs\cmake tutorial\step1cmake . -- Building for: Visual Studio 10 CMake Error at C:/Program Files (x86)/CMake

Re: [CMake] CMake 2.8.6-rc4 ready for testing!

2011-09-22 Thread David Cole
Sorry, but no, not for 2.8.6. From now on we will only consider fixes for regressions, and we hope to finalize 2.8.6 by end of next week. On the other hand, you can override all the settings in CTestConfig already, if you set the variables at the right point in a ctest -S script (typically after

Re: [CMake] using matlab mex compiler with cmake on windows

2011-09-22 Thread David Cole
You can't set CC and CXX and use them with the Visual Studio generators. Try using a makefile generator instead... HTH, David On Thursday, September 22, 2011, Jaka Katrašnik jaka.katras...@gmail.com wrote: Hi, I'm having trouble using cmake to compile a matlab mex file. When I try to to use

Re: [CMake] Scope of find_package inside a function block

2011-09-22 Thread Michael Wild
On Thu 22 Sep 2011 11:17:14 PM CEST, Lori Pritchett-Sheats wrote: I was wondering what the scope of the variables set in a FindXXX.cmake file is and does find_package_handle_standard_args change that scope. For example, I create a FindBar.cmake file that sets Bar_INCLUDE_DIR, Bar_LIBRARY,

Re: [CMake] CMake 2.8.6-rc4 ready for testing!

2011-09-22 Thread Alan W. Irwin
On 2011-09-22 16:14-0400 David Cole wrote: Please try this version of CMake on your projects and report any issues to the list or the bug tracker. Happy building! Hi Dave: I have done fairly exhaustive tests of the PLplot build and test system using CMake-2.8.6-rc4, and unlike rc3 all seems

[Cmake-commits] CMake branch, next, updated. v2.8.5-1954-g83cabdf

2011-09-22 Thread Alexander Neundorf
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 83cabdf85c8637c76a6afada5a5656fcc9072db5 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1956-gd66bbbd

2011-09-22 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 d66bbbda7f7ed904a06effdda0a29693167dfe65 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.5-502-g8c28043

2011-09-22 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 8c280435dfd746a897f6ce6696ba27571f195424 (commit) from