Re: [cmake-developers] Reminder about the upcoming CMake 2.8.4 release.

2011-01-05 Thread Eric Noulard
2011/1/4 David Cole david.c...@kitware.com: We are aiming for doing RC1 on next Wed., Jan. 12, 2011. That means all changes to be included must be merged to next by the dashboard's nightly start time on Monday evening, Jan. 10, 2011 (by 01:00:00 UTC time)... So... if you have changes that

[cmake-developers] [CMake 0011660]: Semicolons escaped badly

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

[CMake] How to get rid off predefine XXX_EXPORTS @add_library(XXX SHARED ...)

2011-01-05 Thread Sören Freudiger
Hi I have a problem. After running CMake (VS 2003/2008 project) there's always a EXPORT preprocessor define in my project setting that I don't need. add_library(XXX SHARED ...) -- predefine XXX_EXPORTS I manually set this predefine in a correct way (means in upper case!). CMake generate

Re: [CMake] How to get rid off predefine XXX_EXPORTS @add_library(XXX SHARED ...)

2011-01-05 Thread Michael Wild
On 01/05/2011 10:05 AM, Sören Freudiger wrote: Hi I have a problem. After running CMake (VS 2003/2008 project) there's always a EXPORT preprocessor define in my project setting that I don't need. add_library(XXX SHARED ...) -- predefine XXX_EXPORTS I manually set this predefine in a

Re: [CMake] How to get rid off predefine XXX_EXPORTS @add_library(XXX SHARED ...)

