[CMake] How to let CTest pass a signal (e.g. ctrl-c) to test program

2014-08-29 Thread Marcel Loose
Hi all, I noticed that CTest doesn't seem to pass (Unix) signals to the test(s) it is running. This is unfortunate, because some of my tests need to do some cleanup when they receive a signal like SIGHUP, SIGINT, SIGQUIT, or SIGTERM. When I run these tests manually from the command-line and

Re: [CMake] Building project with Boost thread, TBB, OpenCV, QT, -lpthread missing

2014-08-29 Thread felix
see http://public.kitware.com/Bug/view.php?id=10692 -- View this message in context: http://cmake.3232098.n2.nabble.com/Building-project-with-Boost-thread-TBB-OpenCV-QT-lpthread-missing-tp7588292p7588302.html Sent from the CMake mailing list archive at Nabble.com. -- Powered by

[CMake] InstallRequiredSystemLibraries and OpenMP (patch)

2014-08-29 Thread Gregory Sharp via CMake
Hi, We recently ran into a problem with creating downloadable packages that use OpenMP on Windows. The problem is that programs compiled with MSVC which use OpenMP require the vcomp${ver}.dll runtime library. Normally one would expect the InstallRequiredSystemLibraries module to copy this dll

Re: [CMake] make package_source with only symlinks in a subdirectory fails

2014-08-29 Thread Andre Naujoks
On 06.08.2014 12:32, Andre Naujoks wrote: Hi. I reported this bug to the debian bug-tracker some time ago, but there seems to be no activity regarding this. So I report this here as well and hope for someone to respond. I created a patch (see below), which works for me, but might change

Re: [CMake] Building project with Boost thread, TBB, OpenCV, QT, -lpthread missing

2014-08-29 Thread Sergei Nikulov
2014-08-30 1:27 GMT+04:00 felix felix.schwit...@gmx.at: see http://public.kitware.com/Bug/view.php?id=10692 AFAIR, to handle -lpthread switch following script can be used find_package(Threads REQUIRED) target_link_libraries(target-name ${CMAKE_THREAD_LIBS_INIT}) -- Best Regards, Sergei

[CMake] CMake, Visual Studio and cross-compilation.

2014-08-29 Thread Max Savenkov
Lately, there appeared some tools that allow C++ programmers to use Visual Studio for cross-compiling code for platforms other than Windows. I would very much like to generate projects that use these tools with CMake. There are two cases I'm primarily interested in: vs-android (and NVidia's VS

[cmake-developers] Mixing generator expressions and debug|optimized|general keywords in target_link_libraries()

2014-08-29 Thread Nils Gladitz
I tried wrapping the libraries returned by FindBoost.cmake in $BUILD_INTERFACE in a target_link_libraries() call and noticed that this breaks because of the debug/optimized keywords that the find module inserts. Specifically it results in CMake trying to link e.g. optimized.lib. Should/could

[cmake-developers] Cross compile tests on open.cdash.org

2014-08-29 Thread Bach, Pascal
Hi Everybody I'm interested in cross compilation, and am already using it extensively for Linux and Embedded Linux. But now I ran into some problems cross compiling for Windows Compact Embedded 2013 using Visual Studio. After some discussion on IRC, Nils Gladitz pointed out that there are no

Re: [cmake-developers] Cross compile tests on open.cdash.org

2014-08-29 Thread Bill Hoffman
On 8/29/2014 9:47 AM, Bach, Pascal wrote: Hi Everybody I'm interested in cross compilation, and am already using it extensively for Linux and Embedded Linux. But now I ran into some problems cross compiling for Windows Compact Embedded 2013 using Visual Studio. After some discussion on IRC,

[cmake-developers] [CMake 0015116]: cmake add_custom_command issue with multiple output files

2014-08-29 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15116 == Reported By:Vijay Pradeep Assigned To:

[cmake-developers] [CMake 0015117]: InstallRequiredSystemLibraries does not install OpenMP library on MSVC

2014-08-29 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15117 == Reported By:Greg Sharp Assigned To:

[cmake-developers] [CMake 0015118]: ExternalProject_Add SOURCE_DIR field overrides DOWNLOAD_DIR field

2014-08-29 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15118 == Reported By:Umar Arshad Assigned To: