[cmake-developers] InstallRequiredLibraries and NSIS fixes/features

2011-01-06 Thread Mike McQuaid
I've written patches to fix the following InstallRequiredLibraries issues: http://www.vtk.org/Bug/view.php?id=11127 http://www.vtk.org/Bug/view.php?id=11140 http://www.vtk.org/Bug/view.php?id=11141 and the following NSIS CPack issues: http://www.vtk.org/Bug/view.php?id=11143

[cmake-developers] [CMake 0011662]: tab characters in paths causes errors in initial configure step

2011-01-06 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11662 == Reported By:kentwilliams Assigned To:

Re: [cmake-developers] CPack Packaging and BundleUtilities/GetPrerequisites

2011-01-06 Thread David Cole
Did you ever investigate using CPACK_PROJECT_CONFIG_FILE to avoid doing the silly regex MATCHES test, and just define your own variable that (for now) tells you for sure that you're in a CPack run...? I think we discussed that one about a month ago, IIRC. Thanks, David On Thu, Jan 6, 2011 at

Re: [cmake-developers] CPack Packaging and BundleUtilities/GetPrerequisites

2011-01-06 Thread Mike McQuaid
On 6 January 2011 17:12, David Cole david.c...@kitware.com wrote: Did you ever investigate using CPACK_PROJECT_CONFIG_FILE to avoid doing the silly regex MATCHES test, and just define your own variable that (for now) tells you for sure that you're in a CPack run...? I think we discussed that

[cmake-developers] [CMake 0011664]: CPACK_*_SCRIPT not correctly located in a CPACK generated DMG

2011-01-06 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11664 == Reported By:Matthieu Patou Assigned To:

[cmake-developers] [CMake 0011667]: Xcode Generator: Support for Build Setting conditions.

2011-01-06 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11667 == Reported By:davidrogers Assigned To:

Re: [CMake] building gcc with cmake

