[CMake] CTEST_CONFIGURE_COMMAND and conan.io

2017-06-16 Thread Stephen Henry
Folks, A relatively simple problem, but so far I've had little success. So, in my ctest.cmake script, I have the following: set(CTEST_CONFIGURE_COMMAND "conan install ${CTEST_SOURCE_DIRECTORY}") set(CTEST_CONFIGURE_COMMAND "${CTEST_CONFIGURE_COMMAND}; ${CMAKE_COMMAND} ${CTEST_SOURCE_DIRECTORY}")

Re: [CMake] setting rpath-link

2017-06-16 Thread Chuck Atkins
Hi Petros, This doesn't really answer your question but it may solve your problem a different way. I've fought this very same boost problem many times in the past. In my case it was needing to link against Matlab dev libraries, which in turn pulled their own private copy of boost in. I tried a s

[CMake] Missing _EXPORTS definition in CUDA host compilation

2017-06-16 Thread Hancox, James
Hi, I'm trying out the new CUDA support for Visual Studio generators in Cmake 3.9.0-rc3 (generator Visual Studio 12 2013 Win64), and I think I've found a bug. Our code defines some DLL-export functions in host code in a .cu file, but it seems that the usual _EXPORTS pre-processor definition is

[CMake] setting rpath-link

2017-06-16 Thread Mamales, Petros via CMake
Hi, I am in a situation where I have to use 2 versions of the boost library (c++), one "explicitly" and one indirectly (through a package that comes as a shared lib). The external package is to be considered as a black box. Playing around on the web (as I am rather new to it), I came across the v

Re: [CMake] Adding external static library into a target static library

2017-06-16 Thread Robert Maynard
The example you provided shows how you can combine raw object files into a single library. As far as I am aware CMake doesn't offer a nice cross platform API for extracting the object files from a static library and adding them to a new static library. On Thu, Jun 15, 2017 at 10:19 PM, Pawel Ve