[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

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 : > 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 Nikulov -- Powered b

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 cha

[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] 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 www.kitware.co

[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 interr