2011-01-06 Thread luxInteg
On Thursday 06 January 2011 02:11:46 Alan W. Irwin wrote: On 2011-01-06 03:02- luxInteg wrote: just curious, but I wondering if anyone on list has ever built gcc with cmake. (or at least had a go) I did it by hand years ago (1996 when I started with Linux and needed to add g77

Re: [CMake] how to ignore errors/keep going using cmake

2011-01-06 Thread David Cole
This depends on the projects use of message in the CMakeLists.txt files. If a project call to message uses FATAL_ERROR it stops immediately and returns an error. If they use SEND_ERROR it continues processing and returns an error when it is done configuring. In either case, it will not generate

Re: [CMake] CPack, fixup_bundle, macdeployqt, and QTBUG-5952

2011-01-06 Thread David Cole
The fix for http://public.kitware.com/Bug/view.php?id=10020 (which is in CMake 2.8.3) should make sure that Resources get copied with frameworks that get pulled in during a fixup_bundle call. Are you using CMake 2.8.3? On Wed, Jan 5, 2011 at 10:20 PM, Michael Jackson mike.jack...@bluequartz.net

[CMake] Any issues using CMAKE with virus control?

2011-01-06 Thread Caron, Michael C. (US SSA)
My company has been tightening up the security of our systems and we have had some new security settings and new security software added to our machines. I've been using CMAKE to build both Linux and Windows deliverables for close to a year now with no significant problems. I tried to launch

Re: [CMake] Any issues using CMAKE with virus control?

2011-01-06 Thread David Partyka
I've had problems using CMake's external project feature and Antivirus (on Windows 7). When external project would download a tarball and extract it, often it would fail because the realtime protection would still be holding on to some of the files. The compromise was to excluding realtime

Re: [CMake] Installing a helper application

2011-01-06 Thread Ryan Pavlik
You'll need something closer to this: add_executable(myapp MACOSX_BUNDLE [...]) find_file(helperpath [...]) if(NOT helperpath) message(FATAL_ERROR Need helper app!) endif() install(TARGETS myapp BUNDLE DESTINATION . RUNTIME DESTINATION bin ) if(APPLE) install(PROGRAMS ${helperpath}

Re: [CMake] building gcc with cmake

2011-01-06 Thread Bill Hoffman
On 1/6/2011 7:16 AM, luxInteg wrote: On Thursday 06 January 2011 02:11:46 Alan W. Irwin wrote: On 2011-01-06 03:02- luxInteg wrote: just curious, but I wondering if anyone on list has ever built gcc with cmake. (or at least had a go) gccxml has CMake files that build most of gcc.

Re: [CMake] Detecting fmpich

2011-01-06 Thread David Partyka
FindMPI is getting a major facelift for CMake 2.8.4 in which finding fortran related libraries/compilers is a new feature. Stay tuned! On Thu, Jan 6, 2011 at 9:23 AM, ycollette.nos...@free.fr wrote: Hello, Is it possible to detect fmpich using find_package(MPI) ? I haven't found any solution

Re: [CMake] CPack, fixup_bundle, macdeployqt, and QTBUG-5952

2011-01-06 Thread KC Jones
I'm running 2.8.2 - so I will upgrade now. Thanks. KC Jones kc.jo...@skype.net SkypeId: bernalkc On Jan 6, 2011, at 4:14 AM, David Cole wrote: The fix for http://public.kitware.com/Bug/view.php?id=10020 (which is in CMake 2.8.3) should make sure that Resources get copied with frameworks

Re: [CMake] Installing a helper application

2011-01-06 Thread KC Jones
Excellent approach. Thank you. KC Jones kc.jo...@skype.net SkypeId: bernalkc On Jan 6, 2011, at 5:55 AM, Ryan Pavlik wrote: You'll need something closer to this: add_executable(myapp MACOSX_BUNDLE [...]) find_file(helperpath [...]) if(NOT helperpath) message(FATAL_ERROR Need

[CMake] Possible bug in XCode backend and proposed workarounds

2011-01-06 Thread Samuel Crow
Hello, I've built LLVM 2.9SVN successfully with CMake under XCode but had some workarounds needed to get to that point. 1. Building in debug mode there was one archive file dependency that looked for the release folder instead of the debug folder. 2. The install target failed to put a sudo

Re: [CMake] Possible bug in XCode backend and proposed workarounds

2011-01-06 Thread Michael Wild
On 01/06/2011 05:02 PM, Samuel Crow wrote: Hello, I've built LLVM 2.9SVN successfully with CMake under XCode but had some workarounds needed to get to that point. 1. Building in debug mode there was one archive file dependency that looked for the release folder instead of the debug

Re: [CMake] Installing Python Modules with CMake

2011-01-06 Thread Michael Hertling
On 01/04/2011 08:50 AM, Michael Wild wrote: On 01/03/2011 06:23 PM, Todd Gamblin wrote: On Jan 3, 2011, at 1:34 AM, Michael Wild wrote: On 01/03/2011 09:11 AM, Todd Gamblin wrote: Is there some standard way in CMake to get a project-local install destination for python libraries, e.g.:

Re: [CMake] Possible bug in XCode backend and proposed workarounds

2011-01-06 Thread Samuel Crow
- Original Message From: Michael Wild them...@gmail.com To: cmake@cmake.org Sent: Thu, January 6, 2011 10:16:28 AM Subject: Re: [CMake] Possible bug in XCode backend and proposed workarounds On 01/06/2011 05:02 PM, Samuel Crow wrote: Hello, I've built LLVM 2.9SVN

[CMake] ANN: Early registration deadline ending tomorrow

2011-01-06 Thread Lisa Avila
Reminder: the early registration deadline for the February training course (covering ITK, VTK, ParaView, and CMake) in Lyon, France is tomorrow, January 7th. Please visit our web site for more information and registration details at either: http://www.kitware.com/products/protraining3.html (in

[CMake] suspicious behaviour of FindPkgConfig

2011-01-06 Thread Nizar Khalifa Sallem
Hi all, I am getting in trouble with the FindPkgConfig module. Here is a piece of rather bigger CMakeLists.txt file that doesn't success to find Doxygen although installed on the machine(ubuntu 10.4, cmake 2.8.3) # $Id$ # #

Re: [CMake] Possible bug in XCode backend and proposed workarounds

2011-01-06 Thread Michael Wild
On 01/06/2011 05:47 PM, Samuel Crow wrote: - Original Message From: Michael Wild them...@gmail.com To: cmake@cmake.org Sent: Thu, January 6, 2011 10:16:28 AM Subject: Re: [CMake] Possible bug in XCode backend and proposed workarounds On 01/06/2011 05:02 PM, Samuel Crow

Re: [CMake] Problems with CPack and Mac OS X

2011-01-06 Thread Michael Wild
On 01/06/2011 09:31 PM, NoRulez wrote: Hi, I want to use the package generator PackageMaker. If I run cpack from the command line I get the Error that my app couldn't be found (without .app) I have a bundle created with add_executable(MyApp MACOSX_BUNDLE...) In the cpack

Re: [CMake] Problems with CPack and Mac OS X

2011-01-06 Thread NoRulez
Thank you very much, but how can I add the QtCore.framework for example? INSTALL(TARGETS /Library/Frameworks/QtCore.framework FRAMEWORK DESTINATION MyApp.app/Contents/Frameworks COMPONENT MyApp) Doesn't work, maybe I misunderstood some CMake commands? Best Regards NoRulez Am 06.01.2011 um

Re: [CMake] Problems with CPack and Mac OS X

2011-01-06 Thread Michael Jackson
You will want to read this page: http://www.cmake.org/Wiki/BundleUtilitiesExample It should answer your questions. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net

Re: [CMake] suspicious behaviour of FindPkgConfig

2011-01-06 Thread Ryan Pavlik
FindPkgConfig and find_package are not really related: some scripts for find_package do use pkg-config to help them, but you shouldn't need to check for it yourself. Also, find scripts shouldn't be used with include. It looks a bit like build system overkill: this should do roughly the same

Re: [CMake] suspicious behaviour of FindPkgConfig

2011-01-06 Thread Michael Wild
1. Flann uses CMake, so it should install a FlannConfig.cmake (possibly in addition to the currently installed flann.pc). This would obsolete all issues below. 2. Since Flann only comes with a pkg-config module and there's no FindFlann.cmake module in CMake, the OP could either write his own

[Cmake-commits] CMake branch, next, updated. v2.8.3-1216-g005e632

2011-01-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 005e632700c7f8e89f610fdbf71fb96ccb6dd47c (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1220-gb1b6d8f

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

[Cmake-commits] CMake branch, next, updated. v2.8.3-1224-g91642b9

2011-01-06 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 91642b90ad8c83572747e979831c0afe29741e17 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1228-g6bdb5e4

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

[Cmake-commits] CMake branch, next, updated. v2.8.3-1230-g64e940f

2011-01-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 64e940f7fa3625db7efce4c1935e5a2c42cadba6 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1232-g45b76aa

2011-01-06 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 45b76aa112d7afdd61a71cc62b37f94a94872081 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-417-gfd4875b

2011-01-06 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 fd4875b4c030e1ac4f2cb08164e581cecde5af1e (commit) from