[CMake] How to clean up long strings in option()

2011-12-02 Thread Robert Dailey
I have a very long description in one of my options: option( THIRD_PARTY_DISABLE_UPDATE_CHECK "Forcibly disable update checks for third party libraries. Useful for when network connection is slow. It is safe to turn this off in cases where you know third_party_definitions.cmake hasn't changed and

Re: [CMake] Debugging the ExternalProject_Add download step

2011-12-02 Thread David Cole
Yes, there's a problem with https. By default, ctest does not link to a curl that has openssl enabled. If you need to download from an https-only site, you'll need to build your own ctest that does have openssl enabled. Alternatively, find a place (or make your own) to get the download from that

[CMake] Debugging the ExternalProject_Add download step

2011-12-02 Thread Lori Pritchett-Sheats
I'm using the ExternalProject_Add function and I've run into a problem downloading a tar file. It creates a zero length file and fails when the MD5 check fails. I have logging active, but I'm not seeing anything useful. I have other tar files from external sites that are downloaded successfully

Re: [CMake] BundleUtilities without install target as post build process?

2011-12-02 Thread norulez
The reason for that is the following. 1.) I switched from qmake to cmake because I for my own think it is more robust and powerful as qmake especially when using different languages or want to build for multiple platforms (Makefile generator) or only to use cpack to create an installer with eas

Re: [CMake] BundleUtilities without install target as post build process?

2011-12-02 Thread David Cole
The answer to "Is this possible?" is almost nearly always "yes, of course." The wiki page http://www.cmake.org/Wiki/BundleUtilitiesExample shows a basic code snippet like this: set(APPS ...) # paths to executables set(DIRS ...) # directories to search for prerequisites INSTALL(CODE " includ

Re: [CMake] Best practices/preferred methods for linking external libraries

2011-12-02 Thread Matthew LeRoy
Thanks, Alan, I'll give some of that a shot and see what we can come up with. Learning about another project that uses CMake (PLplot) that we can look at for examples and inspiration helps, too. >From what I can tell, the stuff you mentioned seems to still rely on actually >building and install

Re: [CMake] DEB and RPM Generation?

2011-12-02 Thread David Cristian
Thanks Eric 2011/12/2 Eric Noulard > 2011/12/2 David Cristian : > > Thanks for your quick response! > > > > I'll have all this things in consideration, specially wrong dependencies > and > > libs version. > > I'll plan to test packages on vbox for others distros, my project isn't > big > > or co

Re: [CMake] BundleUtilities without install target as post build process?

2011-12-02 Thread norulez
Thanks but I mean only within a CMakeLists file (add_custom_target) without an extra file. Is this possible? Best Regards Am 02.12.2011 um 17:56 schrieb Michael Jackson : > Just thinking out loud here: > > Create a shell script template. > Configure the template at cmake time > Run the script

[CMake] ExternalProject and another CMake based project.

2011-12-02 Thread Peter Visser
Hello all, I would like to use the ExternalProject_Add command in one CMake project to include another CMake based project. Basically this works great, the project is downloaded, configured, build, tested and installed. (Great command, the ExternalProject!) The libraries of the included proj

[CMake] Testing 'install' with CTest

2011-12-02 Thread Kedzierski, Artur CIV NSWC Corona, PA13
Hi, Is there any way for CTest to execute the 'install' target in addition to compilation, unit testing, etc.? I.e. 'make install' on Linux and similar on other platforms. Then submit the results to CDash. We have a continuous build that currently runs the CTest followed by 'make install' and

Re: [CMake] BundleUtilities without install target as post build process?

2011-12-02 Thread Michael Jackson
Just thinking out loud here: Create a shell script template. Configure the template at cmake time Run the script as a POST_BUILD custom target. Inside the custom script you would call cmake with the specific bundleUtilities code that you need to "fix up" the application. _

[CMake] BundleUtilities without install target as post build process?

2011-12-02 Thread norulez
Hi, i want to build an application bundle (on Mac OS X) where the dependencies are solved. Normally I use BundleUtilities in combination with cpack as described in the BundleUtilities example to do so. However, is there a way to run the BundleUtilities as a post build process? Thanks in advan

Re: [CMake] cdash hiding dashboards

2011-12-02 Thread Yngve Levinsen
I figured out that I could simply delete the projects and create them again on the cdash web page to resolve the issue. Since we are in a trial period it doesn't matter so much if we lose the history, so I did that. Cheers, Yngve On 1 December 2011 15:49, Yngve Levinsen wrote: > Dear Developers