Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-15 Thread Magnus Therning
On Fri, Nov 15, 2013 at 04:45:23PM -0500, Brad King wrote: > On 11/15/2013 04:17 PM, Magnus Therning wrote: > > I just reproduced it locally. Here's what I did: > > I tested with a local share and corresponding url template: > > file:127.0.0.1/share$/%(algo)/%(hash) > > It downloads at bui

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-15 Thread Brad King
On 11/15/2013 04:17 PM, Magnus Therning wrote: > I just reproduced it locally. Here's what I did: I tested with a local share and corresponding url template: file:127.0.0.1/share$/%(algo)/%(hash) It downloads at build time successfully for me. > 4. Move the generated "SHA file" to C:\devo

Re: [CMake] ExternalData on unmounted Windows shares?

2013-11-15 Thread Magnus Therning
On Wed, Nov 13, 2013 at 10:26:53AM -0500, Brad King wrote: > On 11/13/2013 03:59 AM, Magnus Therning wrote: >> On Tue, Nov 12, 2013 at 5:09 PM, Brad King wrote: >>> Add to ExternalData_URL_TEMPLATES the entry >>> >>> file:share.host/foo/bar/%(algo)/%(hash) >> >> That still fails on the real

Re: [CMake] simple ctest question: how to run test by number ?

2013-11-15 Thread Bill Hoffman
On 11/15/2013 3:13 PM, Alexander Neundorf wrote: Hi, is there a way to have ctest execute test number x ? ctest -Ix doesn't do it, and the examples listed here http://cmake.org/Wiki/CMake/Testing_With_CTest#Running_Individual_Tests look quite complicated (i.e. more complicated than -R Alex

[CMake] simple ctest question: how to run test by number ?

2013-11-15 Thread Alexander Neundorf
Hi, is there a way to have ctest execute test number x ? ctest -Ix doesn't do it, and the examples listed here http://cmake.org/Wiki/CMake/Testing_With_CTest#Running_Individual_Tests look quite complicated (i.e. more complicated than -R Alex -- Powered by www.kitware.com Please keep messages

[CMake] What might be over riding the CMAKE_INSTALL_PREFIX

2013-11-15 Thread Michael Jackson
I am trying to track down a bug in the HDF5 1.8.12 library and the issue on OS X is that somehow the CMAKE_INSTALL_PREFIX is getting over ridden by something else. if I look in the cmake_install.cmake file that gets generated I see this: # Install script for directory: /Users/mjackson/Workspace

Re: [CMake] ctest - how to specify tests that must not run in parallel

2013-11-15 Thread Petr Kmoch
Hi. There is a test property RUN_SERIAL ( http://cmake.org/cmake/help/v2.8.12/cmake.html#prop_test:RUN_SERIAL) which prevents the test from running parallel with other tests; I believe that's what you're looking for. Petr On Fri, Nov 15, 2013 at 3:39 PM, Miller Henry wrote: > I just switched

[CMake] ctest - how to specify tests that must not run in parallel

2013-11-15 Thread Miller Henry
I just switched to using ctest, which is overall much better, but when I run with -j it often happens that some test suite fails. After investigating I discovered that the failing test is not a unit tests (ie a test with everything mocked out), but an integration test that is intentionally test

[CMake] Inserting a dependency before Qt moc is run

2013-11-15 Thread Aurélien Gâteau
Hi, I am working on KDE Frameworks, which uses CMake. We make use of Qt5 plugin system, where a plugin can be described by a .json file, as documented here: http://doc-snapshot.qt-project.org/qt5-stable/qtplugin.html#Q_PLUGIN_METADATA We want to generate the .json files from .desktop files. We

[CMake] Building binary and devel RPM

2013-11-15 Thread Jeremy Fix
Hello, I'm trying to build two RPMs within a CMake project that defines a library. Let us call the package toto. I then want a: - toto--.rpm which contains the library and the compiled examples - toto-devel--.rpm which contains the headers, documentation, pkg-config file I'm doing so by

Re: [CMake] cross compiling - CMAKE_FIND_ROOT_PATH_MODE_LIBRARY and link.txt

2013-11-15 Thread Stephen Kelly
Jack Smith wrote: > Hello, > > I'm confused by an issue that I am having with a project I have recently > joined. You might consider trying my cross-compiling-toolchain-variables branch in the git repo. Thanks, Steve. -- Powered by www.kitware.com Please keep messages on-topic and check t

[CMake] Configuration dependent install EXPOR

2013-11-15 Thread Dominik Bernhardt
Hello, I have a problem with "INSTALL(TARGETS..." in a multi-config (Visual Studio) project. As I can not use a debug postfix I have the DLLs and Libs in config dependent subdirectories (i.e. lib/debug, lib/release...) However the install destination unfortunately does not support generato