Re: [CMake] How to determine the compiler used outside of cmake

2013-05-01 Thread m . hergarden
The compiler does show up in my cache: CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++, but that doesn't solve your issue. What is the bigger problem you are solving? If you really really need it in the cache, you can always write a variable yourself to make sure i

[CMake] How to determine the compiler used outside of cmake

2013-05-01 Thread Miller, Frank
Greetings, Given a configured build tree, I would like to determine the c++ compiler used without reconfiguring. I expected the CMAKE_CXX_COMPILER variable would be in the CMakeCache.txt but I was wrong. I tried to run a simple cmake script with 'cmake -P' and print the value of CMAKE_CXX_COMPI

Re: [CMake] FindCUDA fails to find libcuda.so

2013-05-01 Thread Robert Maynard
Thank you. On Wed, May 1, 2013 at 11:09 AM, Marcel Loose wrote: > Hi Robert, > > I created an issue for this in Mantis: http://public.kitware.com/Bug/** > view.php?id=14122 > > Best regards, > Marcel Loose. > > > On 01/05/13 15:09, Robert Maynar

Re: [CMake] FindCUDA fails to find libcuda.so

2013-05-01 Thread Marcel Loose
Hi Robert, I created an issue for this in Mantis: http://public.kitware.com/Bug/view.php?id=14122 Best regards, Marcel Loose. On 01/05/13 15:09, Robert Maynard wrote: It looks like you used the ubuntu cuda package which installs the cuda library to a directory that FindCUDA wasn't expecting.

[CMake] Forcing colorization of output from cmake

2013-05-01 Thread Paul Smith
Hi all. I'm wondering if there's any way to force the output from cmake (using a unix makefile generator for example) to be colorized, even if stdout doesn't appear to be a TTY. Is that possible? Some extra switch to cmake_echo_color? -- Powered by www.kitware.com Visit other Kitware open-sou

Re: [CMake] FindCUDA fails to find libcuda.so

2013-05-01 Thread Robert Maynard
It looks like you used the ubuntu cuda package which installs the cuda library to a directory that FindCUDA wasn't expecting. I think we can extend FindCUDA to also use x86_64-linux-gnu as a valid directory to search for libcuda. can you submit a bug on mantis for this, so it doesn't get forgotten

Re: [CMake] coverage using gcov failed

2013-05-01 Thread Lloyd
On Thu, Apr 25, 2013 at 7:35 PM, Bill Hoffman wrote: > On 4/25/2013 9:52 AM, Bill Hoffman wrote: > >> I see it now. >> >> Can you run: >> >> ctest -D Experimental -VV >> > OK, never mind I know what is wrong... > > make ExperimentalCoverage just does the coverage part. > make Experimental > make E

Re: [CMake] Problem with CMAKE_AUTOMOC files not being regenerated or cleaned

2013-05-01 Thread Glenn Coombs
I select "Clean Solution" from the Build menu which is a complete clean. The output looks like this: 1>-- Skipped Clean: Project: INSTALL, Configuration: Debug Win32 -- 1>Project not selected to build for this solution configuration 2>-- Clean started: Project: ALL_BUILD, Configuration