2011-01-05 Thread Sören Freudiger
Thanks a lot! Exactly what I was looking for ;-) I really missed that chapter Original-Nachricht Datum: Wed, 05 Jan 2011 10:12:07 +0100 Von: Michael Wild them...@gmail.com An: cmake@cmake.org Betreff: Re: [CMake] How to get rid off predefine XXX_EXPORTS @add_library(XXX

Re: [CMake] how to submit customized test report

2011-01-05 Thread girish hilage
Hi,    Thanks for the reply.    I had seen 'TAG' file but somehow thought that it is under every new directory created using timestamp (e.g. 20110104-2359/). So, I had started using below code. However, your solution looks more elegant, so will use it. file(REMOVE_RECURSE

[CMake] dll build error, possible bug

2011-01-05 Thread andtsk
Dear all, I working on windows and use Cmake 2.8 + MinGw I am try to build .dll from pthreads-win32 sources (http://sourceware.org/pthreads-win32/) by writing CMakeLists.txt (attached) and putting them to src directory he creates makefile i run it, and after invoking of command: gcc

[CMake] Delivery target

2011-01-05 Thread Reinhard Thies
Hi, i like to create a custom target delivery which depends on package and simply copies the package file using scp to our server. Any ideas are apreciated. Thx, Reinhard ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] Delivery target

2011-01-05 Thread Nizar Khalifa Sallem
At Wed, 5 Jan 2011 11:44:59 +0100, Reinhard Thies wrote: Hi, i like to create a custom target delivery which depends on package and simply copies the package file using scp to our server. Any ideas are apreciated. Thx, Reinhard ___

Re: [CMake] Delivery target

2011-01-05 Thread David Cole
You can't depend on package, but you can do this as your custom target's command: cmake --build . --target package --config Release scp ... HTH, David On Wed, Jan 5, 2011 at 5:44 AM, Reinhard Thies reinhard.th...@web.de wrote: Hi, i like to create a custom target delivery which depends

Re: [CMake] Delivery target

2011-01-05 Thread Reinhard Thies
On Wednesday 05 January 2011 12:32:52 David Cole wrote: You can't depend on package, but you can do this as your custom target's command: cmake --build . --target package --config Release scp ... that the way I have it ADD_CUSTOM_TARGET(delivery

Re: [CMake] Delivery target

2011-01-05 Thread Michael Wild
On 01/05/2011 02:13 PM, Reinhard Thies wrote: On Wednesday 05 January 2011 12:32:52 David Cole wrote: You can't depend on package, but you can do this as your custom target's command: cmake --build . --target package --config Release scp ... that the way I have it

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
Reopened the bug because this is _still_ an issue with CMake 2.8.3. Just tried to configure, build and install and got the same crash. ___ Mike Jackson www.bluequartz.net Principal Software Engineer

Re: [CMake] Delivery target

2011-01-05 Thread Eric Noulard
2011/1/5 Michael Wild them...@gmail.com: On 01/05/2011 02:13 PM, Reinhard Thies wrote: On Wednesday 05 January 2011 12:32:52 David Cole wrote: You can't depend on package, but you can do this as your custom target's command:   cmake --build . --target package --config Release   scp ...

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Bill Hoffman
On 1/5/2011 10:05 AM, Michael Jackson wrote: Reopened the bug because this is _still_ an issue with CMake 2.8.3. Just tried to configure, build and install and got the same crash. Can you try it with the current master branch? ___ Mike

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
Try the download from the CMake website, source download that is. Then configure and build and then install it. ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
Sure. And _that_ does work. Just curious how that bug fell through versions 2.8.0, 2.8.1, 2.8.2, 2.8.3? I guess there isn't a test for actually verifying that the built Qt app actually launches during the test or the CMake GUI is always guilt with carbon during the testing which would alleviate

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread David Cole
This should have been fixed with the switch to using BundleUtilities for CMake's bundle. The 2.8.3 BundleUtilities should copy in the Resources necessary for this to work. So I think that was done (switch to using built in BU) just *after* 2.8.3. Unless there's still a missing qt.conf file

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
Note that I am using the ./configure to configure CMake itself. Not CMake to configure CMake. So maybe there is something missing from those installs. The interesting part (with all the discussions with putting in bug reports) is that I even provided a patch for 2.8.0. Something got put into

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread David Cole
cmake-gui needs some further work to be automatically testable. If we launched it as-is on a test run, then it would just hang there forever, waiting for user input as gui apps will do, and the test would timeout. We'd need to add something like: - --configure --generate and --exit command line

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
Testing: You can launch the gui from the command line by passing the absolute path to the executable inside the app bundle: 509:[mjack...@ferb:CMake]$ /private/tmp/CMake-2.8.3/CMake\ 2.8-3.app/Contents/MacOS/CMake\ 2.8-3 Qt internal error: qt_menu.nib could not be loaded. The .nib file should

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread David Cole
Exactly. It needs further work. I'm not about to be the brave volunteer who adds a test that adds the window server must be running requirement. And whoever does should probably add a setting CMAKE_ENABLE_GUI_TESTS that is OFF by default. Then, only on dashboard machines that explicitly say they

[CMake] Packaging on Windows with VS2008 and ZIP - Runtime Libraries Inclusion

2011-01-05 Thread Michael Jackson
I am working on my CPack code for my project. What I have noticed is that the MSVC runtime libs for both Debug and Release are included when I do an INSTALL and are NOT included when I try to run the PACKAGE project. Again, this is probably something simple to solve but I just am not sure what

Re: [CMake] Packaging on Windows with VS2008 and ZIP - Runtime Libraries Inclusion

2011-01-05 Thread David Cole
Just as an FYI: The Debug libraries for MSVC are not redistributable components. Do not build them into an installer. People who need to use them are required to have a corresponding Visual Studio installation on their machine. We provide access to those for INSTALL simply for testing the make

Re: [CMake] Packaging on Windows with VS2008 and ZIP - Runtime Libraries Inclusion

2011-01-05 Thread Michael Jackson
OK.So how do I NOT package them? So far they _are_ getting put into the installer even if I set Visual Studio to Release. I have this at the top of my CMake code that sets up CPack: if (MSVC) SET (CMAKE_INSTALL_DEBUG_LIBRARIES OFF) INCLUDE (InstallRequiredSystemLibraries) endif()

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Bill Hoffman
On 1/5/2011 1:01 PM, David Cole wrote: Exactly. It needs further work. I'm not about to be the brave volunteer who adds a test that adds the window server must be running requirement. And whoever does should probably add a setting CMAKE_ENABLE_GUI_TESTS that is OFF by default. Then, only on

Re: [CMake] Packaging on Windows with VS2008 and ZIP - Runtime Libraries Inclusion

2011-01-05 Thread David Partyka
This might be my fault If you're building a paraview app. I had SET (CMAKE_INSTALL_DEBUG_LIBRARIES ON) from a month ago that I didn't remove. I'll do that right now. On Wed, Jan 5, 2011 at 1:54 PM, Michael Jackson mike.jack...@bluequartz.net wrote: OK.So how do I NOT package them? So far they

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Andreas Pakulat
On 05.01.11 12:34:09, David Cole wrote: cmake-gui needs some further work to be automatically testable. If we launched it as-is on a test run, then it would just hang there forever, waiting for user input as gui apps will do, and the test would timeout. There are also tools out there to

Re: [CMake] CMake 2.8.3 built on OS X crashes on Startup.

2011-01-05 Thread Michael Jackson
___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Jan 5, 2011, at 2:01 PM, Bill Hoffman wrote: On 1/5/2011 1:01 PM,

Re: [CMake] Packaging on Windows with VS2008 and ZIP - Runtime Libraries Inclusion

2011-01-05 Thread Michael Jackson
That is where I pulled the code from so I must have grabbed that version. But I think I am misunderstanding what should be used when with respect to BundleUtilities and INSTALL when on MSVC. From the looks of it, if I am installing on my local machine then by definition I have all the needed

[CMake] InstallRequiredSystemLibraries Comment

2011-01-05 Thread Michael Jackson
From the CMake 2.8.3 release I am using inside the InstallRequiredSystemLibraries.cmake file all the way at the bottom is this: IF(WIN32) INSTALL_PROGRAMS(/bin ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS}) ELSE(WIN32) INSTALL_PROGRAMS(/lib ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS})

Re: [CMake] Packaging on Windows with VS2008 and ZIP - Runtime Libraries Inclusion

2011-01-05 Thread David Partyka
FYI, I just merged removal of setting CMAKE_INSTALL_DEBUG_LIBRARIES from ParaView. On Wed, Jan 5, 2011 at 2:24 PM, Michael Jackson mike.jack...@bluequartz.net wrote: That is where I pulled the code from so I must have grabbed that version. But I think I am misunderstanding what should be used

Re: [CMake] InstallRequiredSystemLibraries Comment

2011-01-05 Thread David Partyka
You override this behavior by setting CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP to ON and then providing your own install rules. See the following chunk from ParaView. # Add install rules for required system runtimes such as MSVCRxx.dll SET (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP ON)

Re: [CMake] Packaging on Windows with VS2008 and ZIP - Runtime Libraries Inclusion

2011-01-05 Thread Michael Jackson
On Jan 5, 2011, at 2:36 PM, David Partyka wrote: FYI, I just merged removal of setting CMAKE_INSTALL_DEBUG_LIBRARIES from ParaView. On Wed, Jan 5, 2011 at 2:24 PM, Michael Jackson mike.jack...@bluequartz.net wrote: That is where I pulled the code from so I must have grabbed that

Re: [CMake] InstallRequiredSystemLibraries Comment

2011-01-05 Thread Michael Jackson
Well DUH on me for that one. Thanks! ___ Mike Jackson www.bluequartz.net On Jan 5, 2011, at 2:39 PM, David Partyka wrote: You override this behavior by setting CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP to ON and then

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

2011-01-05 Thread Ekaterina Sanina
Hi, I was wondering if it's possible to ignore errors and continue the build with cmake (for example if one wants to find out how many failures the project has). Is there option similar to -i ( --ignore-errors) or -k (--keep-going) option of GNU make? I scanned the documentation and can't find

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

2011-01-05 Thread Alan W. Irwin
On 2011-01-05 16:43-0800 Ekaterina Sanina wrote: Hi, I was wondering if it's possible to ignore errors and continue the build with cmake (for example if one wants to find out how many failures the project has). Is there option similar to -i ( --ignore-errors) or -k (--keep-going) option of

[CMake] building gcc with cmake

2011-01-05 Thread luxInteg
just curious, but I wondering if anyone on list has ever built gcc with cmake. (or at least had a go) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] building gcc with cmake

2011-01-05 Thread Alan W. Irwin
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 to the slackware version of gcc that I had at the time.) It was

[CMake] Installing a helper application

2011-01-05 Thread KC Jones
I'm building an app on Mac, Linux, and Win. My application requires that a helper application, built outside of my project, be installed along with it. On Linux and Win, its sufficient to copy the helper app to the same directory as my app. On Mac, it needs to be copied into the bundle in

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

2011-01-05 Thread KC Jones
Me again, with another issue: On Mac, I'm running into the problem described in QTBUG-5952: http://bugreports.qt.nokia.com/browse/QTBUG-5952 where my CPack generated DD installer yields an installed app fails with a log message like Qt internal error: qt_menu.nib could not be loaded. This

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

2011-01-05 Thread Michael Jackson
The qt_menu.nib package can be located in either the QtGui.framework that gets copied into your application bundle or in MyApp.app/Contents/Resources/qt_menu.nib. Either of those locations should allow your application to work. Do you need to also add a qt.conf file into the Contents/Resources

Re: [CMake] Installing a helper application

2011-01-05 Thread Michael Jackson
Can you use Find_File() to get the path to the file. Then use the install(FILES ... ) command to place the file in your app bundle. Not tried any of that but it might work. ___ Mike Jackson www.bluequartz.net Principal

[Cmake-commits] CMake branch, next, updated. v2.8.3-1201-gd4a4a9d

2011-01-05 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 d4a4a9d74548a2b4e7b205485b6a05e822175bf8 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1203-gf9cee68

2011-01-05 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 f9cee6813610839f891d1b4d1b4e651a0d27edea (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1205-gbd7384e

2011-01-05 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 bd7384eef62693134fcd3cf210fb405c39b9b530 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1207-gb69caf5

2011-01-05 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 b69caf5b747d8c89d5bf65290a56c6dff9ffb7e3 (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-415-g99ddf6a

2011-01-05 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 99ddf6a12d54854ae4f27eecd592fef5cb22640f (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.3-1210-g9a68a5c

2011-01-05 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 9a68a5c80bfca0f3bb7a0b8cce521400f7ab95ef (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.3-416-g8e6ad8c

2011-01-05 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 8e6ad8ce72d9f00a98b6dc4fbe66037c1f1372de (commit) from